change bg footer

This commit is contained in:
Ehsan
2024-07-08 21:08:55 +03:30
parent 3e0714dcff
commit 0a2757f524
3 changed files with 8 additions and 5 deletions
+4
View File
@@ -159,6 +159,10 @@ body {
position: relative; position: relative;
} }
.bg-banner-footer {
background: url(../public/assets/images/banner-footer.png);
}
.bg-banner-home::after { .bg-banner-home::after {
content: ""; content: "";
position: absolute; position: absolute;
+4 -5
View File
@@ -4,9 +4,6 @@ import Header from './Header';
function Layout({ children, title }) { function Layout({ children, title }) {
return ( return (
<div> <div>
{/* <head>
<title>{`${title} | نوبت ۷۲۴`}</title>
</head> */}
<main className="w-full min-h-screen"> <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-10 right-1/2 translate-x-1/2 padding-responsive z-[10]">
<Header /> <Header />
@@ -15,8 +12,10 @@ function Layout({ children, title }) {
{children} {children}
</section> </section>
</main> </main>
<footer className="bg-[#F5F5F5] mt-[250px] padding-responsive"> <footer className="bg-[#F5F5F5] mt-[206px] pt-[44px] bg-banner-footer !bg-center !bg-no-repeat !bg-cover">
<Footer /> <div className='padding-responsive'>
<Footer />
</div>
</footer> </footer>
</div> </div>
) )
Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB