Proper prerendering.

This commit is contained in:
Alfred Jophy 2026-02-02 22:17:07 +05:30
commit 2fe099fa23
4 changed files with 7 additions and 6 deletions

View file

@ -31,7 +31,7 @@
</h4>
<ul class="space-y-4 text-sm font-light text-slate-500">
<li>
<a href="#cloud-stack" class="transition-colors hover:text-white">Cloud Stack</a>
<a href="/#cloud-stack" class="transition-colors hover:text-white">Cloud Stack</a>
</li>
</ul>
</div>

View file

@ -23,7 +23,7 @@
]}
>
<div class="container mx-auto flex items-center justify-between px-8">
<a href="#home" class="group flex items-center space-x-3">
<a href="/#home" class="group flex items-center space-x-3">
<div
class="flex h-10 w-10 items-center justify-center rounded-xl border border-white/10 bg-white/5 transition-all group-hover:border-cyan-500/50 group-hover:bg-cyan-500/10"
>
@ -36,19 +36,19 @@
<div class="hidden items-center space-x-12 md:flex">
<a
href="#home"
href="/#home"
class="text-xs font-bold tracking-[0.2em] text-slate-400 uppercase transition-colors hover:text-white"
>
Home
</a>
<a
href="#contact"
href="/#contact"
class="text-xs font-bold tracking-[0.2em] text-slate-400 uppercase transition-colors hover:text-white"
>
Contact
</a>
<a
href="#contact"
href="/#contact"
class="rounded-full border border-white/10 px-6 py-2 text-xs font-bold tracking-widest text-white uppercase transition-all hover:border-white/20 hover:bg-white hover:text-black"
>
Connect

View file

@ -1,2 +1,2 @@
export const prerender = true;
export const ssr = false;
export const ssr = true;

View file

@ -0,0 +1 @@
<h1>Privacy Protocol</h1>