Skip to content

Commit

Permalink
feat: use resolution appropiate header images resolution (#64)
Browse files Browse the repository at this point in the history
* refactor: update head html title

* feat: optimize header images and use appropiate resolutions
  • Loading branch information
kieranroneill authored Oct 30, 2024
1 parent 7170fad commit 4441373
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const config: Config = {
],
projectName: 'website',
staticDirectories: [staticDir],
tagline: 'Your Lifestyle App',
tagline: 'A Wallet For Your Lifestyle',
themeConfig: {
image: 'images/social_card.png',
metadata: [
Expand Down
2 changes: 1 addition & 1 deletion i18n/en/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
"description": "The heading that appears on the web download section."
},
"heading.headerPrefix": {
"message": "The Wallet For Your",
"message": "A Wallet For Your",
"description": "The prefix that appears on in the header before the rolling text."
},

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.3.0"
}
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
4 changes: 3 additions & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ const Header: FC = () => {
align="center"
as="header"
bgColor="whiteAlpha.800"
bgImage="/images/header_background.jpg"
bgImage={`/images/${
desktopAndUp ? '[email protected]' : 'header_background.jpg'
}`}
bgSize="cover"
h="calc(100vh - var(--ifm-navbar-height))"
justify="space-between"
Expand Down
Binary file modified static/images/header_background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4441373

Please sign in to comment.