From 684dbcdb344baf8825c38781cafb86833ab1696f Mon Sep 17 00:00:00 2001 From: Bryan Stopp Date: Thu, 30 Nov 2023 09:21:30 -0600 Subject: [PATCH] Fix footer icons and a few other issues. (#175) --- blocks/footer/footer.css | 4 ++-- icons/bhhs_seal_blk.svg | 5 ++++- icons/heartempty.svg | 4 ++-- icons/saved-properties.svg | 9 +++++++++ scripts/scripts.js | 2 +- styles/bhhs_seal_favicon.ico | Bin 0 -> 413 bytes 6 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 icons/saved-properties.svg create mode 100644 styles/bhhs_seal_favicon.ico diff --git a/blocks/footer/footer.css b/blocks/footer/footer.css index c8ea6721..44381b8a 100644 --- a/blocks/footer/footer.css +++ b/blocks/footer/footer.css @@ -87,7 +87,7 @@ footer { margin-right: 10px; } -.icon-facebook svg, .icon-linkedin svg, .icon-instagram svg, .icon-youtube svg { +.icon-facebook img, .icon-linkedin img, .icon-instagram img, .icon-youtube img { height: 20px; width: 20px; margin-right: 5px; @@ -95,7 +95,7 @@ footer { } -.footer-container-flex > div:nth-child(1) svg { +.footer-container-flex > div:nth-child(1) img { position: relative; height: 68px; width: 68px; diff --git a/icons/bhhs_seal_blk.svg b/icons/bhhs_seal_blk.svg index 0e33facc..d1bdb900 100644 --- a/icons/bhhs_seal_blk.svg +++ b/icons/bhhs_seal_blk.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/icons/heartempty.svg b/icons/heartempty.svg index 08620870..5c92e930 100644 --- a/icons/heartempty.svg +++ b/icons/heartempty.svg @@ -1,9 +1,9 @@ - diff --git a/icons/saved-properties.svg b/icons/saved-properties.svg new file mode 100644 index 00000000..d2eed1c9 --- /dev/null +++ b/icons/saved-properties.svg @@ -0,0 +1,9 @@ + diff --git a/scripts/scripts.js b/scripts/scripts.js index ea0427af..659f4e50 100644 --- a/scripts/scripts.js +++ b/scripts/scripts.js @@ -279,7 +279,7 @@ async function loadLazy(doc) { loadCSS(`${window.hlx.codeBasePath}/styles/lazy-styles.css`); loadFonts(); - addFavIcon(`${window.hlx.codeBasePath}/styles/favicon.svg`); + addFavIcon(`${window.hlx.codeBasePath}/styles/bhhs_seal_favicon.ico`); sampleRUM('lazy'); sampleRUM.observe(main.querySelectorAll('div[data-block-name]')); sampleRUM.observe(main.querySelectorAll('picture > img')); diff --git a/styles/bhhs_seal_favicon.ico b/styles/bhhs_seal_favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..563f4189fb3786bba595bb3617e38ec1659d114f GIT binary patch literal 413 zcmV;O0b>4%P)2IChoeX8*#<}`gMX>Vq%H2J&==v&=K2@KtZ^}vJ|tm|0z z?4z0%@IlnKF6RrtRZMmXIiKW_jXU$n)N4>ZBR$rh)gTYFhXs>7Gs+va&~*)M)x=4( zSI0IWW7o9kImnf^18Ozc1w=-3^%2L8Ih8+E%{D9fty`Nh$bi}rbn9(jywUE(2>^@9 zn!EMSq)8|)Y*>{AY>GKn(dcvmo8;