Almost all content on home page

This commit is contained in:
2024-09-23 23:05:32 +05:30
parent 322c92982d
commit fc237d8b9f
30 changed files with 699 additions and 376 deletions

View File

@ -1,8 +1,12 @@
// components/Layout.js
import Header from './header';
import Footer from './footer';
import { ReactNode } from 'react'; // Import ReactNode
export default function Layout({ children }) {
interface LayoutProps {
children: ReactNode; // Define the type of children prop
}
export default function Layout({ children }: LayoutProps) {
return (
<>
<Header />
@ -10,4 +14,4 @@ export default function Layout({ children }) {
<Footer />
</>
);
}
}