misc messy design progress, fix table error, add more placeholder content to pages, etc

This commit is contained in:
2024-05-23 12:50:47 +02:00
parent 87f144ed0d
commit 2d9fd68060
13 changed files with 202 additions and 102 deletions

View File

@@ -69,7 +69,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
)}
<p>{formatDate(news.firstPublishedAt, commonDateFormat)}</p>
</section>
<section className="page-content">
<section className="pageContent">
<Blocks blocks={news.body} />
</section>
</main>

View File

@@ -52,7 +52,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
<>
<main className="site-main" id="main">
<EventHeader event={event} />
<section className="page-content">
<section className="pageContent">
<DateList />
<Blocks blocks={event.body} />
</section>

View File

@@ -63,19 +63,21 @@ export default async function Page({ params }: { params: { slug: string } }) {
/>
)}
</section>
<section className="page-content">
<section className="pageContent">
<Blocks blocks={association.body} />
<table>
<tr>
<th>Type</th>
<td>{association.associationType}</td>
</tr>
{association.websiteUrl && (
<tbody>
<tr>
<th>Nettside</th>
<td>{association.websiteUrl}</td>
<th>Type</th>
<td>{association.associationType}</td>
</tr>
)}
{association.websiteUrl && (
<tr>
<th>Nettside</th>
<td>{association.websiteUrl}</td>
</tr>
)}
</tbody>
</table>
</section>
</main>

View File

@@ -61,45 +61,47 @@ export default async function Page({ params }: { params: { slug: string } }) {
/>
)}
</section>
<section className="page-content">
<section className="pageContent">
<Blocks blocks={venue.body} />
<table>
<tr>
<th>Etasje</th>
<td>{venue.floor}</td>
</tr>
<tr>
<th>Branntillatelse for</th>
<td>{venue.capacityLegal}</td>
</tr>
<tr>
<th>Stående</th>
<td>{venue.capacityStanding}</td>
</tr>
<tr>
<th>Sittende</th>
<td>{venue.capacitySitting}</td>
</tr>
<tr>
<th>Bruk</th>
<td>TODO</td>
</tr>
<tr>
<th>Bar</th>
<td>{venue.capabilityBar}</td>
</tr>
<tr>
<th>Lyd</th>
<td>{venue.capabilityLighting}</td>
</tr>
<tr>
<th>Lys</th>
<td>{venue.capabilityLighting}</td>
</tr>
<tr>
<th>A/V</th>
<td>{venue.capabilityAudioVideo}</td>
</tr>
<tbody>
<tr>
<th>Etasje</th>
<td>{venue.floor}</td>
</tr>
<tr>
<th>Branntillatelse for</th>
<td>{venue.capacityLegal}</td>
</tr>
<tr>
<th>Stående</th>
<td>{venue.capacityStanding}</td>
</tr>
<tr>
<th>Sittende</th>
<td>{venue.capacitySitting}</td>
</tr>
<tr>
<th>Bruk</th>
<td>TODO</td>
</tr>
<tr>
<th>Bar</th>
<td>{venue.capabilityBar}</td>
</tr>
<tr>
<th>Lyd</th>
<td>{venue.capabilityLighting}</td>
</tr>
<tr>
<th>Lys</th>
<td>{venue.capabilityLighting}</td>
</tr>
<tr>
<th>A/V</th>
<td>{venue.capabilityAudioVideo}</td>
</tr>
</tbody>
</table>
</section>
</main>

View File

@@ -9,7 +9,7 @@ export default async function Page() {
return (
<main className="site-main" id="main">
<PageHeader heading="Bli medlem" />
<p>Som medlem kan du... får du... glede og samvær</p>
<p className="lead">Som medlem kan du... får du... glede og samvær</p>
<p>
<a
href="https://galtinn.neuf.no/register"
@@ -24,7 +24,7 @@ export default async function Page() {
Mitt medlemskap &rarr;
</a>
</p>
<p>Inngang til foreningene</p>
<p>(+ Inngang til foreningene et sted under her)</p>
<IconListBlock />
</main>
);

View File

@@ -97,31 +97,35 @@ export default async function Page() {
<div className="openingHoursItem">
<h3>Glassbaren (1. etasje)</h3>
<table className="openingHours">
<tr>
<td>ManTor</td>
<td>15:0000:30</td>
</tr>
<tr>
<td>Fre</td>
<td>15:0002:30</td>
</tr>
<tr>
<td>LørSøn</td>
<td>Åpent ved arrangement</td>
</tr>
<tbody>
<tr>
<td>ManTor</td>
<td>15:0000:30</td>
</tr>
<tr>
<td>Fre</td>
<td>15:0002:30</td>
</tr>
<tr>
<td>LørSøn</td>
<td>Åpent ved arrangement</td>
</tr>
</tbody>
</table>
</div>
<div className="openingHoursItem">
<h3>Bokcaféen (2. etasje)</h3>
<table className="openingHours">
<tr>
<td>TirTor</td>
<td>19:0023:30</td>
</tr>
<tr>
<td>Fre</td>
<td>19:0001:30</td>
</tr>
<tbody>
<tr>
<td>TirTor</td>
<td>19:0023:30</td>
</tr>
<tr>
<td>Fre</td>
<td>19:0001:30</td>
</tr>
</tbody>
</table>
</div>
</div>
@@ -130,14 +134,16 @@ export default async function Page() {
<div className="openingHoursItem">
<h3>Slottsmester og telefon</h3>
<table className="openingHours">
<tr>
<td>ManFre</td>
<td>15:0000:00</td>
</tr>
<tr>
<td>Lør</td>
<td>14:0000:00</td>
</tr>
<tbody>
<tr>
<td>ManFre</td>
<td>15:0000:00</td>
</tr>
<tr>
<td>Lør</td>
<td>14:0000:00</td>
</tr>
</tbody>
</table>
<p>Ekspedisjonen er også åpen under arrangementer huset.</p>
<Link href="/kontakt">Se kontaktinfo til ekspedisjonen &rarr;</Link>

View File

@@ -23,7 +23,16 @@ export default async function Page() {
<>
<main className="site-main" id="main">
<PageHeader heading="Utleie" />
<VenueList venues={venues} />
<p className="lead">
Chateau Neuf har lokaler til diverse arrangementer, og alle våre
lokaler er tilgjengelige for utleie, både for studenter,
utdanningsinstitusjoner og andre. Vi har blant annet huset
Spellemannsprisen og Dalai Lama!
</p>
<p>Her kommer mer om utleiereglement etc.</p>
<br />
<br />
<VenueList heading="Våre lokaler" venues={venues} />
</main>
<BgPig type="key" />
</>