Skip to content

Commit 1629b36

Browse files
committed
Adjust padding in layout for improved spacing
1 parent 462bf06 commit 1629b36

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function Home() {
2121
return (
2222
<div className="bg-[url(/img/background-arctic-fox.jpg)] bg-cover bg-fixed min-h-screen font-sans text-gray-800 scroll-smooth">
2323
<header className="flex flex-col justify-end items-center min-h-screen">
24-
<div className="flex flex-col items-center gap-16 bg-white/75 p-16 w-full max-w-4xl">
24+
<div className="flex flex-col items-center gap-16 bg-white/75 p-4 md:p-16 w-full max-w-4xl">
2525
<Image src={Logo} alt="" className="-mt-36"></Image>
2626
<div className="flex flex-col items-center gap-2 text-center">
2727
<p className="font-mono text-gray-500 text-4xl">Hi, I&apos;m</p>
@@ -36,7 +36,7 @@ export default function Home() {
3636
</div>
3737
</header>
3838
<main className="flex flex-col items-center">
39-
<div className="gap-8 grid grid-cols-2 bg-white/75 p-16 w-full max-w-4xl">
39+
<div className="gap-8 grid grid-cols-2 bg-white/75 p-4 md:p-16 w-full max-w-4xl">
4040
<Card>
4141
<SiGithub size={48} className="fill-pink-400"></SiGithub>
4242
<h3 className="font-medium text-2xl">
@@ -141,8 +141,8 @@ export default function Home() {
141141
</Card>
142142
</div>
143143
</main>
144-
<header className="flex flex-col justify-start items-center md:min-h-64">
145-
<div className="flex flex-col items-center gap-16 bg-white/75 p-16 w-full max-w-4xl">
144+
<header className="flex flex-col justify-start items-center">
145+
<div className="flex flex-col items-center gap-16 bg-white/75 p-4 md:p-16 w-full max-w-4xl">
146146
<p className="font-mono text-gray-500">Made with 💜 by Foxed</p>
147147
</div>
148148
</header>

0 commit comments

Comments
 (0)