+ {/* ── 2. Stats ── */}
+
{[
- { value: online.toLocaleString(), label: "Guests online" },
- { value: users.toLocaleString(), label: "Total citizens" },
- { value: rooms.toLocaleString(), label: "Rooms built" },
+ {
+ value: online.toLocaleString(),
+ label: "Guests online",
+ sub: "Exploring right now",
+ icon: "🟢",
+ },
+ {
+ value: users.toLocaleString(),
+ label: "Total citizens",
+ sub: "And counting",
+ icon: "👥",
+ },
+ {
+ value: rooms.toLocaleString(),
+ label: "Rooms built",
+ sub: "Waiting for you",
+ icon: "🏠",
+ },
].map((s) => (
- {s.value}
-
-
- {s.label}
+ className="absolute -top-8 -right-8 w-20 h-20 rounded-full opacity-[0.05] group-hover:opacity-[0.1] transition-opacity duration-500"
+ style={{ background: "var(--color-primary)" }}
+ />
+
+
+ {s.value}
+
+
+ {s.label}
+
+
+ {s.sub}
+
))}
- {/* ── Main content: News + Sidebar ── */}
-
- {/* News feed (left, 2/3) */}
-
- {featuredArticle && (
+ {/* ── 3. News + Sidebar ── */}
+
+ {/* Main feed */}
+
+
+
+
+ Latest news
+
+
+ Stay up to date with {hotelName}
+
+
+ View all
+
+
+
+ {featured && (
+
-
- {featuredArticle.image ? (
+
+ {featured.image ? (
) : (
@@ -270,44 +414,55 @@ export default async function Home() {
}}
/>
)}
-
-
-
+
+
- {featuredArticle.title}
-
-
- {formatDate(featuredArticle.createdAt, "date", "")}
+ Featured
+
+
+ {featured.title}
+
+
+ {formatDate(featured.createdAt, "date", "")}
)}
- {remainingArticles.length > 0 && (
+ {rest.length > 0 && (
- {remainingArticles.map((a) => (
+ {rest.map((a, i) => (
-
+
{a.image ? (
) : (
@@ -321,13 +476,13 @@ export default async function Home() {
{a.title}
)}
-
- Browse all articles →
-
+
+
+ View all articles →
+
+
- {/* Sidebar (right, 1/3) */}
-