Skip to content

Commit

Permalink
Merge pull request #349 from justin-reeves/justin.reeves-dark_logo_te…
Browse files Browse the repository at this point in the history
…mp_fix

Add img path requires for webpack
  • Loading branch information
toadzky authored Oct 8, 2020
2 parents 6555cb1 + 502d7ed commit 07e10d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/templates/navigation/footer.pug
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ footer#footer-main.position-relative
.row
.col-lg-4.mb-5.mb-lg-0
a(href='/')
img(alt='Zerobase logo', src='/assets/img/ZerobaseLogo_Dark.png', style='{{"width":"200px"}}')
img(alt='Zerobase logo', src='{require('../../assets/img/ZerobaseLogo_Dark.png')}', style='{{"width":"200px"}}')
p.mt-4.text-sm.opacity-8.pr-lg-4
| The Zerobase Foundation is a nonprofit organization whose mission is to build free, open source public health technology for the good of communities around the world. Our free, privacy-first contact tracing empowers both individuals and communities to stop the spread of COVID-19.
ul.nav.mt-4
Expand Down
4 changes: 2 additions & 2 deletions src/templates/navigation/secondary.pug
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
nav#navbar-secondary.navbar.navbar-dark.navbar-secondary
.container
a.navbar-brand.d-none-navbar-vertical(href='/')
img.navbar-brand-logo.navbar-brand-logo-medium.d-none.d-sm-inline-block.mr-4(src='/assets/img/ZerobaseLogo_Dark.png', alt='Zerobase')
img.navbar-brand-logo.navbar-brand-logo-small.d-inline-block.d-sm-none(src='/assets/img/ZerobaseLogo_Dark_small.png', alt='Zerobase')
img.navbar-brand-logo.navbar-brand-logo-medium.d-none.d-sm-inline-block.mr-4(src='{require('../../assets/img/ZerobaseLogo_Dark.png')}', alt='Zerobase')
img.navbar-brand-logo.navbar-brand-logo-small.d-inline-block.d-sm-none(src='{require('../../assets/img/ZerobaseLogo_Dark_small.png')}', alt='Zerobase')
h4.d-none.d-sm-inline-block.text-standard.text-muted Privacy-First Contact Tracing for Communities
ul.navbar-nav.ml-auto.forMobile
li.nav-item.dropdown.pl-3
Expand Down

0 comments on commit 07e10d7

Please sign in to comment.