From a2830a0dd6f634147456406c7855881ff298078e Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Thu, 5 Jun 2025 20:03:27 +0200 Subject: Refresh portfolio design and fonts --- src/pages/blog/[id].astro | 10 +- src/pages/blog/index.astro | 317 +--------------------------------------- src/pages/portfolio/[id].astro | 57 +------- src/pages/portfolio/index.astro | 2 +- 4 files changed, 15 insertions(+), 371 deletions(-) (limited to 'src/pages') diff --git a/src/pages/blog/[id].astro b/src/pages/blog/[id].astro index 935a796..3dc324a 100644 --- a/src/pages/blog/[id].astro +++ b/src/pages/blog/[id].astro @@ -1,5 +1,5 @@ --- -import Layout from "../../layouts/Layout.astro"; +import Layout from "@/layouts/Layout.astro"; import { getCollection, render } from "astro:content"; import { type GetStaticPaths } from "astro"; @@ -32,6 +32,7 @@ const schema = { "@type": "BlogPosting", headline: entry.data.title, datePublished: entry.data.publishedAt.toISOString(), + keywords: entry.data.tags || [], author: { "@type": "Person", name: "Ariel Costas Guerrero", @@ -39,7 +40,8 @@ const schema = { publisher: { "@type": "Person", name: "Ariel Costas Guerrero", - logo: { + url: "https://www.costas.dev", + image: { "@type": "ImageObject", url: "https://www.costas.dev/favicon.png", }, @@ -74,6 +76,10 @@ const schema = { + +

+ Volver al blog +

+ diff --git a/src/pages/portfolio/[id].astro b/src/pages/portfolio/[id].astro index b92ecbd..601ff84 100644 --- a/src/pages/portfolio/[id].astro +++ b/src/pages/portfolio/[id].astro @@ -1,12 +1,7 @@ --- -import Layout from "../../layouts/Layout.astro"; -import { getCollection, render } from "astro:content"; -import { type GetStaticPaths } from "astro"; -import TechnologyBadge from "../../partials/TechnologyBadge.astro"; - -interface Props { - entry: any; -} +import type { GetStaticPaths } from "astro"; +import { getCollection } from "astro:content"; +import PortfolioItemLayout from "@/layouts/PortfolioItemLayout.astro"; export const getStaticPaths: GetStaticPaths = async () => { const entries = await getCollection("portfolio"); @@ -17,50 +12,6 @@ export const getStaticPaths: GetStaticPaths = async () => { }; const { entry } = Astro.props; -const { Content } = await render(entry); --- - - - - - - Volver al portfolio - - -

{entry.data.title}

- - - -

Tecnologías utilizadas

- - { - entry.data.technologies.map((technology: string) => ( - - )) - } -
- - + diff --git a/src/pages/portfolio/index.astro b/src/pages/portfolio/index.astro index 17c4637..f5f1250 100644 --- a/src/pages/portfolio/index.astro +++ b/src/pages/portfolio/index.astro @@ -1,5 +1,5 @@ --- -import PortfolioPageLayout from "../../layouts/PortfolioPageLayout.astro"; +import PortfolioPageLayout from "@/layouts/PortfolioPageLayout.astro"; --- -- cgit v1.3