From 1e03ca57b94bd74b039c56a28e0cb673598b1fe0 Mon Sep 17 00:00:00 2001 From: SrJuggernaut Date: Mon, 23 Mar 2026 11:58:04 -0600 Subject: [PATCH] refactor: move Header and Footer to root layout --- src/components/layout/FullWidth.tsx | 10 +--------- src/routes/__root.tsx | 4 ++++ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/components/layout/FullWidth.tsx b/src/components/layout/FullWidth.tsx index 9b193fc..312dc4c 100644 --- a/src/components/layout/FullWidth.tsx +++ b/src/components/layout/FullWidth.tsx @@ -1,7 +1,5 @@ import { css, cx } from '@styled-system/css' import type { FC, ReactNode } from 'react' -import Footer from '@/components/layout/fragments/Footer' -import Header from '@/components/layout/fragments/Header' export interface FullWidthProps { className?: string @@ -9,13 +7,7 @@ export interface FullWidthProps { } const FullWidth: FC = ({ className, children }) => { - return ( - <> -
-
{children}
-