change element component & add menu head & responsive head home

This commit is contained in:
Ehsan
2024-08-10 03:23:34 +03:30
parent 01de360360
commit 0afe0a39b0
14 changed files with 243 additions and 69 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
import Footer from './Footer';
import Header from './Header';
import Header from './header/Header';
function Layout({ children, title, name }) {
return (
<div>
<main className="w-full min-h-screen">
<header className="w-full fixed top-10 right-1/2 translate-x-1/2 padding-responsive z-[10]">
<header className="w-full fixed top-[12px] sm:top-[21px] md:top-[30px] lg:top-[40px] right-1/2 translate-x-1/2 padding-responsive z-[10]">
<Header name={name} />
</header>
<section>