mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
remove redundant layout tags
This commit is contained in:
1 parent
38f1ba69b4
commit
52b8f2b7b7
3 files changed
+17
-25
No files matched your search
@@ -1,5 +1,3 @@
|
||||
import Layout from "@/app/[locale]/layout"
|
||||
|
||||
import Footer from "@/components/page-sections/footer"
|
||||
import { generateSeoMetadata, generateSeoViewport } from "@/components/seo"
|
||||
import Back from "@/components/ui/back"
|
||||
@@ -110,7 +108,7 @@ const BlogPost = async ({ params }: BlogPageParams) => {
|
||||
})
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<>
|
||||
<div className={styles.container}>
|
||||
<div className={styles.backButton}>
|
||||
<Back />
|
||||
@@ -150,7 +148,7 @@ const BlogPost = async ({ params }: BlogPageParams) => {
|
||||
</article>
|
||||
</div>
|
||||
<Footer />
|
||||
</Layout>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import Layout from "@/app/[locale]/layout"
|
||||
|
||||
import { generateSeoMetadata, generateSeoViewport } from "@/components/seo"
|
||||
import Back from "@/components/ui/back"
|
||||
|
||||
@@ -78,23 +76,21 @@ const Event = async ({ params }: EventPageParams) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<div className={styles.container}>
|
||||
<Back />
|
||||
<div className={styles.event}>
|
||||
<h1>{data.title}</h1>
|
||||
<div className={styles.metadata}>
|
||||
<FaMapMarkerAlt />
|
||||
<p>{data.location}</p>
|
||||
</div>
|
||||
<div className={styles.metadata}>
|
||||
<FaCalendarAlt />
|
||||
<p>{formatDate(data.date)}</p>
|
||||
</div>
|
||||
<p className={styles.description}>{data.description}</p>
|
||||
<div className={styles.container}>
|
||||
<Back />
|
||||
<div className={styles.event}>
|
||||
<h1>{data.title}</h1>
|
||||
<div className={styles.metadata}>
|
||||
<FaMapMarkerAlt />
|
||||
<p>{data.location}</p>
|
||||
</div>
|
||||
<div className={styles.metadata}>
|
||||
<FaCalendarAlt />
|
||||
<p>{formatDate(data.date)}</p>
|
||||
</div>
|
||||
<p className={styles.description}>{data.description}</p>
|
||||
</div>
|
||||
</Layout>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import Layout from "@/app/[locale]/layout"
|
||||
|
||||
import About from "@/components/page-sections/about"
|
||||
import BoardMembers from "@/components/page-sections/boardMembers"
|
||||
import Contact from "@/components/page-sections/contact"
|
||||
@@ -23,7 +21,7 @@ export function generateViewport(): Viewport {
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<Layout>
|
||||
<>
|
||||
<Hero />
|
||||
<About />
|
||||
<Events />
|
||||
@@ -31,6 +29,6 @@ export default function Home() {
|
||||
<BoardMembers />
|
||||
<Contact />
|
||||
<Footer />
|
||||
</Layout>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user