Add player bug reports and profile identity features
This commit is contained in:
@@ -5,6 +5,7 @@ import { Dashboard } from "@/components/Dashboard";
|
||||
import { admin, user, required } from "@/lib/supabase";
|
||||
import Link from "next/link";
|
||||
import { accountProfile } from "@/lib/profile";
|
||||
import { Username } from "@/components/Username";
|
||||
export const dynamic = "force-dynamic";
|
||||
export default async function DashboardPage() {
|
||||
const { t, formatDate } = await getI18n();
|
||||
@@ -33,7 +34,12 @@ export default async function DashboardPage() {
|
||||
<span className="eyebrow">{t("THE CARTOGRAPHER’S DESK")}</span>
|
||||
<h1>{t("My expedition.")}</h1>
|
||||
<p className="lead">
|
||||
{t("Welcome back,")} {profile?.display_name}.
|
||||
{t("Welcome back,")}{" "}
|
||||
<Username
|
||||
name={profile?.display_name ?? "Explorer"}
|
||||
appearance={profile ?? undefined}
|
||||
/>
|
||||
.
|
||||
</p>
|
||||
<Dashboard />
|
||||
{history.length > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user