mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 11:03:50 +00:00
remove unneeded containers
This commit is contained in:
@@ -3,11 +3,9 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import { motion } from "framer-motion";
|
import { motion } from "framer-motion";
|
||||||
import { Links, LinkColors } from "@/components/header/constants";
|
import { Links, LinkColors } from "@/components/header/constants";
|
||||||
import Container from "@/components/ui/container";
|
|
||||||
|
|
||||||
function DefaultHeader() {
|
function DefaultHeader() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
|
||||||
<motion.nav
|
<motion.nav
|
||||||
initial="hidden"
|
initial="hidden"
|
||||||
animate="visible"
|
animate="visible"
|
||||||
@@ -19,6 +17,7 @@ function DefaultHeader() {
|
|||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
className="
|
className="
|
||||||
|
mx-auto
|
||||||
hidden 2xl:flex xl:flex lg:flex md:flex flex-row
|
hidden 2xl:flex xl:flex lg:flex md:flex flex-row
|
||||||
lg:px-6 md:px-5 sm:px-4 lg:py-1.5 md:py-1.5
|
lg:px-6 md:px-5 sm:px-4 lg:py-1.5 md:py-1.5
|
||||||
lg:text-4xl md:text-3xl
|
lg:text-4xl md:text-3xl
|
||||||
@@ -40,7 +39,6 @@ function DefaultHeader() {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</motion.nav>
|
</motion.nav>
|
||||||
</Container>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ function Portrait() {
|
|||||||
|
|
||||||
function Content() {
|
function Content() {
|
||||||
return (
|
return (
|
||||||
<Container>
|
<>
|
||||||
<div className="relative h-screen overflow-y-scroll font-bold text-4xl">
|
<div className="relative h-screen overflow-y-scroll font-bold text-4xl">
|
||||||
<div className="h-screen flex flex-col items-center justify-center">
|
<div className="h-screen flex flex-col items-center justify-center">
|
||||||
<div className="relative h-48 overflow-y-auto">
|
<div className="relative h-48 overflow-y-auto">
|
||||||
@@ -85,7 +85,7 @@ function Content() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Container>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user