From 247f07a4e593bbdc481657cbec11e372555c4904 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 14 Mar 2023 21:49:13 +0100 Subject: [PATCH] Moving static files, adding robots, adding sitemap --- .gitignore | 5 +- astro.config.mjs | 16 ++- package-lock.json | 104 +++++++++++++++++- package.json | 1 + src/components/ceCard.astro | 4 +- src/components/contactCard.astro | 2 +- src/components/favouriteCard.astro | 2 +- src/components/navbar.astro | 2 +- src/components/servantCard.astro | 4 +- src/components/taCard.astro | 2 +- src/components/technologyCard.astro | 2 +- src/layouts/Layout.astro | 7 +- src/layouts/customFooter.astro | 6 +- src/pages/about.astro | 33 +----- src/pages/index.astro | 2 +- src/pages/servants.astro | 4 +- src/pages/ta-collection.astro | 4 +- static/{ => assets}/ce/2030.webp | Bin static/{ => assets}/ce/500.webp | Bin static/{ => assets}/ce/bg.webp | Bin static/{ => assets}/ce/bond-ce/bride.webp | Bin static/{ => assets}/ce/bond-ce/castoria.webp | Bin static/{ => assets}/ce/bond-ce/gogh.webp | Bin static/{ => assets}/ce/bond-ce/ibaraki.webp | Bin static/{ => assets}/ce/bond-ce/jane.webp | Bin static/{ => assets}/ce/bond-ce/liz.webp | Bin static/{ => assets}/ce/bond-ce/merlin.webp | Bin static/{ => assets}/ce/bond-ce/reines.webp | Bin static/{ => assets}/ce/bond-ce/santagale.webp | Bin static/{ => assets}/ce/bond-ce/skadi.webp | Bin static/{ => assets}/ce/bond-ce/tamamo.webp | Bin static/{ => assets}/ce/bond-ce/waver.webp | Bin static/{ => assets}/ce/bond-ce/wu.webp | Bin static/{ => assets}/ce/db.webp | Bin static/{ => assets}/ce/kaleidoscope.webp | Bin static/{ => assets}/ce/maidensteachings.webp | Bin static/{ => assets}/ce/merciless_one.webp | Bin static/{ => assets}/ce/mlb.webp | Bin static/{ => assets}/ce/outrage.webp | Bin static/{ => assets}/ce/oxdemon.webp | Bin static/{ => assets}/ce/prisma.webp | Bin static/{ => assets}/ce/vessel.webp | Bin static/{ => assets/data}/_cedata.json | 0 static/{ => assets/data}/_contactdata.json | 0 static/{ => assets/data}/_favouritesdata.json | 0 static/{ => assets/data}/_featureddata.json | 0 static/{ => assets/data}/_navdata.json | 0 static/{ => assets/data}/_servantdata.json | 0 static/{ => assets/data}/_tadata.json | 0 static/assets/data/_technologydata.json | 27 +++++ static/{ => assets}/embed.png | Bin static/{ => assets}/favicon.ico | Bin static/{ => assets}/favourites/scathach.webp | Bin static/{ => assets}/favourites/skadi.webp | Bin static/{ => assets}/fedora.png | Bin static/{ => assets}/logo.svg | 0 static/{ => assets}/lurker.png | Bin static/{ => assets}/old.logo.svg | 0 static/{ => assets}/padoru.png | Bin static/{ => assets}/servant/bride_03.webp | Bin static/{ => assets}/servant/castoria_01.webp | Bin static/{ => assets}/servant/castoria_02.webp | Bin static/{ => assets}/servant/gogh_01.webp | Bin static/{ => assets}/servant/ibaraki_02.webp | Bin static/{ => assets}/servant/jane_03.webp | Bin static/{ => assets}/servant/liz_01.webp | Bin static/{ => assets}/servant/merlin_03.webp | Bin static/{ => assets}/servant/reines_01.webp | Bin static/{ => assets}/servant/santagale_01.webp | Bin static/{ => assets}/servant/skadi_01.webp | Bin static/{ => assets}/servant/skadi_03.webp | Bin static/{ => assets}/servant/tamamo_03.webp | Bin static/{ => assets}/servant/waver_02.webp | Bin static/{ => assets}/servant/wu_01.webp | Bin static/{ => assets}/social/custom-fgo.webp | Bin static/{ => assets}/social/discord.webp | Bin static/{ => assets}/social/reddit.webp | Bin static/{ => assets}/social/twitch.webp | Bin static/{ => assets}/social/twitter.webp | Bin static/{ => assets}/social/youtube.webp | Bin static/{ => assets}/ta_icons/caenis.webp | Bin static/{ => assets}/ta_icons/db.webp | Bin static/{ => assets}/ta_icons/dioscuri.webp | Bin static/{ => assets}/ta_icons/douman.webp | Bin static/{ => assets}/ta_icons/erice.webp | Bin static/{ => assets}/ta_icons/fuuma.webp | Bin static/{ => assets}/ta_icons/ibuki.webp | Bin static/{ => assets}/ta_icons/kingprotea.webp | Bin static/{ => assets}/ta_icons/kirschtaria.webp | Bin static/{ => assets}/ta_icons/kiyohime.webp | Bin static/{ => assets}/ta_icons/mhxx.webp | Bin static/{ => assets}/ta_icons/moriarty.webp | Bin static/{ => assets}/ta_icons/nobunaga.webp | Bin static/{ => assets}/ta_icons/odysseus.webp | Bin static/{ => assets}/ta_icons/orion.webp | Bin static/{ => assets}/ta_icons/penth.webp | Bin static/{ => assets}/ta_icons/santagale.webp | Bin static/{ => assets}/ta_icons/sei.webp | Bin static/{ => assets}/ta_icons/shibata.webp | Bin static/{ => assets}/ta_icons/solomon.webp | Bin static/{ => assets}/ta_icons/taira.webp | Bin .../technologies/alpine-linux.webp | Bin static/{ => assets}/technologies/astro.webp | Bin static/{ => assets}/technologies/gitlab.webp | Bin .../{ => assets}/technologies/typescript.webp | Bin static/{ => assets}/technologies/ubuntu.webp | Bin static/robots.txt | 4 + 107 files changed, 168 insertions(+), 63 deletions(-) rename static/{ => assets}/ce/2030.webp (100%) rename static/{ => assets}/ce/500.webp (100%) rename static/{ => assets}/ce/bg.webp (100%) rename static/{ => assets}/ce/bond-ce/bride.webp (100%) rename static/{ => assets}/ce/bond-ce/castoria.webp (100%) rename static/{ => assets}/ce/bond-ce/gogh.webp (100%) rename static/{ => assets}/ce/bond-ce/ibaraki.webp (100%) rename static/{ => assets}/ce/bond-ce/jane.webp (100%) rename static/{ => assets}/ce/bond-ce/liz.webp (100%) rename static/{ => assets}/ce/bond-ce/merlin.webp (100%) rename static/{ => assets}/ce/bond-ce/reines.webp (100%) rename static/{ => assets}/ce/bond-ce/santagale.webp (100%) rename static/{ => assets}/ce/bond-ce/skadi.webp (100%) rename static/{ => assets}/ce/bond-ce/tamamo.webp (100%) rename static/{ => assets}/ce/bond-ce/waver.webp (100%) rename static/{ => assets}/ce/bond-ce/wu.webp (100%) rename static/{ => assets}/ce/db.webp (100%) rename static/{ => assets}/ce/kaleidoscope.webp (100%) rename static/{ => assets}/ce/maidensteachings.webp (100%) rename static/{ => assets}/ce/merciless_one.webp (100%) rename static/{ => assets}/ce/mlb.webp (100%) rename static/{ => assets}/ce/outrage.webp (100%) rename static/{ => assets}/ce/oxdemon.webp (100%) rename static/{ => assets}/ce/prisma.webp (100%) rename static/{ => assets}/ce/vessel.webp (100%) rename static/{ => assets/data}/_cedata.json (100%) rename static/{ => assets/data}/_contactdata.json (100%) rename static/{ => assets/data}/_favouritesdata.json (100%) rename static/{ => assets/data}/_featureddata.json (100%) rename static/{ => assets/data}/_navdata.json (100%) rename static/{ => assets/data}/_servantdata.json (100%) rename static/{ => assets/data}/_tadata.json (100%) create mode 100644 static/assets/data/_technologydata.json rename static/{ => assets}/embed.png (100%) rename static/{ => assets}/favicon.ico (100%) rename static/{ => assets}/favourites/scathach.webp (100%) rename static/{ => assets}/favourites/skadi.webp (100%) rename static/{ => assets}/fedora.png (100%) rename static/{ => assets}/logo.svg (100%) rename static/{ => assets}/lurker.png (100%) rename static/{ => assets}/old.logo.svg (100%) rename static/{ => assets}/padoru.png (100%) rename static/{ => assets}/servant/bride_03.webp (100%) rename static/{ => assets}/servant/castoria_01.webp (100%) rename static/{ => assets}/servant/castoria_02.webp (100%) rename static/{ => assets}/servant/gogh_01.webp (100%) rename static/{ => assets}/servant/ibaraki_02.webp (100%) rename static/{ => assets}/servant/jane_03.webp (100%) rename static/{ => assets}/servant/liz_01.webp (100%) rename static/{ => assets}/servant/merlin_03.webp (100%) rename static/{ => assets}/servant/reines_01.webp (100%) rename static/{ => assets}/servant/santagale_01.webp (100%) rename static/{ => assets}/servant/skadi_01.webp (100%) rename static/{ => assets}/servant/skadi_03.webp (100%) rename static/{ => assets}/servant/tamamo_03.webp (100%) rename static/{ => assets}/servant/waver_02.webp (100%) rename static/{ => assets}/servant/wu_01.webp (100%) rename static/{ => assets}/social/custom-fgo.webp (100%) rename static/{ => assets}/social/discord.webp (100%) rename static/{ => assets}/social/reddit.webp (100%) rename static/{ => assets}/social/twitch.webp (100%) rename static/{ => assets}/social/twitter.webp (100%) rename static/{ => assets}/social/youtube.webp (100%) rename static/{ => assets}/ta_icons/caenis.webp (100%) rename static/{ => assets}/ta_icons/db.webp (100%) rename static/{ => assets}/ta_icons/dioscuri.webp (100%) rename static/{ => assets}/ta_icons/douman.webp (100%) rename static/{ => assets}/ta_icons/erice.webp (100%) rename static/{ => assets}/ta_icons/fuuma.webp (100%) rename static/{ => assets}/ta_icons/ibuki.webp (100%) rename static/{ => assets}/ta_icons/kingprotea.webp (100%) rename static/{ => assets}/ta_icons/kirschtaria.webp (100%) rename static/{ => assets}/ta_icons/kiyohime.webp (100%) rename static/{ => assets}/ta_icons/mhxx.webp (100%) rename static/{ => assets}/ta_icons/moriarty.webp (100%) rename static/{ => assets}/ta_icons/nobunaga.webp (100%) rename static/{ => assets}/ta_icons/odysseus.webp (100%) rename static/{ => assets}/ta_icons/orion.webp (100%) rename static/{ => assets}/ta_icons/penth.webp (100%) rename static/{ => assets}/ta_icons/santagale.webp (100%) rename static/{ => assets}/ta_icons/sei.webp (100%) rename static/{ => assets}/ta_icons/shibata.webp (100%) rename static/{ => assets}/ta_icons/solomon.webp (100%) rename static/{ => assets}/ta_icons/taira.webp (100%) rename static/{ => assets}/technologies/alpine-linux.webp (100%) rename static/{ => assets}/technologies/astro.webp (100%) rename static/{ => assets}/technologies/gitlab.webp (100%) rename static/{ => assets}/technologies/typescript.webp (100%) rename static/{ => assets}/technologies/ubuntu.webp (100%) create mode 100644 static/robots.txt diff --git a/.gitignore b/.gitignore index 99852fc..a7cd545 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,7 @@ pnpm-debug.log* # exclude default png images static/**/*.png -!static/embed.png \ No newline at end of file +!static/assets/embed.png +!static/assets/lurker.png +!static/assets/padoru.png +!static/assets/fedora.png \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index bb6d99e..b870a24 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,10 +1,14 @@ import { defineConfig } from 'astro/config'; +// https://astro.build/config +import sitemap from "@astrojs/sitemap"; + // https://astro.build/config export default defineConfig({ - sitemap: true, - base: '/', - outDir: 'public', - publicDir: 'static', - site: 'https://firq.dev/' -}); + sitemap: true, + base: '/', + outDir: 'public', + publicDir: 'static', + site: 'https://firq.dev/', + integrations: [sitemap()] +}); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index dd9e883..cc1ca31 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,7 @@ "name": "@firq/fgosite", "version": "0.1.1", "dependencies": { + "@astrojs/sitemap": "^1.2.1", "astro": "^2.0.2", "iconoir": "^6.1.0" } @@ -90,6 +91,15 @@ "node": ">=16.12.0" } }, + "node_modules/@astrojs/sitemap": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-1.2.1.tgz", + "integrity": "sha512-nlKP1qc1ENZ61w+ep5RdsObjYWso4QdLGC5WyzssnKkgVDijHT61s/tHFfBWHhxqdjcw4x1V1um/eSQZPDTR3Q==", + "dependencies": { + "sitemap": "^7.1.1", + "zod": "^3.17.3" + } + }, "node_modules/@astrojs/telemetry": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-2.0.0.tgz", @@ -995,9 +1005,7 @@ "node_modules/@types/node": { "version": "18.14.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.6.tgz", - "integrity": "sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA==", - "optional": true, - "peer": true + "integrity": "sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA==" }, "node_modules/@types/parse5": { "version": "6.0.3", @@ -1009,6 +1017,14 @@ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==" }, + "node_modules/@types/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==", + "dependencies": { + "@types/node": "*" + } + }, "node_modules/@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", @@ -1119,6 +1135,11 @@ "node": ">=4" } }, + "node_modules/arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -4077,6 +4098,11 @@ "suf-log": "^2.5.3" } }, + "node_modules/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, "node_modules/section-matter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", @@ -4168,6 +4194,29 @@ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" }, + "node_modules/sitemap": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-7.1.1.tgz", + "integrity": "sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==", + "dependencies": { + "@types/node": "^17.0.5", + "@types/sax": "^1.2.1", + "arg": "^5.0.0", + "sax": "^1.2.4" + }, + "bin": { + "sitemap": "dist/cli.js" + }, + "engines": { + "node": ">=12.0.0", + "npm": ">=5.6.0" + } + }, + "node_modules/sitemap/node_modules/@types/node": { + "version": "17.0.45", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" + }, "node_modules/slash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", @@ -5028,6 +5077,15 @@ "prismjs": "^1.28.0" } }, + "@astrojs/sitemap": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@astrojs/sitemap/-/sitemap-1.2.1.tgz", + "integrity": "sha512-nlKP1qc1ENZ61w+ep5RdsObjYWso4QdLGC5WyzssnKkgVDijHT61s/tHFfBWHhxqdjcw4x1V1um/eSQZPDTR3Q==", + "requires": { + "sitemap": "^7.1.1", + "zod": "^3.17.3" + } + }, "@astrojs/telemetry": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-2.0.0.tgz", @@ -5614,9 +5672,7 @@ "@types/node": { "version": "18.14.6", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.14.6.tgz", - "integrity": "sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA==", - "optional": true, - "peer": true + "integrity": "sha512-93+VvleD3mXwlLI/xASjw0FzKcwzl3OdTCzm1LaRfqgS21gfFtK3zDXM5Op9TeeMsJVOaJ2VRDpT9q4Y3d0AvA==" }, "@types/parse5": { "version": "6.0.3", @@ -5628,6 +5684,14 @@ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz", "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==" }, + "@types/sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@types/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-pSAff4IAxJjfAXUG6tFkO7dsSbTmf8CtUpfhhZ5VhkRpC4628tJhh3+V6H1E+/Gs9piSzYKT5yzHO5M4GG9jkw==", + "requires": { + "@types/node": "*" + } + }, "@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", @@ -5718,6 +5782,11 @@ "color-convert": "^1.9.0" } }, + "arg": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/arg/-/arg-5.0.2.tgz", + "integrity": "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==" + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -7639,6 +7708,11 @@ "suf-log": "^2.5.3" } }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, "section-matter": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/section-matter/-/section-matter-1.0.0.tgz", @@ -7716,6 +7790,24 @@ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" }, + "sitemap": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/sitemap/-/sitemap-7.1.1.tgz", + "integrity": "sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg==", + "requires": { + "@types/node": "^17.0.5", + "@types/sax": "^1.2.1", + "arg": "^5.0.0", + "sax": "^1.2.4" + }, + "dependencies": { + "@types/node": { + "version": "17.0.45", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" + } + } + }, "slash": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", diff --git a/package.json b/package.json index 728073d..1669075 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "astro": "astro" }, "dependencies": { + "@astrojs/sitemap": "^1.2.1", "astro": "^2.0.2", "iconoir": "^6.1.0" } diff --git a/src/components/ceCard.astro b/src/components/ceCard.astro index 9f773ae..de9fc5d 100644 --- a/src/components/ceCard.astro +++ b/src/components/ceCard.astro @@ -7,8 +7,8 @@ export interface Props { const { mlb, link, name } = Astro.props -const ce_img: string = `/ce/${link}.webp` -const mlb_ce: string = `/ce/mlb.webp` +const ce_img: string = `/assets/ce/${link}.webp` +const mlb_ce: string = `/assets/ce/mlb.webp` let mlb_image: string = 'mlbalign' if (mlb === 'false') { diff --git a/src/components/contactCard.astro b/src/components/contactCard.astro index 190990d..47ac3a1 100644 --- a/src/components/contactCard.astro +++ b/src/components/contactCard.astro @@ -6,7 +6,7 @@ export interface Props { } const { image, link, site } = Astro.props -const icon: string = `background-image: url('/social/${image}.webp')` +const icon: string = `background-image: url('/assets/social/${image}.webp')` --- diff --git a/src/components/favouriteCard.astro b/src/components/favouriteCard.astro index 3b68f7a..51dd363 100644 --- a/src/components/favouriteCard.astro +++ b/src/components/favouriteCard.astro @@ -8,7 +8,7 @@ export interface Props { const { link, image, origin, name } = Astro.props -const img: string = `/favourites/${image}.webp` +const img: string = `/assets/favourites/${image}.webp` --- diff --git a/src/components/navbar.astro b/src/components/navbar.astro index 060830c..a8fe435 100644 --- a/src/components/navbar.astro +++ b/src/components/navbar.astro @@ -3,7 +3,7 @@
- +