mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
refactor: use old paths, but keep new design
This commit is contained in:
committed by
Stefan Imhoff
parent
d920cb8197
commit
adf4084a42
@@ -10,7 +10,7 @@ import { dateToFormat, dateToISO, wordCount } from '../utils';
|
||||
|
||||
import Banner from '../components/Banner.astro';
|
||||
import GridLayout from '../layouts/GridLayout.astro';
|
||||
import BasicImage from '../components/BasicImage.astro';
|
||||
import Image from '../components/Image.astro';
|
||||
import ListItem from '../components/ListItem.astro';
|
||||
import OrderedList from '../components/OrderedList.astro';
|
||||
import PageTitle from '../components/PageTitle.astro';
|
||||
@@ -92,11 +92,12 @@ const schema = JSON.stringify({
|
||||
</PageTitle>
|
||||
{
|
||||
entry.data.cover && (
|
||||
<BasicImage
|
||||
<Image
|
||||
alt={entry.data.title}
|
||||
class="col-span-full aspect-video h-auto !mbe-0 xl:col-start-1 xl:col-end-14 3xl:col-end-13 print:hidden [&_img]:!w-full [&_img]:!max-w-none [&_picture]:!w-full [&_picture]:!max-w-none"
|
||||
loading="eager"
|
||||
src={entry.data.cover}
|
||||
fullHeight
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import { sortBySortKey } from '../utils';
|
||||
|
||||
import GridLayout from '../layouts/GridLayout.astro';
|
||||
import PageTitle from '../components/PageTitle.astro';
|
||||
import BasicImage from '../components/BasicImage.astro';
|
||||
import Image from '../components/Image.astro';
|
||||
import Link from '../components/Link.astro';
|
||||
import { Content as Intro } from '../text/ai-art/intro.mdx';
|
||||
|
||||
@@ -65,7 +65,7 @@ const description = 'This is a collection of AI art pieces I’ve created with S
|
||||
]}
|
||||
>
|
||||
<Link title={data.title} href={`/ai-art/${slug}/`}>
|
||||
<BasicImage
|
||||
<Image
|
||||
alt={data.title}
|
||||
class="h-full mbe-10 md:w-full md:object-cover md:!mbe-0 [&_img]:!block [&_img]:!h-full [&_img]:border-solid [&_picture]:!block [&_picture]:!h-full"
|
||||
loading="eager"
|
||||
|
||||
@@ -10,7 +10,7 @@ import { site } from '../data/site';
|
||||
import GridLayout from '../layouts/GridLayout.astro';
|
||||
|
||||
import PageTitle from '../components/PageTitle.astro';
|
||||
import BasicImage from '../components/BasicImage.astro';
|
||||
import Image from '../components/Image.astro';
|
||||
import JournalList from '../components/JournalList.astro';
|
||||
|
||||
/* FIXME: Remove hack as soon as this issue is resolved:
|
||||
@@ -49,11 +49,12 @@ rssPosts.sort(sortMarkdownByDate);
|
||||
<div
|
||||
class="col-start-1 col-end-19 md:col-start-1 md:col-end-11 xl:col-end-11 [&_div]:!border-x-0 [&_div]:!mbe-0 [&_div]:md:!border-s-0"
|
||||
>
|
||||
<BasicImage
|
||||
<Image
|
||||
alt="Bonsai"
|
||||
loading="eager"
|
||||
role="presentation"
|
||||
src="/images/cover/bonsai.webp"
|
||||
src="/assets/images/cover/bonsai.webp"
|
||||
fullHeight
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ title: Libertarianism
|
||||
description: This site serves as an extensive collection of libertarian resources, featuring books, podcasts, magazines, videos, and organizations that explore libertarian philosophy and economic principles from various perspectives.
|
||||
updated: 2025-06-13
|
||||
intro: Libertarianism is a political philosophy and movement that upholds liberty as a core principle.
|
||||
cover: /images/cover/anarcho-capitalist-city.webp
|
||||
cover: /assets/images/cover/anarcho-capitalist-city.webp
|
||||
backLink: /
|
||||
---
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { getCollection } from 'astro:content';
|
||||
import { sortBySortKey } from '../utils';
|
||||
|
||||
import GridLayout from '../layouts/GridLayout.astro';
|
||||
import BasicImage from '../components/BasicImage.astro';
|
||||
import Image from '../components/Image.astro';
|
||||
import Link from '../components/Link.astro';
|
||||
import PageTitle from '../components/PageTitle.astro';
|
||||
import { Content as Intro } from '../text/sketchnotes/intro.mdx';
|
||||
@@ -58,7 +58,7 @@ const description = 'This is a collection of Sketchnotes I’ve drawn.';
|
||||
]}
|
||||
>
|
||||
<Link title={data.title} href={`/sketchnotes/${slug}/`}>
|
||||
<BasicImage
|
||||
<Image
|
||||
alt={data.title}
|
||||
class="h-full mbe-10 md:w-full md:object-cover md:!mbe-0 [&_img]:!block [&_img]:!h-full [&_img]:border-solid [&_picture]:!block [&_picture]:!h-full"
|
||||
loading="eager"
|
||||
|
||||
@@ -4,7 +4,7 @@ title: Tools
|
||||
updated: 2025-12-15
|
||||
description: I enjoy learning how other people work, what hardware, software, tools, and gadgets they use. On this page, I present my tools.
|
||||
intro: I enjoy learning how other people work, what hardware, software, tools, and gadgets they use. Here, I present my tools.
|
||||
cover: /images/cover/home-office.webp
|
||||
cover: /assets/images/cover/home-office.webp
|
||||
backLink: /
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user