add generic page header component, person section component with headings, ++
This commit is contained in:
@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user