refactor: card title and layout tweaks

This commit is contained in:
Stavros
2026-02-28 21:14:12 +02:00
parent cd168cd435
commit 570da3590d
16 changed files with 281 additions and 111 deletions

View File

@@ -14,18 +14,18 @@ const BaseLayout = ({ children }: { children: React.ReactNode }) => {
return (
<div
className="relative flex flex-col justify-center items-center min-h-svh"
className="flex flex-col justify-center items-center min-h-svh px-4"
style={{
backgroundImage: `url(${backgroundImage})`,
backgroundSize: "cover",
backgroundPosition: "center",
}}
>
<div className="absolute top-5 right-5 flex flex-row gap-2">
<div className="absolute top-4 right-4 flex flex-row gap-2">
<ThemeToggle />
<LanguageSelector />
</div>
{children}
<div className="max-w-sm">{children}</div>
</div>
);
};