add news page
This commit is contained in:
15
web/src/app/aktuelt/page.tsx
Normal file
15
web/src/app/aktuelt/page.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import { graphql } from "@/gql";
|
||||
//import { NewsFragment } from "@/gql/graphql";
|
||||
import { getClient } from "@/app/client";
|
||||
import { NewsList } from "@/components/news/NewsList";
|
||||
import Link from "next/link";
|
||||
import { PageHeader } from "@/components/general/PageHeader";
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<main className="site-main" id="main">
|
||||
<PageHeader heading="Siste nytt" />
|
||||
<NewsList />
|
||||
</main>
|
||||
);
|
||||
}
|
@ -24,7 +24,6 @@ export default async function Home() {
|
||||
<div>
|
||||
<FeaturedEvents events={events} />
|
||||
<blockquote>«Hvor Glæden hersker, er alltid Fest»</blockquote>
|
||||
<NewsList />
|
||||
<PersonSection heading="Styret" />
|
||||
<PersonSection heading="Administrasjonen" />
|
||||
</div>
|
||||
|
@ -51,7 +51,7 @@ export const Header = () => {
|
||||
<Link href="/">Bli medlem</Link>
|
||||
</li>
|
||||
<li className={styles.divider}>
|
||||
<Link href="/">Siste nytt</Link>
|
||||
<Link href="/aktuelt">Siste nytt</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link href="/">Om oss</Link>
|
||||
|
Reference in New Issue
Block a user