diff options
| author | Fuwn <[email protected]> | 2023-12-05 13:51:32 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-05 14:07:05 -0800 |
| commit | 48b83b2a49854738490ef27618e873060a0581e3 (patch) | |
| tree | de6194f5aa9096014b16151da78d1a7ba170185a /src | |
| parent | fix(html): theme fouc (diff) | |
| download | due.moe-48b83b2a49854738490ef27618e873060a0581e3.tar.xz due.moe-48b83b2a49854738490ef27618e873060a0581e3.zip | |
feat(html): new favicons
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.html | 33 | ||||
| -rw-r--r-- | src/routes/feeds/activity-notifications/+server.ts | 2 |
2 files changed, 23 insertions, 12 deletions
diff --git a/src/app.html b/src/app.html index d7aa26b4..3e05d91d 100644 --- a/src/app.html +++ b/src/app.html @@ -15,11 +15,7 @@ <meta property="og:site_name" content="due.moe" /> <meta property="og:description" content="Instantly view which anime & manga on your lists have new episodes/chapters!" /> - <meta property="og:image" content="https://due.moe/favicon-192x192.png" /> - - <!-- Windows 8 --> - <!-- <meta name="msapplication-TileColor" content="#FFFFFF" /> --> - <meta name="msapplication-TileImage" content="https://due.moe/favicon-144x144.png" /> + <meta property="og:image" content="https://due.moe/favicon-196x196.png" /> <!-- Twitter --> <meta name="twitter:card" content="summary_large_image" /> @@ -28,7 +24,7 @@ <meta name="twitter:title" content="期限" /> <meta name="twitter:description" content="Instantly view which anime & manga on your lists have new episodes/chapters!" /> - <meta name="twitter:image" content="https://due.moe/favicon-192x192.png" /> + <meta name="twitter:image" content="https://due.moe/favicon-196x196.png" /> <title>期限</title> @@ -42,11 +38,26 @@ <!-- <link rel="stylesheet" type="text/css" href="https://skybox.sh/css/custom.css"> --> <!-- Icons --> - <link rel="icon" type="image/x-icon" href="%sveltekit.assets%/favicon-16x16.ico" sizes="16x16" /> - <link rel="icon" type="image/x-icon" href="%sveltekit.assets%/favicon-32x32.ico" sizes="32x32" /> - <link rel="icon" type="image/png" href="%sveltekit.assets%/favicon-192x192.png" sizes="192x192" /> - <link rel="apple-touch-icon" href="%sveltekit.assets%/apple-touch-icon.png" sizes="180x180" /> - <link rel="apple-touch-icon-precomposed" href="%sveltekit.assets%/apple-touch-icon-precomposed.png" sizes="180x180" /> + <link rel="apple-touch-icon-precomposed" sizes="57x57" href="apple-touch-icon-57x57.png" /> + <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon-114x114.png" /> + <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon-72x72.png" /> + <link rel="apple-touch-icon-precomposed" sizes="144x144" href="apple-touch-icon-144x144.png" /> + <link rel="apple-touch-icon-precomposed" sizes="60x60" href="apple-touch-icon-60x60.png" /> + <link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120.png" /> + <link rel="apple-touch-icon-precomposed" sizes="76x76" href="apple-touch-icon-76x76.png" /> + <link rel="apple-touch-icon-precomposed" sizes="152x152" href="apple-touch-icon-152x152.png" /> + <link rel="icon" type="image/png" href="favicon-196x196.png" sizes="196x196" /> + <link rel="icon" type="image/png" href="favicon-96x96.png" sizes="96x96" /> + <link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32" /> + <link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16" /> + <link rel="icon" type="image/png" href="favicon-128.png" sizes="128x128" /> + <meta name="application-name" content=" " /> + <meta name="msapplication-TileColor" content="#FFFFFF" /> + <meta name="msapplication-TileImage" content="mstile-144x144.png" /> + <meta name="msapplication-square70x70logo" content="mstile-70x70.png" /> + <meta name="msapplication-square150x150logo" content="mstile-150x150.png" /> + <meta name="msapplication-wide310x150logo" content="mstile-310x150.png" /> + <meta name="msapplication-square310x310logo" content="mstile-310x310.png" /> <script> if (JSON.parse(localStorage.getItem("settings")).forceLightTheme === true) { diff --git a/src/routes/feeds/activity-notifications/+server.ts b/src/routes/feeds/activity-notifications/+server.ts index dd4ee0b4..fde2027d 100644 --- a/src/routes/feeds/activity-notifications/+server.ts +++ b/src/routes/feeds/activity-notifications/+server.ts @@ -19,7 +19,7 @@ const render = (posts: Notification[] = []) => `<?xml version="1.0" encoding="UT <pubDate>${new Date().toUTCString()}</pubDate> <lastBuildDate>${new Date().toUTCString()}</lastBuildDate> <language>en-US</language> - <snf:logo><url>https://due.moe/favicon-192x192.png</url></snf:logo> + <snf:logo><url>https://due.moe/favicon-196x196.png</url></snf:logo> ${posts .filter((notification: Notification) => notification.type !== undefined) .map((notification: Notification) => { |