Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ body {
@keyframes brutal-rise {
from {
opacity: 0;
transform: translateY(18px);
transform: translateY(28px);
}
to {
opacity: 1;
Expand All @@ -131,26 +131,26 @@ body {

.rise {
opacity: 0;
animation: brutal-rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
animation: brutal-rise 850ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rise-0 {
animation-delay: 0ms;
}
.rise-1 {
animation-delay: 120ms;
animation-delay: 80ms;
}
.rise-2 {
animation-delay: 180ms;
animation-delay: 200ms;
}
.rise-3 {
animation-delay: 260ms;
animation-delay: 320ms;
}
.rise-4 {
animation-delay: 340ms;
animation-delay: 460ms;
}
.rise-5 {
animation-delay: 420ms;
animation-delay: 600ms;
}

@media (prefers-reduced-motion: reduce) {
Expand Down Expand Up @@ -234,19 +234,22 @@ a.underline-brutal {
text-decoration: none;
padding-bottom: 2px;
border-bottom: 1px solid currentColor;
transition: letter-spacing 220ms ease;
transition: border-bottom-color 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

a.underline-brutal:hover {
letter-spacing: 0.02em;
border-bottom-color: var(--whisper);
}

a.underline-brutal .arrow {
transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
transition:
transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
color 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

a.underline-brutal:hover .arrow {
transform: translateX(4px);
transform: translateX(6px);
color: var(--whisper);
}
Comment thread
yigitdot marked this conversation as resolved.

/* --- hero terminal -----------------------------------------------------
Expand Down
17 changes: 17 additions & 0 deletions app/sitemap-pages.xml/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import { SITE_URL } from "@/lib/links";

// Required by Next 16 under `output: "export"` for route handlers that emit
// static files at build time. GET-only is the only verb supported in export.
export const dynamic = "force-static";

const BODY = `<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>${SITE_URL}</loc></url>
</urlset>
`;

export function GET() {
return new Response(BODY, {
headers: { "Content-Type": "application/xml" },
});
}
9 changes: 0 additions & 9 deletions app/sitemap.ts

This file was deleted.

22 changes: 22 additions & 0 deletions app/sitemap.xml/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { SITE_URL, links } from "@/lib/links";

// Required by Next 16 under `output: "export"` for route handlers that emit
// static files at build time. GET-only is the only verb supported in export.
export const dynamic = "force-static";

// Cross-host sitemap entries are only honored by Google when both hosts are
// verified in Search Console.
const DOCS_SITEMAP = `${new URL(links.docs).origin}/sitemap.xml`;

const BODY = `<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap><loc>${SITE_URL}sitemap-pages.xml</loc></sitemap>
<sitemap><loc>${DOCS_SITEMAP}</loc></sitemap>
</sitemapindex>
`;

export function GET() {
return new Response(BODY, {
headers: { "Content-Type": "application/xml" },
});
}
2 changes: 1 addition & 1 deletion components/site/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function Hero() {
</span>
</a>
<a
className="underline-brutal font-semibold tracking-[0.14em] uppercase opacity-55 hover:opacity-100"
className="underline-brutal font-semibold tracking-[0.14em] uppercase"
style={{ fontSize: "var(--fs-cta)" }}
href={links.github}
>
Expand Down
Loading