Skip to content

Commit

Permalink
refactor: add favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
lappemic committed Nov 19, 2024
1 parent a5ca696 commit a909fc0
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 0 deletions.
Binary file removed app/favicon.ico
Binary file not shown.
15 changes: 15 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ export default function RootLayout({
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="icon"
type="image/png"
href="favicon-96x96.png"
sizes="96x96"
/>
<link rel="icon" type="image/svg+xml" href="favicon.svg" />
<link rel="shortcut icon" href="favicon.ico" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="apple-touch-icon.png"
/>
<meta name="apple-mobile-web-app-title" content="OCF" />
<link rel="manifest" href="site.webmanifest" />
</head>
<body className={inter.className}>{children}</body>
</html>
Expand Down
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-96x96.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.ico
Binary file not shown.
22 changes: 22 additions & 0 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.
21 changes: 21 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "OpenClimate.fund",
"short_name": "OCF",
"icons": [
{
"src": "/favicons/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/favicons/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Binary file added public/web-app-manifest-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/web-app-manifest-512x512.png
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 a909fc0

Please sign in to comment.