From 6cb688bd1b2285fb917194852fdc285c798d43cc Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 7 Jun 2025 20:17:01 +0200 Subject: Add new images and update portfolio layouts for enhanced presentation --- src/layouts/PortfolioSingleLayout.astro | 370 ++++++++++++++++++++++++++++++++ 1 file changed, 370 insertions(+) create mode 100644 src/layouts/PortfolioSingleLayout.astro (limited to 'src/layouts/PortfolioSingleLayout.astro') diff --git a/src/layouts/PortfolioSingleLayout.astro b/src/layouts/PortfolioSingleLayout.astro new file mode 100644 index 0000000..8ca8cbb --- /dev/null +++ b/src/layouts/PortfolioSingleLayout.astro @@ -0,0 +1,370 @@ +--- +import Layout from "@/layouts/Layout.astro"; +import { render } from "astro:content"; +import TechnologyBadge from "@/components/TechnologyBadge.astro"; +import type { InferEntrySchema } from "astro:content"; +import { Icon } from "astro-icon/components"; + +interface Props { + entry: any; +} + +const { entry } = Astro.props; +const data = entry.data as InferEntrySchema<"portfolio">; +const { Content } = await render(entry); +--- + + + + + + + Volver al portfolio + + +

{data.title}

+ + Hecho con {data.technologies.map((technology: string) => ( + + ))} + + + + + + {data.images.length > 0 && ( +

Galería

+
+ {data.images.map((image) => ( + + + + {image.alt} + + + ))} +
+ )} + + +
+ +
+ Some alt +
+
Some caption
+ + +
+
+ +
+ + + + -- cgit v1.3