Skip to content

Commit

Permalink
Add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker committed May 27, 2024
1 parent 7a680cc commit c1bc7b2
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 13 deletions.
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-192.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-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 21 additions & 8 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/speckles.png
Binary file not shown.
6 changes: 6 additions & 0 deletions public/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"icons": [
{ "src": "/favicon-192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/favicon-512.png", "type": "image/png", "sizes": "512x512" }
]
}
2 changes: 2 additions & 0 deletions src/layouts/BaseLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ const pageTitle = Astro.url.pathname === "/" ? title : `${title} · Namesake`;
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="color-scheme" content="light" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<link rel="canonical" href={canonicalURL} />
<link rel="stylesheet" href="https://use.typekit.net/lqk1ctm.css" />
<meta name="description" content={description} />
Expand Down
5 changes: 0 additions & 5 deletions src/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@ html {
body {
color: var(--gray-12);
background-color: var(--pink-7);
background-image: url("/images/speckles.png");
background-position: left center;
background-repeat: repeat;
background-size: 500px;
display: flex;
min-height: 100%;
position: relative;
flex-direction: column;
align-items: flex-start;
font-size: var(--step-0);
line-height: var(--line-height-body);
text-rendering: optimizelegibility;
font-synthesis: none;
font-family: Arial, Helvetica, sans-serif;
font-weight: 400;
Expand Down

0 comments on commit c1bc7b2

Please sign in to comment.