fix(frontend)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import siteLogo from "../assets/Исходники/logo.png";
|
||||
|
||||
export default function Header() {
|
||||
export default function Footer() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<footer className="bg-light-blue w-full h-27.5 px-16 flex items-center justify-between ">
|
||||
<div className="flex flex-col items-center gap-2 text-lg tracking-widest text-gold">
|
||||
<div className="flex flex-col items-center text-lg tracking-widest text-gold">
|
||||
<img src={siteLogo} alt="Лого" className="w-12 h-12 object-contain" />
|
||||
<span>FISH FISH</span>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
import Footer from "./Footer";
|
||||
import Header from "./Header";
|
||||
|
||||
export default function PageLayout({ children }) {
|
||||
return (
|
||||
<body className="min-h-screen flex flex-col w-full">
|
||||
<Header />
|
||||
{children}
|
||||
<Footer />
|
||||
</body>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user