refactor: remove title and description from DashboardHome for cleaner layout
This commit is contained in:
@@ -73,14 +73,7 @@ export function DashboardHome() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-1 flex-col gap-4 p-4 lg:p-5">
|
<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 className="flex justify-end">
|
||||||
<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 flex-wrap items-center gap-2">
|
<div className="flex flex-wrap items-center gap-2">
|
||||||
<div className="rounded-md border bg-background p-1">
|
<div className="rounded-md border bg-background p-1">
|
||||||
{rangeOptions.map((item) => (
|
{rangeOptions.map((item) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user