ScroolToTop icon button

This commit is contained in:
Davron Chetin
2025-10-14 12:51:25 +05:00
parent c4a43ddd1e
commit a3b2d187ae
6 changed files with 13 additions and 17 deletions

View File

@@ -3,6 +3,10 @@ import { Geist, Geist_Mono } from "next/font/google";
import { dir } from "i18next";
import "./globals.css";
import UpScrollIcon from "@/components/upScroll";
import Contact from "@/components/pageParts/contact";
import Footer from "@/components/nav_foot/footer";
import Navbar from "@/components/nav_foot/navbar";
import Header from "@/components/nav_foot/header";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -26,14 +30,17 @@ export default function RootLayout({
children: React.ReactNode;
params: { lang: string };
}>) {
return (
<html lang={params.lang} dir={dir(params.lang)}>
<body>
<Header/>
<Navbar/>
{children}
<UpScrollIcon/>
<section id="contact" className="">
<Contact />
</section>
<Footer />
<UpScrollIcon />
</body>
</html>
);