8000 feat(auth): POC E — ask once what someone came to huddlz for by MichaelDimmitt · Pull Request #673 · huddlz-hq/huddlz · GitHub
[go: up one dir, main page]

Skip to content
Closed
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
153 changes: 153 additions & 0 deletions assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -8001,3 +8001,156 @@ body .photo-delete-preview figcaption { overflow-wrap: anywhere; }
body .huddl-create-actions > :first-child { grid-column: 1 / -1; }
body .huddl-create-actions > * { min-height: 44px; justify-content: center; }
}

/* POC variant E — the post-sign-in question at /welcome. */
.intent-page {
display: grid;
place-items: center;
min-height: min(72vh, 680px);
padding: 24px 16px;
}

.intent-card {
width: 100%;
max-width: 560px;
padding: 32px;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
box-shadow: var(--shadow);
animation: intent-rise 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes intent-rise {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: none; }
}

.intent-eyebrow {
margin: 0;
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--accent-ink);
}

.intent-question {
margin: 8px 0 0;
font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
font-weight: 700;
line-height: 1.2;
letter-spacing: -0.015em;
color: var(--text);
}

.intent-lede {
margin: 10px 0 0;
max-width: 44ch;
font-size: 0.9375rem;
line-height: 1.55;
color: var(--soft);
}

.intent-choices {
display: grid;
gap: 12px;
margin-top: 24px;
}

.intent-choice {
display: grid;
grid-template-columns: auto minmax(0, 1fr) auto;
gap: 16px;
align-items: center;
width: 100%;
padding: 16px;
text-align: left;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel-2);
cursor: pointer;
transition:
border-color 160ms ease,
background-color 160ms ease,
transform 160ms ease,
box-shadow 160ms ease;
}

.intent-choice:hover {
border-color: var(--accent);
background: var(--accent-soft);
transform: translateY(-1px);
box-shadow: var(--shadow);
}

.intent-choice:active { transform: translateY(0); }

.intent-choice:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}

.intent-choice-icon {
display: grid;
place-items: center;
width: 44px;
height: 44px;
border-radius: var(--radius-sm);
background: var(--accent-soft);
color: var(--accent-ink);
}

.intent-choice-text { display: grid; gap: 3px; min-width: 0; }

.intent-choice-title {
font-size: 1.0625rem;
font-weight: 650;
color: var(--text);
}

.intent-choice-desc {
font-size: 0.875rem;
line-height: 1.45;
color: var(--muted);
}

.intent-choice-arrow {
color: var(--muted);
transition: transform 160ms ease, color 160ms ease;
}

.intent-choice:hover .intent-choice-arrow {
color: var(--accent-ink);
transform: translateX(3px);
}

.intent-escape {
margin-top: 20px;
padding-top: 16px;
border-top: 1px solid var(--line);
text-align: center;
}

.intent-skip {
font-size: 0.875rem;
color: var(--muted);
text-decoration: none;
transition: color 160ms ease;
}

.intent-skip:hover { color: var(--text); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
.intent-card { animation: none; }
.intent-choice,
.intent-choice-arrow { transition: none; }
.intent-choice:hover { transform: none; }
.intent-choice:hover .intent-choice-arrow { transform: none; }
}

@media (max-width: 480px) {
.intent-card { padding: 24px 20px; }
.intent-choice { grid-template-columns: auto minmax(0, 1fr); row-gap: 10px; }
.intent-choice-arrow { display: none; }
}
Loading
Loading
0