mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-11 11:43:58 +02:00
Add link to old homepage
This commit is contained in:
@@ -54,7 +54,7 @@ export function DashboardPage(props: DashboardPageProps) {
|
|||||||
return (
|
return (
|
||||||
<div className="min-h-screen bg-gray-50 pb-20 pt-8">
|
<div className="min-h-screen bg-gray-50 pb-20 pt-8">
|
||||||
<div className="container">
|
<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
|
<DashboardTab
|
||||||
label="Personal"
|
label="Personal"
|
||||||
isActive={!selectedTeamId}
|
isActive={!selectedTeamId}
|
||||||
|
@@ -227,9 +227,17 @@ export function PersonalDashboard(props: PersonalDashboardProps) {
|
|||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className="h-7 w-1/4 animate-pulse rounded-lg bg-gray-200"></div>
|
<div className="h-7 w-1/4 animate-pulse rounded-lg bg-gray-200"></div>
|
||||||
) : (
|
) : (
|
||||||
|
<div className="flex items-start sm:items-center justify-between flex-col sm:flex-row gap-1">
|
||||||
<h2 className="text-lg font-medium">
|
<h2 className="text-lg font-medium">
|
||||||
Hi {name}, good {getCurrentPeriod()}!
|
Hi {name}, good {getCurrentPeriod()}!
|
||||||
</h2>
|
</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">
|
<div className="mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-4">
|
||||||
|
Reference in New Issue
Block a user