manual save(2026-01-22 18:52)
This commit is contained in:
17
src/components/SiteLayout.tsx
Normal file
17
src/components/SiteLayout.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react'
|
||||
import { Outlet, ScrollRestoration } from 'react-router-dom'
|
||||
import { Header } from './Header'
|
||||
import { Footer } from './Footer'
|
||||
|
||||
export const SiteLayout: React.FC = () => {
|
||||
return (
|
||||
<div className="min-h-screen bg-white text-gray-900">
|
||||
<Header />
|
||||
<main id="main" className="bg-gray-50">
|
||||
<Outlet />
|
||||
</main>
|
||||
<Footer />
|
||||
<ScrollRestoration />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user