+
Favorites
{game.favoritedCount.toLocaleString()}
-
+
Max players
{game.maxPlayers}
@@ -173,7 +173,7 @@ export default function GamePageContent({
-
+
About
{game.description || "No description provided yet."}
diff --git a/app/games/[id]/page.tsx b/app/games/[id]/page.tsx
index 5872afa..d162251 100644
--- a/app/games/[id]/page.tsx
+++ b/app/games/[id]/page.tsx
@@ -9,7 +9,13 @@ export default async function GamePageContent({
params: { id: string };
}) {
return (
- Loading profile…
}>
+
+ Loading game…
+
+ }
+ >
);
diff --git a/app/globals.css b/app/globals.css
index 7c03cb6..12e4898 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -134,8 +134,7 @@ body {
h1,
h2,
h3 {
- font-family: var(--font-space-grotesk), var(--font-geist-sans), sans-serif;
- letter-spacing: -0.02em;
+ @apply tracking-tight;
}
a {
text-decoration: underline;
@@ -165,33 +164,26 @@ body {
-ms-overflow-style: none;
scrollbar-width: 0;
}
- .ambient-backdrop {
- position: fixed;
- inset: 0;
- z-index: 0;
- pointer-events: none;
- background-image:
- radial-gradient(
- 1200px 700px at 10% -10%,
- hsl(var(--glow-2) / 0.2),
- transparent 55%
- ),
- radial-gradient(
- 900px 600px at 95% 0%,
- hsl(var(--glow-1) / 0.22),
- transparent 60%
- ),
- radial-gradient(
- 800px 500px at 50% 100%,
- hsl(var(--glow-3) / 0.18),
- transparent 55%
- ),
- linear-gradient(
- 180deg,
- hsl(var(--background)) 0%,
- hsl(var(--background)) 45%,
- hsl(var(--muted)) 100%
- );
+ .page-container {
+ @apply mx-auto w-full max-w-6xl px-4 sm:px-8;
+ }
+ .section-title {
+ @apply text-xl sm:text-2xl font-semibold text-text;
+ }
+ .panel {
+ @apply rounded-3xl bg-base/50 ring-1 ring-surface1/60 shadow-lg;
+ }
+ .panel-blur {
+ @apply rounded-3xl bg-base/50 ring-1 ring-surface1/60 shadow-lg backdrop-blur-lg;
+ }
+ .panel-soft {
+ @apply rounded-3xl border border-surface1/60 bg-base/40;
+ }
+ .glass-soft {
+ @apply rounded-3xl bg-base/35 ring-1 ring-surface0/60 shadow-lg backdrop-blur-md;
+ }
+ .stat-card {
+ @apply rounded-2xl border border-surface1/60 bg-base/40 p-3 shadow-md;
}
}
@utility border-border {
diff --git a/app/layout.tsx b/app/layout.tsx
index 7504471..ecba2a9 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,5 +1,5 @@
import type { Metadata } from "next";
-import { Geist, Geist_Mono, Space_Grotesk } from "next/font/google";
+import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { TooltipProvider } from "@/components/ui/tooltip";
import { Toaster } from "@/components/ui/toaster";
@@ -20,10 +20,6 @@ const geistMono = Geist_Mono({
subsets: ["latin"]
});
-const spaceGrotesk = Space_Grotesk({
- variable: "--font-space-grotesk",
- subsets: ["latin"]
-});
export const metadata: Metadata = {
title: "Home | Roblox",
@@ -49,13 +45,16 @@ export default function RootLayout({
return (
-
+
{/*
-
+
@@ -63,7 +63,7 @@ export default function Home() {
*/}
-
+
{isLoading ? (
@@ -92,7 +92,7 @@ export default function Home() {
.map((sort, idx) => (
-
+
{sort.topic}
diff --git a/app/users/[id]/content.tsx b/app/users/[id]/content.tsx
index 6f71a1b..3282a69 100644
--- a/app/users/[id]/content.tsx
+++ b/app/users/[id]/content.tsx
@@ -26,8 +26,8 @@ function ProfileMoreDetails({ profile }: { profile: UserProfileDetails }) {
{/*
//@ts-expect-error */}
Friends}
- className="overflow-visible -ml-4"
+ title="Friends"
+ className="overflow-visible"
friends={theirFriends || []}
/>
>
@@ -50,15 +50,25 @@ export default function UserProfileContent({
}
}, [profile]);
- if (isLoading) return Loading user profile...
;
+ if (isLoading)
+ return (
+
+ );
if (!profile) notFound();
return (
-
+
-
-
- {profile.description}
+
+
+
About
+
+ {profile.description || "No description provided yet."}
+
{profile.isBanned && (
<>
diff --git a/app/users/[id]/page.tsx b/app/users/[id]/page.tsx
index 1200a4b..cd6dc7d 100644
--- a/app/users/[id]/page.tsx
+++ b/app/users/[id]/page.tsx
@@ -8,7 +8,13 @@ export default async function UserProfilePage({
params: { id: string };
}) {
return (
-
Loading profile…}>
+
+ Loading profile…
+
+ }
+ >
);
diff --git a/components/providers/DownloadDialog.tsx b/components/providers/DownloadDialog.tsx
index 46b5696..3e1f553 100644
--- a/components/providers/DownloadDialog.tsx
+++ b/components/providers/DownloadDialog.tsx
@@ -29,7 +29,7 @@ export function DownloadDialog() {
onClick={closeDownloadDialog}
>
event.stopPropagation()}
>