mobile optimizations

This commit is contained in:
2026-04-06 13:19:38 -07:00
parent c2407408fa
commit c7762f099c
5 changed files with 21 additions and 16 deletions

View File

@@ -56,13 +56,9 @@ const ogImage = "https://timmypidashev.dev/og-image.jpg";
</head>
<body class="bg-background text-foreground min-h-screen flex flex-col">
<Header client:load />
<!-- Mobile: full-screen background -->
<div class="lg:hidden">
<Background layout="index" client:only="react" transition:persist />
</div>
<Background layout="index" mobileOnly client:only="react" transition:persist />
<main class="flex-1 flex flex-col">
<div class="max-w-5xl mx-auto pt-2 lg:pt-12 px-4 py-4 lg:py-8 pb-20 lg:pb-8 flex-1 relative z-10">
<!-- Desktop: sidebar strips -->
<Background layout="content" position="right" client:only="react" transition:persist />
<div>
<slot />