1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-01 06:50:26 +02:00

Add link to old homepage

This commit is contained in:
Kamran Ahmed
2024-09-13 19:08:21 +01:00
parent a9b9077d07
commit b92abb127d
2 changed files with 12 additions and 4 deletions

View File

@@ -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}

View File

@@ -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">