Fix styling thing

main
Elias Almqvist 8 months ago
parent 4206a2d417
commit d4396554b0
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 4
      src/app/page.tsx
  2. 2
      src/components/layout/header.tsx
  3. 2
      src/components/layout/index.tsx

@ -7,8 +7,8 @@ export default function Home() {
<RenderedSection <RenderedSection
id="about" id="about"
curve={LorentzCurve} curve={LorentzCurve}
className="relative h-full" className="relative w-full h-full px-4 md:px-8"
curveClassname="w-full h-full" curveClassname="w-full h-[calc(100vh-3.5rem)]"
> >
<h1 className="text-2xl">Hello, I am a </h1> <h1 className="text-2xl">Hello, I am a </h1>
</RenderedSection> </RenderedSection>

@ -8,7 +8,7 @@ import NavLinks from "../navlinks";
import NavCommand from "./nav"; import NavCommand from "./nav";
const Header = () => ( const Header = () => (
<header className="w-full flex flex-col justify-center items-center"> <header className="w-full h-14 flex flex-col justify-center items-center">
<div className="py-2 px-4 md:px-8 flex flex-row justify-between w-full max-w-screen-2xl"> <div className="py-2 px-4 md:px-8 flex flex-row justify-between w-full max-w-screen-2xl">
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">
<Link <Link

@ -5,7 +5,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
return ( return (
<> <>
<Header /> <Header />
<main className="w-full min-h-screen flex justify-center"> <main className="w-full flex justify-center">
{children} {children}
</main> </main>
<NavBinds /> <NavBinds />

Loading…
Cancel
Save