diff --git a/nix/tests/module.nix b/nix/tests/module.nix index 9f5dfd9..2ef0f3a 100644 --- a/nix/tests/module.nix +++ b/nix/tests/module.nix @@ -75,6 +75,9 @@ pkgs.runCommand "tide-module-test" { } '' ${pkgs.diffutils}/bin/cmp \ ${../../site/styles.css} \ ${landingPage}/${stylesheetFileName} + ${pkgs.gnugrep}/bin/grep -F \ + 'aspect-ratio: 5 / 6;' \ + ${landingPage}/${stylesheetFileName} ${pkgs.gnugrep}/bin/grep -F \ 'href="/${stylesheetFileName}"' \ ${landingPage}/index.html @@ -84,6 +87,9 @@ pkgs.runCommand "tide-module-test" { } '' ${pkgs.gnugrep}/bin/grep -F \ 'src="/assets/rav-hirsch-later-life.jpg"' \ ${landingPage}/index.html + ${pkgs.gnugrep}/bin/grep -F \ + 'height="600"' \ + ${landingPage}/index.html ${pkgs.gnugrep}/bin/grep -F \ 'assets/social-preview-hirsch-later-life.png' \ ${landingPage}/index.html diff --git a/site/assets/rav-hirsch-later-life.jpg b/site/assets/rav-hirsch-later-life.jpg index bc950a9..d2f8391 100644 Binary files a/site/assets/rav-hirsch-later-life.jpg and b/site/assets/rav-hirsch-later-life.jpg differ diff --git a/site/assets/rav-hirsch-later-life.webp b/site/assets/rav-hirsch-later-life.webp index dde42a9..2b194f6 100644 Binary files a/site/assets/rav-hirsch-later-life.webp and b/site/assets/rav-hirsch-later-life.webp differ diff --git a/site/assets/social-preview-hirsch-later-life.png b/site/assets/social-preview-hirsch-later-life.png index fd1398d..79630ca 100644 Binary files a/site/assets/social-preview-hirsch-later-life.png and b/site/assets/social-preview-hirsch-later-life.png differ diff --git a/site/index.html b/site/index.html index 1c9602d..5972984 100644 --- a/site/index.html +++ b/site/index.html @@ -117,8 +117,8 @@ > Later-life portrait of Rav Samson Raphael Hirsch wearing glasses and a dark cap diff --git a/site/styles.css b/site/styles.css index 8091b09..7df6ead 100644 --- a/site/styles.css +++ b/site/styles.css @@ -398,7 +398,7 @@ cite { .portrait img { width: 100%; - aspect-ratio: 0.955; + aspect-ratio: 5 / 6; background: #d7cec1; filter: sepia(0.12) contrast(1.04); object-fit: cover;