Small change
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import Header from "@/components/header"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export default function RootLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<div className="pt-header">
|
||||
<div>
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
import Header from "@/components/header"
|
||||
import { ReactNode } from "react"
|
||||
|
||||
export default function StatsLayout({ children }: LayoutProps<"/">) {
|
||||
return (
|
||||
<>
|
||||
<Header searchBar />
|
||||
<div className="pb-5 pt-header min-h-content">
|
||||
<div>
|
||||
{children}
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
--color-mc-yellow: #FFFF55;
|
||||
--color-mc-white: #FFFFFF;
|
||||
--spacing-header: 3.75rem;
|
||||
--spacing-content: calc(100vh - var(--spacing-header));
|
||||
}
|
||||
|
||||
:root {
|
||||
|
||||
Reference in New Issue
Block a user