Add link to old homepage

feat/projects
Kamran Ahmed 2 months ago
parent a9b9077d07
commit b92abb127d
  1. 2
      src/components/Dashboard/DashboardPage.tsx
  2. 14
      src/components/Dashboard/PersonalDashboard.tsx

@ -54,7 +54,7 @@ export function DashboardPage(props: DashboardPageProps) {
return (
<div className="min-h-screen bg-gray-50 pb-20 pt-8">
<div className="container">
<div className="mb-8 flex flex-wrap items-center gap-1.5">
<div className="mb-6 sm:mb-8 flex flex-wrap items-center gap-1.5">
<DashboardTab
label="Personal"
isActive={!selectedTeamId}

@ -227,9 +227,17 @@ export function PersonalDashboard(props: PersonalDashboardProps) {
{isLoading ? (
<div className="h-7 w-1/4 animate-pulse rounded-lg bg-gray-200"></div>
) : (
<h2 className="text-lg font-medium">
Hi {name}, good {getCurrentPeriod()}!
</h2>
<div className="flex items-start sm:items-center justify-between flex-col sm:flex-row gap-1">
<h2 className="text-lg font-medium">
Hi {name}, good {getCurrentPeriod()}!
</h2>
<a
href="/home"
className="text-xs text-purple-600 underline underline-offset-2"
>
Looking for old homepage? Click here
</a>
</div>
)}
<div className="mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-4">

Loading…
Cancel
Save