adaptive footer
This commit is contained in:
@@ -4,7 +4,7 @@ import Footer from "../components/Footer";
|
||||
|
||||
function DefaultLayout() {
|
||||
return (
|
||||
<div className="select-none touch-none">
|
||||
<div className="select-none flex flex-col">
|
||||
<Header />
|
||||
<div className="h-[calc(100dvh-3.889vw)] max-lg:h-[calc(100dvh-56px)] max-md:h-[calc(100dvh-64px)]">
|
||||
<Outlet />
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
import Header from "../components/Header";
|
||||
import { Outlet } from "react-router";
|
||||
|
||||
function LayoutWithoutFooter() {
|
||||
return (
|
||||
<div className="select-none flex flex-col">
|
||||
<Header />
|
||||
<div className="h-[calc(100dvh-3.889vw)] max-lg:h-[calc(100dvh-56px)] max-md:h-[calc(100dvh-64px)]">
|
||||
<Outlet />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default LayoutWithoutFooter;
|
||||
Reference in New Issue
Block a user