Skip to content

Commit ea60072

Browse files
committed
ui(certifications): add coming soon empty state layout
1 parent 01f1899 commit ea60072

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

  • src/app/(app)/(pages)/certifications

src/app/(app)/(pages)/certifications/page.tsx

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Image from "next/image"
33
import Link from "next/link"
44
import { getDocsByCategory } from "@/data/doc/documents"
55
import { format } from "date-fns"
6-
import { AwardIcon, ExternalLinkIcon } from "lucide-react"
6+
import { ArrowLeftIcon, AwardIcon, ExternalLinkIcon } from "lucide-react"
77

88
import type { Doc } from "@/types/document"
99
import { X_HANDLE } from "@/config/site"
@@ -70,8 +70,28 @@ export default function CertificationsPage() {
7070
</PageHeading>
7171

7272
{groupKeys.length === 0 ? (
73-
<div className="screen-line-top screen-line-bottom p-4">
74-
<p className="font-mono text-sm">No certifications found.</p>
73+
<div className="flex flex-col items-center justify-center py-12 text-center select-none">
74+
<div className="relative mb-6 flex items-center justify-center">
75+
<div className="animate-pulse">
76+
<AwardIcon className="h-16 w-16 text-muted-foreground/40" />
77+
</div>
78+
</div>
79+
<div className="screen-line-top screen-line-bottom w-full max-w-md space-y-3 px-4 py-6">
80+
<h2 className="text-xl font-bold tracking-tight">Coming Soon 🏆</h2>
81+
<p className="mx-auto max-w-xs text-sm text-muted-foreground">
82+
Technical credentials, cloud badges, and professional
83+
certifications are currently being synchronized. Please check back
84+
soon!
85+
</p>
86+
</div>
87+
<div className="mt-8">
88+
<Button asChild variant="outline" className="gap-2">
89+
<Link href="/">
90+
<ArrowLeftIcon className="size-4" />
91+
<span>Go to Home</span>
92+
</Link>
93+
</Button>
94+
</div>
7595
</div>
7696
) : (
7797
<div className="space-y-8">

0 commit comments

Comments
 (0)