header part update , translation issue fixed
This commit is contained in:
@@ -4,6 +4,8 @@ import Navbar from "@/components/nav_foot/navbar";
|
||||
import Footer from "@/components/nav_foot/footer";
|
||||
import Contact from "@/components/pageParts/contact";
|
||||
import UpScrollIcon from "@/components/lib_components/upScroll";
|
||||
import { Suspense } from "react";
|
||||
import Time from "@/components/lib_components/time";
|
||||
|
||||
export default async function LangLayout({
|
||||
children,
|
||||
@@ -17,7 +19,9 @@ export default async function LangLayout({
|
||||
return (
|
||||
<html lang={lang} dir="rtl">
|
||||
<body>
|
||||
<Header />
|
||||
<Suspense fallback={null}>
|
||||
<Header />
|
||||
</Suspense>
|
||||
<Navbar />
|
||||
{children}
|
||||
<section id="contact">
|
||||
@@ -25,6 +29,7 @@ export default async function LangLayout({
|
||||
</section>
|
||||
<Footer />
|
||||
<UpScrollIcon />
|
||||
<Time/>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user