From 446c4d5e22ab1448b3a29d72ee83d113804285f1 Mon Sep 17 00:00:00 2001 From: Daniel B Date: Fri, 5 Jul 2024 22:19:37 -0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Chore:=20Move=20all=20images=20t?= =?UTF-8?q?o=20public=20folder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/{images => }/SEO-dark.svg | 0 public/{images => }/SEO.svg | 0 public/{images => }/apple-icon-dark.jpg | Bin public/{images => }/apple-icon.jpg | Bin public/{images => }/icon-dark.svg | 0 public/{images => }/icon.svg | 0 src/backend/logic/seo.js | 20 +++++++++--------- .../ui/components/atoms/icons/Icon/index.jsx | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) rename public/{images => }/SEO-dark.svg (100%) rename public/{images => }/SEO.svg (100%) rename public/{images => }/apple-icon-dark.jpg (100%) rename public/{images => }/apple-icon.jpg (100%) rename public/{images => }/icon-dark.svg (100%) rename public/{images => }/icon.svg (100%) diff --git a/public/images/SEO-dark.svg b/public/SEO-dark.svg similarity index 100% rename from public/images/SEO-dark.svg rename to public/SEO-dark.svg diff --git a/public/images/SEO.svg b/public/SEO.svg similarity index 100% rename from public/images/SEO.svg rename to public/SEO.svg diff --git a/public/images/apple-icon-dark.jpg b/public/apple-icon-dark.jpg similarity index 100% rename from public/images/apple-icon-dark.jpg rename to public/apple-icon-dark.jpg diff --git a/public/images/apple-icon.jpg b/public/apple-icon.jpg similarity index 100% rename from public/images/apple-icon.jpg rename to public/apple-icon.jpg diff --git a/public/images/icon-dark.svg b/public/icon-dark.svg similarity index 100% rename from public/images/icon-dark.svg rename to public/icon-dark.svg diff --git a/public/images/icon.svg b/public/icon.svg similarity index 100% rename from public/images/icon.svg rename to public/icon.svg diff --git a/src/backend/logic/seo.js b/src/backend/logic/seo.js index 76e6d72..11d0aa6 100644 --- a/src/backend/logic/seo.js +++ b/src/backend/logic/seo.js @@ -46,26 +46,26 @@ export async function getMetadata() { apple: [ { media: "(prefers-color-scheme: light)", - url: "/images/apple-icon.jpg" + url: "/apple-icon.jpg" }, { media: "(prefers-color-scheme: dark)", - url: "/images/apple-icon-dark.jpg", + url: "/apple-icon-dark.jpg", } ], icon: [{ media: "(prefers-color-scheme: light)", - url: "/images/icon.svg" + url: "/icon.svg" }, { media: "(prefers-color-scheme: dark)", - url: "/images/icon-dark.svg" + url: "/icon-dark.svg" }], shortcut: [{ media: "(prefers-color-scheme: light)", - url: "/images/icon.svg" + url: "/icon.svg" }, { media: "(prefers-color-scheme: dark)", - url: "/images/icon-dark.svg" + url: "/icon-dark.svg" }], }, keywords: app.keywords, @@ -75,11 +75,11 @@ export async function getMetadata() { images: [ { media: "(prefers-color-scheme: light)", - url: "/images/seo.svg" + url: "/seo.svg" }, { media: "(prefers-color-scheme: dark)", - url: "/images/seo-dark.svg" + url: "/seo-dark.svg" } ], locale: app.lang, @@ -100,11 +100,11 @@ export async function getMetadata() { images: [ { media: "(prefers-color-scheme: light)", - url: "/images/seo.svg" + url: "/seo.svg" }, { media: "(prefers-color-scheme: dark)", - url: "/images/seo-dark.svg" + url: "/seo-dark.svg" } ], siteId: "", diff --git a/src/frontend/ui/components/atoms/icons/Icon/index.jsx b/src/frontend/ui/components/atoms/icons/Icon/index.jsx index 9d882d9..8bd6a0a 100644 --- a/src/frontend/ui/components/atoms/icons/Icon/index.jsx +++ b/src/frontend/ui/components/atoms/icons/Icon/index.jsx @@ -12,7 +12,7 @@ export default function Icon(props) { return colorScheme && ( Semantyk