Commit 958cc88
authored
feat(landing-page): rework /plugins hub into a content-first library (#5781)
* feat(landing-page): restructure /plugins hub — resources-first, natural copy
Lead with the design plugins themselves instead of a raw count. Rename the
hub to the agent design plugin library, rewrite the hero copy in plain
language (en/zh/zh-tw), promote a real editor's-picks grid above a
browse-by-type section, and slim the contribute strip to the bottom.
* feat(landing-page): category cover cards + centered hub hero
Give each category collection an on-brand cover illustration (Figma-selection
visual language), center the hub title + lead, and drop the editor's-picks
experiment so every card on the hub shares one style.
* feat(landing-page): content-rich plugins hub — stats, CTAs, explore grid
Turn the hub into a full library at a glance: centered hero with quick
stats and Download / GitHub-star CTAs, smaller 3-up category covers, and
a dense 'explore all resources' grid of real plugin cards with filter
chips. Reuses TemplateCard + the templates filter-chip styles.
* feat(landing-page): in-page category filter + refined hero CTAs
Explore section now filters the grid in place by real template category
(clean i18n chips: prototype/slides/image/video/…), not links away. Hero
stats drop the license line and ellipsize the agent list; the GitHub star
button uses the canonical btn-ghost style.
* fix(landing-page): kill 130px section padding gap, HTML-only explore
The global `section { padding: 130px 0 }` homepage rule was inflating the
hub's grid/explore sections by 260px each. Cancel it. Also filter the
explore grid to HTML templates (hide image/video/audio generators), and
link the agent stat to /agents/ ("…21 agents").
* feat(landing-page): soft brand-tinted hero wash + agent stat link
Add a faded radial wash behind the hub hero (acid-green + faint coral
dissolving into the page), echoing the /stories hero treatment. Link the
agent stat pill to /agents/.
* feat(landing-page): real /stories hero art plate + richer explore
Use the shared lab-stage-art.webp faded base image behind the hero (same
treatment as the /stories hero). Explore grid now shows only templates
with a real preview cover, expands filter chips to the common content
tags (web/deck/marketing/prototype/…), and shows up to 36 cards.
* fix(landing-page): hero art plate sizing + lighter overlay
Cap the hero art plate at the image's native 1920px so wide screens don't
upscale/soften it, align the crop to the reference (50% 16%), and lighten
the white overlay so the art reads as vividly as the /stories hero.
* fix(landing-page): drop preview autoplay on hub to stop tab freeze
The hub explore grid's video previews were auto-playing on scroll (many at
once), freezing the tab. Remove TemplateCardAutoplay so cards render as
static poster frames (data-src never promoted), and cap the grid at 24.
* fix(landing-page): full-bleed hero art, 4-up explore, drop low-quality card
Remove the 1920px cap so the hero art plate is full-bleed (no white side
gutters on wide screens) and extend it to cover the top. Explore grid goes
4-up (smaller cards). Exclude the low-quality example-data-report entry.
* fix(landing-page): extend hero art past nav padding to kill top white gap
.sub-main's 140px top padding left a ~12px white strip above the art plate.
Pull the ::before up to -168px so the art reaches the very top of the page.
* fix(landing-page): curate explore filter tags via allowlist
The raw tag set is noisy and full of near-dupes (deck/slides/ppt,
hyperframes/html-video, marketing/launch/campaign). Replace the blocklist
with a curated non-overlapping allowlist: web/deck/marketing/prototype/
desktop/brand/editorial/motion.
* fix(landing-page): equal-height explore cards
Give the explore grid equal-height rows (grid-auto-rows: 1fr), stretch each
card to fill its cell so the internal excerpt row absorbs the slack and the
CTA buttons align, and clamp the description to 3 lines.
* feat(landing-page): localize explore filter tag labels
Add a curated tagLabels map (web/deck/marketing/… → localized) for en / zh /
zh-TW so the explore filter chips are no longer hard-coded English; other
locales fall back to English via the deep-merge.
* feat(landing-page): localize hub hero + explore copy for all 9 shipped locales
ja/ko/de/fr/ru/es/pt-br/it/tr now have the new hero heading + lede, eyebrow,
stat pill, download CTA, explore title, All/See-all, and the filter tag
labels — no more English leaking on non-en/zh hub pages. astro check clean.
* chore(landing-page): complete zh-tw hub strings for consistency
Even though zh-tw is a retired locale (404, not shipped), fill in the
remaining new hub keys in the zh-tw override so the block is internally
consistent and no longer reads as partially localized.
---------
Co-authored-by: Joey <236967869+joeylee12629-star@users.noreply.github.com>1 parent c9bd2c6 commit 958cc88
7 files changed
Lines changed: 547 additions & 77 deletions
File tree
- apps/landing-page
- app
- _components
- _lib
- pages/plugins
- public/plugins/covers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
11 | 17 | | |
12 | 18 | | |
13 | 19 | | |
| |||
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
86 | 92 | | |
87 | 93 | | |
88 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
89 | 117 | | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
| 13 | + | |
19 | 14 | | |
20 | | - | |
21 | | - | |
| 15 | + | |
| 16 | + | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| 20 | + | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 25 | | |
38 | 26 | | |
39 | 27 | | |
40 | 28 | | |
41 | 29 | | |
42 | 30 | | |
43 | 31 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 32 | + | |
| 33 | + | |
50 | 34 | | |
51 | 35 | | |
52 | 36 | | |
53 | 37 | | |
54 | 38 | | |
55 | 39 | | |
56 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
72 | 88 | | |
73 | 89 | | |
74 | 90 | | |
75 | | - | |
76 | | - | |
77 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
78 | 94 | | |
| 95 | + | |
79 | 96 | | |
80 | 97 | | |
81 | 98 | | |
82 | | - | |
83 | | - | |
84 | | - | |
| 99 | + | |
| 100 | + | |
85 | 101 | | |
86 | 102 | | |
87 | 103 | | |
88 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
89 | 116 | | |
90 | 117 | | |
91 | | - | |
92 | | - | |
| 118 | + | |
93 | 119 | | |
94 | 120 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
99 | 130 | | |
100 | | - | |
101 | | - | |
102 | 131 | | |
103 | 132 | | |
104 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
105 | 183 | | |
106 | 184 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 185 | + | |
| 186 | + | |
0 commit comments