✨ gallery is now live
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
38eaa18321
commit
c97a4b807d
5 changed files with 59 additions and 1 deletions
16
src/layouts/Gallery.astro
Normal file
16
src/layouts/Gallery.astro
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
import SectionContainer from '../components/SectionContainer.astro';
|
||||
|
||||
const {frontmatter} = Astro.props;
|
||||
---
|
||||
<SectionContainer>
|
||||
<main class="flex flex-col flex-1 mb-auto break-words mt-4">
|
||||
<article>
|
||||
<h1 class="text-3xl font-extrabold">{frontmatter.title}</h1>
|
||||
<p class="italic mb-4">{frontmatter.description}</p>
|
||||
<div class="gallery">
|
||||
<slot />
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
</SectionContainer>
|
Loading…
Add table
Add a link
Reference in a new issue