remove unneeded containers

This commit is contained in:
Timothy Pidashev
2024-04-20 15:59:42 -07:00
parent 21d1fc9f8c
commit b459052b44
2 changed files with 35 additions and 37 deletions

View File

@@ -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>
); );
} }

View File

@@ -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> </>
); );
}; };