feat: initialize smirk-website with connect flow

- Next.js 16 with TypeScript and Tailwind CSS
- Single-asset authentication (user picks favorite coin to sign)
- Logo with glow animation
- Coin picker UI with all 5 assets
- API client for backend auth endpoints
- TypeScript types for window.smirk extension API
This commit is contained in:
jwinterm
2026-01-25 08:18:14 -05:00
commit 20a27d3fd2
26 changed files with 7516 additions and 0 deletions
+69
View File
@@ -0,0 +1,69 @@
@import "tailwindcss";
:root {
--background: #0a0a0a;
--foreground: #ededed;
--smirk-yellow: #fbeb0a;
--smirk-yellow-dark: #d4c708;
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-smirk: var(--smirk-yellow);
--font-mono: var(--font-geist-mono);
}
body {
background: var(--background);
color: var(--foreground);
font-family: var(--font-mono), monospace;
}
/* Logo animation */
@keyframes pulse-glow {
0%, 100% {
filter: drop-shadow(0 0 8px rgba(251, 235, 10, 0.4));
}
50% {
filter: drop-shadow(0 0 20px rgba(251, 235, 10, 0.8));
}
}
.logo-glow {
animation: pulse-glow 2s ease-in-out infinite;
}
/* Coin button styles */
.coin-btn {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
padding: 1rem;
border-radius: 0.75rem;
border: 2px solid #3f3f46;
transition: all 0.2s;
cursor: pointer;
}
.coin-btn:hover {
border-color: #fbeb0a;
background: rgba(39, 39, 42, 0.5);
}
.coin-btn.selected {
border-color: #fbeb0a;
background: rgba(39, 39, 42, 0.5);
}
.coin-btn img {
width: 3rem;
height: 3rem;
}
.coin-btn span {
font-size: 0.875rem;
font-weight: 500;
text-transform: uppercase;
}