fix: add gravity-body class to project and KSuite pages for consistent styling

This commit is contained in:
2026-04-24 13:46:39 +02:00
parent cc284c27a9
commit a3ccba0663
3 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ import { notFound } from "next/navigation";
function getProjectByName(name: string): Project | undefined {
const decodedName = decodeURIComponent(name.replace(/\+/g, " "));
return projects.find(
(p) => p.name.toLowerCase() === decodedName.toLowerCase()
(p) => p.name.toLowerCase() === decodedName.toLowerCase(),
);
}
@@ -69,7 +69,7 @@ export default async function ProjectDetailPage({
project.github_url || project.visit_url || project.download_url;
return (
<div className="flex flex-col w-full h-full min-h-screen gap-4 p-4 pt-24">
<div className="flex flex-col w-full h-full min-h-screen gap-4 p-4 pt-24 gravity-body">
<div className="max-w-4xl mx-auto w-full">
<h1 className="text-4xl font-extrabold mb-6 bg-gradient-to-r from-yellow-400 to-blue-400 bg-clip-text text-transparent tracking-tight">
{project.name}