feat: add footer components including FooterInfo, FooterMenuBuilder, and FooterMenuBuilderWrapper
- Implemented FooterInfo component to display logo, slogan, and social links. - Created FooterMenuBuilder component for rendering a list of links with a title. - Added FooterMenuBuilderWrapper to encapsulate the layout for menu items.
This commit is contained in:
+5
-1
@@ -1,3 +1,4 @@
|
||||
import Footer from '@/components/layout/footer/Footer';
|
||||
import './globals.css';
|
||||
import { cookies } from 'next/headers';
|
||||
|
||||
@@ -16,7 +17,10 @@ export default async function RootLayout({
|
||||
|
||||
return (
|
||||
<html lang={locale} dir={locale === 'fa' ? 'rtl' : 'ltr'}>
|
||||
<body className="min-h-svh w-full overflow-x-hidden">{children}</body>
|
||||
<body className="min-h-svh w-full overflow-x-hidden">
|
||||
{children}
|
||||
<Footer />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user