File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,30 +5,21 @@ import 'react-toastify/dist/ReactToastify.css';
55import SEO from '../components/SEO' ;
66import TopFooter from '../components/Footer' ;
77import MainHeader from '../components/Header' ;
8+ import Loader from '../components/Loader' ;
89
910
1011function RootLayout ( ) {
1112 return (
1213 < >
1314 < MainHeader />
14- < main className = "mt-[84px]" >
15+ < main className = "mt-[84px] min-h-screen " >
1516 < SEO
1617 title = "CoreX Nutrition"
1718 description = "CoreX Nutrition official site — explore accessibility, policies, and open-source projects."
1819 keywords = "CoreX Nutrition, Open Source, Accessibility"
1920 />
2021 { /* Sets page-specific title/meta */ }
21- < Suspense
22- fallback = {
23- < div
24- role = "status"
25- aria-live = "polite"
26- className = "text-center py-8 text-gray-500"
27- >
28- Loading content...
29- </ div >
30- }
31- >
22+ < Suspense fallback = { < Loader /> } >
3223 < Outlet />
3324 </ Suspense >
3425 </ main >
You can’t perform that action at this time.
0 commit comments