use small-sized image for home link icon
This commit is contained in:
parent
9d6ec247cf
commit
578d0c45f6
3 changed files with 4 additions and 3 deletions
|
@ -6,8 +6,8 @@ import { ChevronLeftIcon, MoonIcon, SunIcon } from "@chakra-ui/icons";
|
|||
|
||||
import useCurrentUser from "./components/useCurrentUser";
|
||||
|
||||
// TODO: Replace with lower-res version
|
||||
import HomepageSplashImg from "../images/homepage-splash.png";
|
||||
import HomeLinkIcon from "../images/home-link-icon.png";
|
||||
import HomeLinkIcon2x from "../images/home-link-icon@2x.png";
|
||||
|
||||
function PageLayout({ children, hideHomeLink }) {
|
||||
return (
|
||||
|
@ -47,7 +47,8 @@ function HomeLink() {
|
|||
</Box>
|
||||
<Box
|
||||
as="img"
|
||||
src={HomepageSplashImg}
|
||||
src={HomeLinkIcon}
|
||||
srcSet={`${HomeLinkIcon} 1x, ${HomeLinkIcon2x} 2x`}
|
||||
alt=""
|
||||
height="2em"
|
||||
width="2em"
|
||||
|
|
BIN
src/images/home-link-icon.png
Normal file
BIN
src/images/home-link-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
src/images/home-link-icon@2x.png
Normal file
BIN
src/images/home-link-icon@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in a new issue