Initial events Astro site
This commit is contained in:
commit
69a5937ead
41 changed files with 12166 additions and 0 deletions
21
src/components/InfoPageSections.astro
Normal file
21
src/components/InfoPageSections.astro
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
import type { InfoPage } from "../data/info";
|
||||
|
||||
type Props = {
|
||||
page: InfoPage;
|
||||
};
|
||||
|
||||
const { page } = Astro.props;
|
||||
---
|
||||
|
||||
{page.sections.map((section) => (
|
||||
<section class="content-section">
|
||||
<h2>{section.title}</h2>
|
||||
{section.body?.map((paragraph) => <p>{paragraph}</p>)}
|
||||
{section.bullets && (
|
||||
<ul class="check-list">
|
||||
{section.bullets.map((bullet) => <li>{bullet}</li>)}
|
||||
</ul>
|
||||
)}
|
||||
</section>
|
||||
))}
|
||||
Loading…
Add table
Add a link
Reference in a new issue