Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .gitignore
Binary file not shown.
14 changes: 14 additions & 0 deletions app/(user)/dashboard/chat/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Chat from "@/app/components/Chat";
import { createClient } from "@/app/lib/supabase/server";

export default async function ChatPage() {
const supabase = await createClient();

const {
data: { user },
} = await supabase.auth.getUser();

if (!user) return null;

return <Chat user={user} />;
}
4 changes: 2 additions & 2 deletions app/(user)/dashboard/leaderboards/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DashboardWithKey from "../../../components/dashboard/WithKey";
import LeaderboardsList from "@/app/components/dashboard/LeaderbordList";
import LeaderboardsList from "@/app/components/dashboard/LeaderbordList";
import { Metadata } from "next";

export const metadata: Metadata = {
Expand All @@ -9,7 +9,7 @@ export const metadata: Metadata = {

export default function LeaderboardsPage() {
return (
<div className="space-y-6 max-w-5xl mx-auto">
<div className="p-6 md:p-8 space-y-6 max-w-5xl mx-auto">
<div className="border-b border-white/5 pb-5 flex flex-col sm:flex-row sm:items-center justify-between gap-4">
<div>
<h1 className="text-2xl font-bold text-white tracking-tight">Leaderboards</h1>
Expand Down
2 changes: 1 addition & 1 deletion app/(user)/dashboard/settings/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default async function LeaderboardsPage() {
const user = userData.user;

return (
<div className="space-y-6">
<div className="p-6 md:p-8 space-y-6">
<div>
<h1 className="text-2xl font-bold text-white">Settings</h1>
<p className="text-sm text-gray-600">
Expand Down
Loading
Loading