Skip to content

Commit

Permalink
Update the favicon support
Browse files Browse the repository at this point in the history
  • Loading branch information
catalinred committed Jul 11, 2024
1 parent f5c7a2b commit 02e32f8
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 27 deletions.
Binary file removed public/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/android-chrome-512x512.png
Binary file not shown.
Binary file modified 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 removed public/favicon-16x16.png
Binary file not shown.
Binary file removed public/favicon-32x32.png
Binary file not shown.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 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.
Binary file added public/icon-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/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "",
"short_name": "",
"name": "Solana",
"short_name": "Solana",
"icons": [
{
"src": "/android-chrome-192x192.png",
"src": "/icon-192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"src": "/icon-512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "#fff",
"background_color": "#fff",
"display": "standalone"
}
22 changes: 4 additions & 18 deletions src/components/MetaLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,10 @@ const MetaLinks = ({ localeNoEnDefault, asPathNoRedirect }) => {
const cleanedAsPathNoRedirect = cleanPath(asPathNoRedirect);
return (
<>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link rel="manifest" href="/site.webmanifest"></link>
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="icon" href="/favicon.png" type="image/png" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
{/* preferred canonical page */}
<link
rel="canonical"
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export const config = {
},
},
},
siteIcon: `favicon.png`,
siteIcon: `https://solana.com/favicon.png`,
};
4 changes: 2 additions & 2 deletions src/pages/news/feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const generateRssFeed = async (posts) => {
id: newsURL,
link: newsURL,
language: "en",
image: "https://solana.com/favicon-32x32.png",
favicon: "https://solana.com/favicon-32x32.png",
image: "https://solana.com/favicon.png",
favicon: "https://solana.com/favicon.png",
});

posts.forEach((post) => {
Expand Down

0 comments on commit 02e32f8

Please sign in to comment.