Refactor code

This commit is contained in:
2026-01-31 16:04:29 +01:00
parent eb8dcd54a8
commit c712f31759
15 changed files with 14 additions and 67 deletions

View File

@ -19,29 +19,6 @@ export default function Home() {
<SocialLinks />
</div>
</div>
{/* Section Cards */}
<div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6">
{/* <p>
If you want to commission me you can find all the information you need under following link: <a href="https://linktr.ee/gaertan" target="_blank">Linktree</a>
</p> */}
{/* {sections.map((section) => (
<Link href={section.href} key={section.title}>
<Card className="hover:shadow-xl transition-shadow group">
<CardHeader>
<CardTitle className="flex items-center gap-2 text-lg">
<section.icon className="w-5 h-5 text-muted-foreground group-hover:text-primary" />
{section.title}
</CardTitle>
</CardHeader>
<CardContent className="text-sm text-muted-foreground">
{section.description}
</CardContent>
</Card>
</Link>
))} */}
</div>
</div >
);
}

View File

@ -6,8 +6,6 @@ export default async function TosPage() {
orderBy: [{ version: "desc" }],
})
// console.log(tos?.markdown)
return (
<div className="mx-auto w-full max-w-6xl px-4 py-8">
<div className="markdown">

View File

@ -24,7 +24,7 @@ export async function GET(_req: NextRequest, context: { params: Promise<{ key: s
headers: {
"Content-Type": contentType,
"Cache-Control": "public, max-age=3600",
"Content-Disposition": "inline", // use 'attachment' to force download
"Content-Disposition": "inline",
},
});
} catch (err) {