refactor: remove title and description from DashboardHome for cleaner layout

This commit is contained in:
mlogclub
2026-06-21 11:21:18 +08:00
parent c125a91cbb
commit a7b7c20551
@@ -73,14 +73,7 @@ export function DashboardHome() {
return (
<div className="flex flex-1 flex-col gap-4 p-4 lg:p-5">
<div className="flex flex-col gap-3 xl:flex-row xl:items-start xl:justify-between">
<div>
<h1 className="text-2xl font-semibold tracking-tight">{t("dashboardHome.title")}</h1>
<p className="mt-1 text-sm text-muted-foreground">
{t("dashboardHome.description")}
{data ? t("dashboardHome.updatedAt", { time: data.generatedAt }) : ""}
</p>
</div>
<div className="flex justify-end">
<div className="flex flex-wrap items-center gap-2">
<div className="rounded-md border bg-background p-1">
{rangeOptions.map((item) => (