Skip to content

Commit

Permalink
Add favicon - closes #19
Browse files Browse the repository at this point in the history
  • Loading branch information
ttillberg committed Mar 9, 2022
1 parent 6c91cd3 commit 3f53e26
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 35 deletions.
Binary file added public/android-chrome-192x192.png
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 public/android-chrome-512x512.png
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 public/apple-touch-icon.png
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 public/favicon-16x16.png
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 public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
7 changes: 2 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<meta name="description" content="Lowest Unique Positive Integer" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand All @@ -24,7 +21,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>LUPI</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

19 changes: 19 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "LUPI",
"short_name": "LUPI",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#000000",
"display": "standalone"
}
12 changes: 10 additions & 2 deletions src/components/SiteHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ export const SiteHeader = (props: Props) => {
const { accounts, chainId, requestAccounts, walletStatus } = useWeb3Context();
const shortAccounts = accounts.map(getShortAddress);
return (
<Grid columns={2} padding="md" horizontalPadding="lg" border borderRadius>
<Grid
columns={2}
padding="md"
horizontalPadding="lg"
border
borderRadius="lg"
minHeight={75}
alignItems="center"
>
<Box>
<MenuItem
menuId="current-game"
Expand All @@ -27,7 +35,7 @@ export const SiteHeader = (props: Props) => {
</MenuItem>
</Box>

<Box row justifyContent="end" alignItems="center" gap="md">
<Box row justifyContent="end" gap="md">
<MenuItem
menuId={"how-to-play"}
onMenuItemClick={props.onSelectMenuItem}
Expand Down

0 comments on commit 3f53e26

Please sign in to comment.