Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10 from euglena1215/euglena1215/image-optimize4
Browse files Browse the repository at this point in the history
resize hero
  • Loading branch information
euglena1215 authored Nov 27, 2022
2 parents 732c22c + 5d61dbe commit 8660ed7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added public/assets/images/hero.avif
Binary file not shown.
Binary file removed public/assets/images/hero.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preload" as="image" href="/assets/images/hero.jpg">
<link rel="preload" as="image" href="/assets/images/hero.avif">
<title>CyberTicket</title>
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion src/client/foundation/pages/Top/Top.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function useTodayRacesWithAnimation(races) {
* @returns {string | null}
*/
function useHeroImage(_todayRaces) {
return "/assets/images/hero.jpg";
return "/assets/images/hero.avif";
}

/** @type {React.VFC} */
Expand Down

0 comments on commit 8660ed7

Please sign in to comment.