Last active
April 17, 2025 09:09
-
-
Save ricca509/2131d1dd638dff00de8233239567a8c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import Header from './Header'; | |
import Sidebar from './Sidebar'; | |
import Footer from './Footer'; | |
import { Oops } from './Oops'; // Importing a non-default export | |
export default function HomePage({ data, error }) { | |
let component = ( | |
<div> | |
<Header links={data.headerLinks} /> | |
<Sidebar /> | |
<Footer links={data.footerLinks} /> | |
</div> | |
); | |
if (error) { | |
component = ( | |
<Oops message={error.message} /> | |
); | |
} | |
return component; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Budget-Friendly Bridal Lehengas in Hyderabad
Find your dream outfit with Skin Touch – timeless designs, modern charm, and elegant comfort.