Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions web/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,32 @@ body {

/* Dossier folder card: motion now lives in components/hq/deck.tsx
(framer-motion springs ported from the Framer "Document Folder"). */

/* My Passport: each visa stamps down with a slight overshoot as the book
opens (components/hq/passport.tsx). */
@keyframes pp-stamp-in {
0% {
transform: scale(1.7);
opacity: 0;
}
55% {
opacity: 1;
}
72% {
transform: scale(0.95);
}
100% {
transform: scale(1);
opacity: 1;
}
}

.pp-stamp {
animation: pp-stamp-in 0.5s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

@media (prefers-reduced-motion: reduce) {
.pp-stamp {
animation: none;
}
}
3 changes: 3 additions & 0 deletions web/components/hq/my-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { UserButton, useAuth, useUser } from "@clerk/nextjs";
import Link from "next/link";
import type { Hackathon } from "@/lib/types-hq";
import { PageShell } from "./page-shell";
import { Passport } from "./passport";
import { Tracker } from "./tracker";

export function MyClient({
Expand All @@ -20,6 +21,7 @@ export function MyClient({
) : (
<>
<AuthSetupNotice />
<Passport />
<Tracker hackathons={hackathons} />
</>
)}
Expand All @@ -44,6 +46,7 @@ function GatedHub({ hackathons }: { hackathons: Hackathon[] }) {
return (
<>
<HubGreeting />
<Passport />
<Tracker hackathons={hackathons} />
</>
);
Expand Down
Loading
Loading