From 236c42e4d3a1569e73aaa23d0166e512823afffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyril=20=C5=A0ebek?= Date: Mon, 3 Jun 2024 21:13:21 +0200 Subject: [PATCH] Me top tier web developer It does something, kinda works ig XD Fixed images in Showcase (a bit) Also me tired, so no more code for today --- src/components/Showcase.astro | 3 --- src/components/ShowcaseTabs.jsx | 4 ++-- src/pages/[lang]/blog/index.astro | 1 - src/pages/[lang]/blog/tags/[tag].astro | 16 ---------------- 4 files changed, 2 insertions(+), 22 deletions(-) delete mode 100644 src/pages/[lang]/blog/tags/[tag].astro diff --git a/src/components/Showcase.astro b/src/components/Showcase.astro index 034099f..f5389d5 100644 --- a/src/components/Showcase.astro +++ b/src/components/Showcase.astro @@ -1,9 +1,6 @@ --- import SinglePage from "../layouts/SinglePage.astro"; import { ShowcaseTabs } from "./ShowcaseTabs.jsx"; - -import { dictionary } from "../i18n/dictionary"; -const { title, description } = dictionary[Astro.currentLocale]; --- diff --git a/src/components/ShowcaseTabs.jsx b/src/components/ShowcaseTabs.jsx index cbe0749..9d145b3 100644 --- a/src/components/ShowcaseTabs.jsx +++ b/src/components/ShowcaseTabs.jsx @@ -28,7 +28,7 @@ export function ShowcaseTabs({ currentLocale }) { ))} {showcase.map((item) => ( - + {item.title} @@ -41,7 +41,7 @@ export function ShowcaseTabs({ currentLocale }) { {item.imageAlt} diff --git a/src/pages/[lang]/blog/index.astro b/src/pages/[lang]/blog/index.astro index 595d548..17e6879 100644 --- a/src/pages/[lang]/blog/index.astro +++ b/src/pages/[lang]/blog/index.astro @@ -10,7 +10,6 @@ import { Card, CardContent, CardDescription, - CardFooter, CardHeader, CardTitle, } from "../../../components/ui/card"; diff --git a/src/pages/[lang]/blog/tags/[tag].astro b/src/pages/[lang]/blog/tags/[tag].astro deleted file mode 100644 index 0627bd8..0000000 --- a/src/pages/[lang]/blog/tags/[tag].astro +++ /dev/null @@ -1,16 +0,0 @@ ---- -import MainLayout from '../../../../layouts/MainLayout.astro'; -import SinglePage from '../../../../layouts/SinglePage.astro'; -//@ts-ignore -import { dictionary } from "../../../../i18n/dictionary"; -import { LANGUAGES } from '../../../../i18n/utils'; -const { title, description } = dictionary[Astro.currentLocale]; - -const { tag } = Astro.params; ---- - - -

Posts tagged with {tag}

-
-
- \ No newline at end of file