remove unused body component, adjust spacing when footer follows blocks with background color, etc
This commit is contained in:
@ -4,7 +4,8 @@ import { getClient } from "@/app/client";
|
||||
import { FeaturedEvents } from "@/components/events/FeaturedEvents";
|
||||
import { NewsList } from "@/components/news/NewsList";
|
||||
import { UpcomingEvents } from "@/components/events/UpcomingEvents";
|
||||
import { Body } from "@/components/general/Body";
|
||||
import { IconListBlock } from "@/components/blocks/IconListBlock";
|
||||
import { FeaturedBlock } from "@/components/blocks/FeaturedBlock";
|
||||
|
||||
const HomeFragmentDefinition = graphql(`
|
||||
fragment Home on HomePage {
|
||||
@ -47,13 +48,13 @@ export default async function Home() {
|
||||
|
||||
return (
|
||||
<main className="site-main index" id="main">
|
||||
<div>
|
||||
<FeaturedEvents events={featuredEvents} />
|
||||
<UpcomingEvents events={events} />
|
||||
<NewsList heading="Siste nytt" limit={3} featured />
|
||||
<blockquote>«Hvor Glæden hersker, er alltid Fest»</blockquote>
|
||||
<Body />
|
||||
</div>
|
||||
<FeaturedEvents events={featuredEvents} />
|
||||
<UpcomingEvents events={events} />
|
||||
<NewsList heading="Siste nytt" limit={3} featured />
|
||||
<blockquote>«Hvor Glæden hersker, er alltid Fest»</blockquote>
|
||||
<IconListBlock />
|
||||
<FeaturedBlock />
|
||||
<FeaturedBlock />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user