Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
a790440
Restyle theme tokens for the Shelf redesign
hipstersmoothie Nov 11, 2026
f44dcdb
Sort StyleX keys in button styles
hipstersmoothie Nov 11, 2026
a729c9c
Add shared Shelf listing components
hipstersmoothie Nov 11, 2026
aae1085
Restyle site chrome for Shelf
hipstersmoothie Nov 11, 2026
485ed81
Restyle design-system components for Shelf
hipstersmoothie Nov 11, 2026
ceb501b
Rebuild home and browse in the Shelf design
hipstersmoothie Nov 11, 2026
f4262d5
Rebuild tags, shared data, games and ecosystem pages in Shelf
hipstersmoothie Nov 11, 2026
5ebd920
Match the games sort control to the search field height
hipstersmoothie Nov 11, 2026
4061cb6
Rebuild the listing page and its sub-pages in Shelf
hipstersmoothie Nov 11, 2026
81d0819
Rebuild account, form and info pages in Shelf
hipstersmoothie Nov 11, 2026
50e23cd
Name labelled icon buttons and retry icons when their src changes
hipstersmoothie Nov 11, 2026
4cc9628
Serve profile banner/bio and listing stats from the server
hipstersmoothie Nov 11, 2026
a391f19
Replace the navbar with the Shelf header from the prototype
hipstersmoothie Nov 11, 2026
b38f3cf
Use Bricolage Grotesque and Mona Sans
hipstersmoothie Nov 11, 2026
f021c16
Mobile pass: lightbox, CTAs and touch targets
hipstersmoothie Nov 11, 2026
f82c2c2
Add subtle page transitions with the View Transitions API
hipstersmoothie Nov 12, 2026
a9288b1
Settle listing icons in place instead of morphing across the page
hipstersmoothie Nov 12, 2026
65317f4
Respect reduced motion everywhere
hipstersmoothie Nov 12, 2026
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
13 changes: 13 additions & 0 deletions public/fonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Fonts

Self-hosted Latin subsets (variable weight) used by the Shelf design. All three
are licensed under the SIL Open Font License 1.1 and were downloaded from
Google Fonts.

| File | Family | Source |
| ----------------------------------- | --------------------------------- | ----------------------------------------- |
| `bricolage-grotesque-500-800.woff2` | Bricolage Grotesque (headings) | https://github.com/ateliertriay/bricolage |
| `mona-sans-400-700.woff2` | Mona Sans (text) | https://github.com/github/mona-sans |
| `geist-mono-400-600.woff2` | Geist Mono (handles, NSIDs, code) | https://github.com/vercel/geist-font |

