Skip to content

Commit 9ccb1a5

Browse files
committed
Add pulse to try button
1 parent 6846bca commit 9ccb1a5

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docs/app/(home)/page.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,17 @@ export default function HomePage() {
281281
<div className="flex flex-wrap justify-center gap-4">
282282
<a
283283
href="https://app.hadriangateway.com"
284-
className="inline-flex items-center gap-2 rounded-lg bg-fd-primary px-6 py-3 font-medium text-fd-primary-foreground transition-colors hover:bg-fd-primary/90"
284+
className="relative inline-flex items-center gap-2 rounded-lg bg-fd-primary px-6 py-3 font-medium text-fd-primary-foreground transition-colors hover:bg-fd-primary/90"
285285
target="_blank"
286286
rel="noopener noreferrer"
287287
>
288+
<span className="absolute -right-1.5 -top-1.5 flex h-3.5 w-3.5">
289+
<span
290+
className="absolute inline-flex h-full w-full animate-ping rounded-full bg-red-500 opacity-75"
291+
style={{ animationDuration: "2s" }}
292+
/>
293+
<span className="relative inline-flex h-3.5 w-3.5 rounded-full bg-red-500" />
294+
</span>
288295
<Zap className="h-4 w-4" />
289296
Try in Browser
290297
</a>

0 commit comments

Comments
 (0)