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
22 changes: 22 additions & 0 deletions apps/academy/src/app/styles/academy.css
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,28 @@
color: var(--text-faint);
}

.set-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
}

/* Said on the card itself, not only in the note under the grid: a price with
nothing beside it reads as something you can buy today. */
.set-soon {
flex: none;
padding: 0.2rem 0.55rem;
font-family: var(--font-mono);
font-size: 0.64rem;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--accent);
background: var(--accent-soft);
border-radius: 999px;
}

/* What is actually in it, set as the headline — the number is what separates
these three from each other. */
.set-size {
Expand Down
5 changes: 4 additions & 1 deletion apps/academy/src/components/sections/sets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ export function Sets() {
<div className="set-grid">
{SETS.map((set) => (
<article className="set-card" key={set.tier}>
<p className="set-name">{set.name}</p>
<div className="set-head">
<p className="set-name">{set.name}</p>
<span className="set-soon">Coming soon</span>
</div>

<p className="set-size">
{set.questions === null ? "Every chapter" : `${set.questions} questions`}
Expand Down
Loading