Skip to content

Commit

Permalink
🧹 Chore: Move all images to public folder
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbakas committed Jul 6, 2024
1 parent 7667e7d commit 446c4d5
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
20 changes: 10 additions & 10 deletions src/backend/logic/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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: "",
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/ui/components/atoms/icons/Icon/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function Icon(props) {
return colorScheme && (
<Image
alt="Semantyk"
src={`/images/icon${suffix}.svg`}
src={`/icon${suffix}.svg`}
title="Semantyk"
{...props}
/>
Expand Down

0 comments on commit 446c4d5

Please sign in to comment.