License text: https://openfontlicense.org
Binary file added public/fonts/bricolage-grotesque-500-800.woff2
Binary file not shown.
Binary file added public/fonts/geist-mono-400-600.woff2
Binary file not shown.
Binary file added public/fonts/mona-sans-400-700.woff2
Binary file not shown.
1 change: 0 additions & 1 deletion src/components/AppCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ const styles = stylex.create({
},
surface: {
borderRadius: radius.lg,
cornerShape: "squircle",
boxShadow: {
default: shadow.sm,
[stylex.when.ancestor(":hover")]: shadow.lg,
Expand Down
80 changes: 2 additions & 78 deletions src/components/AppListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Link as RouterLink } from "@tanstack/react-router";
import { ChevronRight, Heart } from "lucide-react";
import { useId } from "react";

import type { DirectoryListingCard } from "../integrations/tanstack-query/api-directory-listings.functions";
import type { BrowseListingCard } from "../lib/browse-listings";

import { Avatar } from "../design-system/avatar";
Expand All @@ -32,9 +31,8 @@ import { getListingLabels } from "../lib/listing-labels";
import { AppCardLabels, AppCardRating } from "./AppCard";

/**
* List rows for apps. Two variants share one look and one interaction:
* - RankedAppRow: compact, numbered (home "Trending").
* - DetailedAppRow: labels, rating, favorites, last update (Browse).
* DetailedAppRow: labels, rating, favorites, last update (games list). Browse
* and home use `shelf/ListingRow` instead.
*
* Like AppCard, the whole row is a single link that never moves; the surface
* inside it tints on hover and draws the keyboard focus ring.
Expand All @@ -53,17 +51,12 @@ const styles = stylex.create({
// Rows sit flush against each other. This padding is the visual gap between
// rows but still belongs to the link, so the pointer never falls into a dead
// zone (and flips back to an arrow) while moving down the list.
rankedLink: {
paddingBottom: verticalSpace.xs,
paddingTop: verticalSpace.xs,
},
detailedLink: {
paddingBottom: verticalSpace.sm,
paddingTop: verticalSpace.sm,
},
surface: {
borderRadius: radius.md,
cornerShape: "squircle",
backgroundColor: {
default: uiColor.bg,
[stylex.when.ancestor(":hover")]: uiColor.component1,
Expand Down Expand Up @@ -92,24 +85,6 @@ const styles = stylex.create({
},
contentVisibility: "auto",
},
rankedBody: {
gap: gap.xl,
alignItems: "center",
display: "flex",
paddingBottom: verticalSpace["2xl"],
paddingLeft: horizontalSpace["4xl"],
paddingRight: horizontalSpace["2xl"],
paddingTop: verticalSpace["2xl"],
},
rank: {
minWidth: "1.25rem",
},
rankedText: {
flexBasis: "0%",
flexGrow: 1,
flexShrink: 1,
minWidth: 0,
},
detailedBody: {
gridTemplateAreas: {
default: '"avatar main chevron" "avatar stats chevron"',
Expand Down Expand Up @@ -226,57 +201,6 @@ function RowChevron() {
return <ChevronRight aria-hidden {...stylex.props(styles.chevron)} />;
}

/**
* Compact numbered row. Render inside an `<ol>`: the list supplies the
* position to screen readers, so the visible number is decorative.
*/
export function RankedAppRow({
listing,
rank,
}: {
listing: DirectoryListingCard;
rank: number;
}) {
const nameId = useId();
const taglineId = useId();

return (
<AppRowLink
listing={listing}
labelledBy={nameId}
describedBy={taglineId}
style={styles.rankedLink}
>
<div {...stylex.props(styles.surface, styles.rankedBody)}>
<Text
aria-hidden
size="xl"
weight="semibold"
variant="secondary"
style={styles.rank}
>
{rank}
</Text>
<Avatar
alt=""
fallback={getInitials(listing.name)}
size="lg"
src={listing.iconUrl || undefined}
/>
<Flex direction="column" gap="lg" style={styles.rankedText}>
<Text id={nameId} size="lg" weight="semibold">
{listing.name}
</Text>
<SmallBody id={taglineId} variant="secondary">
{listing.tagline}
</SmallBody>
</Flex>
<RowChevron />
</div>
</AppRowLink>
);
}

const relativeTimeFormat = new Intl.RelativeTimeFormat("en", {
numeric: "auto",
});
Expand Down
3 changes: 0 additions & 3 deletions src/components/AppTagCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ import { getAppTagAccent, getAppTagEmoji } from "../lib/app-tag-visuals";
const styles = stylex.create({
cardLink: {
borderRadius: radius["2xl"],
cornerShape: "squircle",
textDecoration: "none",
boxShadow: shadow.md,
display: "flex",
Expand All @@ -64,7 +63,6 @@ const styles = stylex.create({
borderRadius: radius.xl,
borderStyle: "solid",
borderWidth: 1,
cornerShape: "squircle",
gap: gap["8xl"],
color: "white",
display: "flex",
Expand Down Expand Up @@ -98,7 +96,6 @@ const styles = stylex.create({
"::before": {
inset: 0,
borderRadius: radius.xl,
cornerShape: "squircle",
boxShadow: shadow["xl"],
content: "''",
opacity: 0,
Expand Down
2 changes: 0 additions & 2 deletions src/components/AppTagHero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const styles = stylex.create({
},
imageFrame: {
borderRadius: radius["2xl"],
cornerShape: "squircle",
overflow: "hidden",
maxHeight: "240px",
width: "100%",
Expand All @@ -85,7 +84,6 @@ const styles = stylex.create({
borderRadius: radius["2xl"],
borderStyle: "solid",
borderWidth: 1,
cornerShape: "squircle",
overflow: "hidden",
display: "flex",
flexDirection: "column",
Expand Down
59 changes: 22 additions & 37 deletions src/components/AtStoreLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,66 +1,51 @@
/**
* AT Store wordmark. © Atproto Community Collective — see README (design vs
* Apache-licensed source code).
* at-store wordmark (Shelf): "at·store" in the heavy display face with an
* accent-blue interpunct. © Atproto Community Collective — see README
* (design vs Apache-licensed source code).
*/
import * as stylex from "@stylexjs/stylex";

import { blue } from "../design-system/theme/colors/blue.stylex";
import { uiColor } from "../design-system/theme/color.stylex";
import { breakpoints } from "../design-system/theme/media-queries.stylex";
import {
fontFamily,
fontSize,
fontWeight,
} from "../design-system/theme/typography.stylex";

const styles = stylex.create({
root: {
alignItems: "center",
columnGap: "0.3em",
color: uiColor.text2,
display: "inline-flex",
fontFamily: fontFamily.title,
fontWeight: fontWeight.extrabold,
letterSpacing: "-0.025em",
lineHeight: 1,
whiteSpace: "nowrap",
},
atNavbar: {
color: blue.solid1,
fontWeight: "bold",
navbar: {
fontSize: { default: 20, [breakpoints.md]: 21 },
},
atHero: {
color: blue.solid1,
footer: {
fontSize: 19,
},
hero: {
flexDirection: "column",
fontFamily: fontFamily.sans,
fontSize: fontSize["6xl"],
fontWeight: fontWeight.black,
fontSize: 28,
},
mark: {
blockSize: "1.2em",
flexShrink: 0,
inlineSize: "1.2em",
dot: {
marginInline: 1,
color: "light-dark(#1c4ef5, #7b97ff)",
},
});

type AtStoreLogoProps = {
variant?: "navbar" | "hero";
variant?: "navbar" | "footer" | "hero";
};

export function AtStoreLogo({ variant = "navbar" }: AtStoreLogoProps) {
if (variant === "hero") {
return (
<span {...stylex.props(styles.root, styles.hero)}>
<img src="/logo.svg" alt="" {...stylex.props(styles.mark)} />
<span>
<span {...stylex.props(styles.atHero)}>AT</span>
Store
</span>
</span>
);
}

return (
<span {...stylex.props(styles.root)}>
<img src="/logo.svg" alt="" {...stylex.props(styles.mark)} />
<span>
<span {...stylex.props(styles.atNavbar)}>AT</span>
Store
</span>
<span {...stylex.props(styles.root, styles[variant])}>
at<span {...stylex.props(styles.dot)}>·</span>store
</span>
);
}
Loading
Loading