Skip to content

Commit

Permalink
update footer
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Mar 5, 2024
1 parent e7500d4 commit 307fa1d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dub/ui",
"description": "UI components for Dub.co",
"version": "0.0.56",
"version": "0.0.57",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
18 changes: 16 additions & 2 deletions packages/ui/src/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,23 @@ function StatusBadge() {
<Link
href="https://status.dub.co"
target="_blank"
className="flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100"
className="group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100"
>
<div className={cn("h-3 w-3 rounded-full", color)} />
<div className="relative h-3 w-3">
<div
className={cn(
"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",
color,
status === "Loading status..." && "animate-none",
)}
/>
<div
className={cn(
"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",
color,
)}
/>
</div>
<p className="text-sm font-medium text-gray-800">{status}</p>
</Link>
);
Expand Down

0 comments on commit 307fa1d

Please sign in to comment.