add generic page header component, person section component with headings, ++

This commit is contained in:
elisejakob
2024-05-12 20:53:34 +02:00
parent bf2008c7be
commit 022ed8c143
9 changed files with 114 additions and 27 deletions

View File

@ -6,6 +6,7 @@ import { Body } from "@/components/general/Body";
import Image from "next/image";
import { PersonList } from "@/components/people/PersonList";
import { NewsList } from "@/components/news/NewsList";
import { PersonSection } from "@/components/people/PersonSection";
export default async function Home() {
const homeQuery = graphql(`
@ -24,20 +25,8 @@ export default async function Home() {
<FeaturedEvents events={events} />
<blockquote>«Hvor Glæden hersker, er alltid Fest»</blockquote>
<NewsList />
<div>
<h2>Styret</h2>
<PersonList />
</div>
<div>
<h2>Administrasjonen</h2>
<PersonList />
</div>
<p className="lead">
Sed sodales nunc quis sapien malesuada, a faucibus turpis blandit.
Suspendisse potenti. Sed auctor enim et augue dapibus, vitae laoreet
lacus vulputate. Nulla sed finibus diam.
</p>
<Body />
<PersonSection heading="Styret" />
<PersonSection heading="Administrasjonen" />
</div>
</main>
);