Skip to content

Commit

Permalink
fix: update favicon urls
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Jul 31, 2024
1 parent 6899c2c commit 252fad7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
18 changes: 9 additions & 9 deletions packages/documentation/astro.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
site: seoConfig.baseURL,
integrations: [
starlight({
favicon: '/favicons/favicon.ico',
favicon: 'https://discord-components.js.org/favicons/favicon.ico',
customCss: ['./src/assets/styles.css'],
head: [
{
Expand Down Expand Up @@ -177,7 +177,7 @@ export default defineConfig({
tag: 'meta',
attrs: {
name: 'msapplication-TileImage',
content: '/favicons/mstile-144x144.png'
content: 'https://discord-components.js.org/favicons/mstile-144x144.png'
}
},
{
Expand Down Expand Up @@ -368,7 +368,7 @@ export default defineConfig({
rel: 'apple-touch-icon',
type: 'image/png',
sizes: '180x180',
href: '/favicons/apple-touch-icon.png'
href: 'https://discord-components.js.org/favicons/apple-touch-icon.png'
}
},
{
Expand All @@ -377,7 +377,7 @@ export default defineConfig({
rel: 'icon',
type: 'image/png',
sizes: '16x16',
href: '/favicons/favicon-16x16.png'
href: 'https://discord-components.js.org/favicons/favicon-16x16.png'
}
},
{
Expand All @@ -386,7 +386,7 @@ export default defineConfig({
rel: 'icon',
type: 'image/png',
sizes: '32x32',
href: '/favicons/favicon-32x32.png'
href: 'https://discord-components.js.org/favicons/favicon-32x32.png'
}
},
{
Expand All @@ -395,15 +395,15 @@ export default defineConfig({
rel: 'icon',
type: 'image/png',
sizes: '192x192',
href: '/favicons/android-chrome-192x192.png'
href: 'https://discord-components.js.org/favicons/android-chrome-192x192.png'
}
},
{
tag: 'link',
attrs: {
rel: 'mask-icon',
type: 'image/svg',
href: '/favicons/safari-pinned-tab.svg',
href: 'https://discord-components.js.org/favicons/safari-pinned-tab.svg',
color: '#5865F2'
}
},
Expand All @@ -412,15 +412,15 @@ export default defineConfig({
attrs: {
rel: 'shortcut icon',
type: 'image/ico',
href: '/favicons/favicon.ico'
href: 'https://discord-components.js.org/favicons/favicon.ico'
}
},
{
tag: 'link',
attrs: {
rel: 'apple-touch-startup-image',
type: 'image/png',
href: '/favicons/apple-startup.png'
href: 'https://discord-components.js.org/favicons/apple-startup.png'
}
},
{
Expand Down
8 changes: 4 additions & 4 deletions packages/documentation/public/browserconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<browserconfig>
<msapplication>
<tile>
<square70x70logo src="/favicons/mstile-70x70.png"/>
<square150x150logo src="/favicons/mstile-150x150.png"/>
<square310x310logo src="/favicons/mstile-310x310.png"/>
<wide310x150logo src="/favicons/mstile-310x150.png"/>
<square70x70logo src="https://discord-components.js.org/favicons/mstile-70x70.png"/>
<square150x150logo src="https://discord-components.js.org/favicons/mstile-150x150.png"/>
<square310x310logo src="https://discord-components.js.org/favicons/mstile-310x310.png"/>
<wide310x150logo src="https://discord-components.js.org/favicons/mstile-310x150.png"/>
<TileColor>#ffffff</TileColor>
</tile>
</msapplication>
Expand Down
18 changes: 9 additions & 9 deletions packages/documentation/public/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,42 @@
"start_url": "/",
"icons": [
{
"src": "/favicons/android-chrome-36x36.png",
"src": "https://discord-components.js.org/favicons/android-chrome-36x36.png",
"sizes": "36x36",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-48x48.png",
"src": "https://discord-components.js.org/favicons/android-chrome-48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-72x72.png",
"src": "https://discord-components.js.org/favicons/android-chrome-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-96x96.png",
"src": "https://discord-components.js.org/favicons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-144x144.png",
"src": "https://discord-components.js.org/favicons/android-chrome-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-192x192.png",
"src": "https://discord-components.js.org/favicons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-256x256.png",
"src": "https://discord-components.js.org/favicons/android-chrome-256x256.png",
"sizes": "256x256",
"type": "image/png"
},
{
"src": "/favicons/android-chrome-384x384.png",
"src": "https://discord-components.js.org/favicons/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
Expand All @@ -61,7 +61,7 @@
"url": "/",
"icons": [
{
"src": "/favicons/android-chrome-96x96.png",
"src": "https://discord-components.js.org/favicons/android-chrome-96x96.png",
"sizes": "96x96",
"type": "image/png"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/documentation/src/utils/seoConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const seoConfig = {
email,
type: 'website',
image: {
url: '/favicons/opengraph.png',
url: 'https://discord-components.js.org/favicons/opengraph.png',
alt: 'OpenGraph image',
width: 1_024,
height: 512
Expand Down

0 comments on commit 252fad7

Please sign in to comment.