Initial commit

This commit is contained in:
pettesae
2025-06-16 16:58:11 +02:00
commit b8e23816e3
30 changed files with 6699 additions and 0 deletions

38
src/pages/program.astro Normal file
View File

@ -0,0 +1,38 @@
---
import data from '/src/data/program.json';
import Layout from '@layouts/Layout.astro';
---
<Layout>
{Object.entries(data).map(([dayName, items], index) => (
<div class="day">
<h2>{dayName}</h2>
<ul>
{items.map((item, itemIndex) => (
<li class="item">
{item.time} - {item.event} - {item.price}
</li>
))}
</ul>
</div>
))}
</Layout>
<style>
.day {
margin-bottom: 20px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.day:nth-child(odd) {
background-color: #F8BC90;
}
.day:nth-child(even) {
background-color: #0A0F6D;
color: #fff; /* Optional: Adjust text color for better readability */
}
.item {
margin: 5px 0;
}
</style>