1
Fork 0

Add the Interlinked page.

This commit is contained in:
Bauke 2024-03-08 14:34:34 +01:00
parent b2d5c85bcc
commit ec0df6f341
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,36 @@
---
import BaseLayout, {type Props as BaseProps} from "../layouts/base.astro";
import InterlinkedImage from "../components/interlinked-image.astro";
import "../scss/interlinked.scss";
import interlinkedImages from "../public/interlinked/images.json";
const props: BaseProps = {
frontmatter: {
pageTitle: "Interlinked - driftingnebula",
},
};
---
<BaseLayout {...props}>
<header class="page-header">
<h1>driftingnebula</h1>
</header>
<main class="page-main">
<h2>Interlinked</h2>
<p>Fully reproducible images with all the operations available.</p>
{
interlinkedImages.interlinked.map((file) => (
<InterlinkedImage collection="interlinked" file={file} />
))
}
<h2>Numbered</h2>
<p>Old images I didn't write the operations down for.</p>
{
interlinkedImages.numbered.map((file) => (
<InterlinkedImage collection="numbered" file={file} />
))
}
</main>
</BaseLayout>

View File

@ -0,0 +1,11 @@
.page-header {
border-bottom: 4px solid white;
padding: var(--spacing-3);
}
.page-main {
display: flex;
flex-direction: column;
gap: var(--spacing-3);
padding: var(--spacing-3);
}