Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
fec2701
Homepage update: redesigned hero, shelves, categories, and outro
JohannesSeikowsky Jun 25, 2026
e2cbdb8
Homepage: New Releases carousel first; add 'library' to slogan
JohannesSeikowsky Jun 28, 2026
f857a9f
Homepage: New Releases carousel first; add 'library' to slogan, small…
JohannesSeikowsky Jun 28, 2026
4e7aaf6
Homepage: subtle teal tint background for the two carousels
JohannesSeikowsky Jun 28, 2026
b548bc6
Homepage: show live exact ebook count in slogan via book_count include
JohannesSeikowsky Jul 3, 2026
6f6307b
Homepage: revise hero badges and restore copyright-scope line in sub-…
JohannesSeikowsky Jul 4, 2026
1657ba9
Homepage: align Categories header/grid with the two carousels
JohannesSeikowsky Jul 4, 2026
e7ec30c
Homepage: lead statement legibility + mobile left-align; tighten Cate…
JohannesSeikowsky Jul 4, 2026
a5ae77d
Homepage: trust badges as inline dot-separated line on mobile (<635px)
JohannesSeikowsky Jul 4, 2026
b4c6385
Homepage: experimental 3rd outro card (Newsletter signup); tighten ou…
JohannesSeikowsky Jul 6, 2026
f66d638
Homepage: outro cards shrink in tandem; cap/center social buttons; ti…
JohannesSeikowsky Jul 7, 2026
d7c4940
Homepage: pad Newsletter card, tighten title-to-text gap
JohannesSeikowsky Jul 7, 2026
2c83fc1
Homepage: equal-width outro cards
JohannesSeikowsky Jul 7, 2026
9404d7d
Homepage: swap accordion order (Special Areas before Audio Books); fi…
JohannesSeikowsky Jul 7, 2026
75c7dc0
Homepage: widen outro row (max-width 1320→1380px)
JohannesSeikowsky Jul 7, 2026
97db39c
Homepage: align Follow Us icons/labels, smaller icons; tune outro spa…
JohannesSeikowsky Jul 11, 2026
1424682
Homepage: scale sub-slogan with slogan below 410px
JohannesSeikowsky Jul 11, 2026
fa3f4ef
Homepage: avoid orphan word in mission text (text-wrap: pretty)
JohannesSeikowsky Jul 11, 2026
3f42621
Homepage: drop trust badges, restore original slogan text, adopt dev'…
JohannesSeikowsky Aug 2, 2026
d4b6534
Merge remote-tracking branch 'origin/dev' into homepage-update
JohannesSeikowsky Aug 2, 2026
f2af376
README: point count include at dev's ebook_count naming
JohannesSeikowsky Aug 2, 2026
5762c5c
Homepage: drop trailing period from slogan
JohannesSeikowsky Aug 2, 2026
f8d8a13
Homepage: add end-of-rail more card to carousels; name Browse all des…
JohannesSeikowsky Aug 2, 2026
59eb6c8
fix some conflict
eshellman Aug 3, 2026
35bd3a4
Merge remote-tracking branch 'origin/homepage-update' into homepage-u…
JohannesSeikowsky Aug 3, 2026
0aaa863
Fix stray conflict markers in hero; untrack generated ebook_count
JohannesSeikowsky Aug 3, 2026
766bec3
Homepage: hide shelf header more-links below 600px
JohannesSeikowsky Aug 3, 2026
0753684
Homepage: drop end-of-rail more cards; shorten shelf links to All rel…
JohannesSeikowsky Aug 3, 2026
9de9adb
Homepage: rename shelf links to All New Releases / All Popular Books
JohannesSeikowsky Aug 3, 2026
a1758e7
Homepage: shelf links become "View all" without arrow on narrow screens
JohannesSeikowsky Aug 3, 2026
23bbbc9
Homepage: covers flex to fill the carousel width on wide screens
JohannesSeikowsky Aug 3, 2026
183ecc4
Homepage: replace shelf header links with end-of-rail see-more cards
JohannesSeikowsky Aug 3, 2026
f50450b
Homepage: end-of-rail card shows its label in the tile, arrow below
JohannesSeikowsky Aug 3, 2026
b3cb123
Homepage: end-of-rail tile matches cover size; balance its label over…
JohannesSeikowsky Aug 3, 2026
08c4b27
Homepage: end-of-rail tile defaults to the outlined look, fills teal …
JohannesSeikowsky Aug 3, 2026
8f916bf
Homepage: tighten and scope the end-of-rail card CSS
JohannesSeikowsky Aug 3, 2026
9b9ef6d
Homepage: reduce gap between mission text and the first carousel
JohannesSeikowsky Aug 3, 2026
b6b521b
Homepage: document icon sources and move the category grid into an in…
JohannesSeikowsky Aug 3, 2026
aea18be
Homepage: tighten the lead statement
JohannesSeikowsky Aug 3, 2026
6e2d96d
Homepage: Donate button matches the header; Subscribe matches Learn more
JohannesSeikowsky Aug 3, 2026
4ebaa20
Homepage: Subscribe uses the hover fill by default; drop dead homepag…
JohannesSeikowsky Aug 3, 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
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ First, clone the project:
git clone https://github.com/gutenbergtools/gutenbergsite.git
cd gutenbergsite

In production, `_includes/latest_covers.html` is generated by a web query on
the prod system. For testing you can
`cp "_includes/latest_covers_test.html" "_includes/latest_covers.html"`

`latest_covers.html` is not tracked by git. There are two ways to run
a development environment. In either situation, as you edit files, the server
should notice and automatically build the changes into the site without
a restart.
In production, `_includes/latest_covers.html` and `_includes/ebook_count`
are generated by a web query on the prod system. For testing you can
`cp "_includes/latest_covers_test.html" "_includes/latest_covers.html"` and
`cp "_includes/ebook_count_test" "_includes/ebook_count"`

`latest_covers.html` and `ebook_count` are not tracked by git. There
are two ways to run a development environment. In either situation, as you
edit files, the server should notice and automatically build the changes into
the site without a restart.

### Run locally

Expand Down
40 changes: 40 additions & 0 deletions _includes/category_grid.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!-- Category icons are from Lucide (https://lucide.dev), ISC license.
Take new ones from there so the set stays consistent: 24x24, stroke-width 2, no fill. -->
<div class="category-grid">
<a href="/ebooks/categories.html#history">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 18v-7"/><path d="M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z"/><path d="M14 18v-7"/><path d="M18 18v-7"/><path d="M3 22h18"/><path d="M6 18v-7"/></svg>
History
</a>
<a href="/ebooks/categories.html#literature">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 7v14"/><path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>
Literature
</a>
<a href="/ebooks/categories.html#science-technology">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44"/><path d="m13.56 11.747 4.332-.924"/><path d="m16 21-3.105-6.21"/><path d="M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z"/><path d="m6.158 8.633 1.114 4.456"/><path d="m8 21 3.105-6.21"/><circle cx="12" cy="13" r="2"/></svg>
Science &amp; Technology
</a>
<a href="/ebooks/categories.html#social-sciences-society">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"/><path d="M16 3.128a4 4 0 0 1 0 7.744"/><path d="M22 21v-2a4 4 0 0 0-3-3.87"/><circle cx="9" cy="7" r="4"/></svg>
Social Sciences &amp; Society
</a>
<a href="/ebooks/categories.html#arts-culture">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z"/><circle cx="13.5" cy="6.5" r=".5" fill="currentColor"/><circle cx="17.5" cy="10.5" r=".5" fill="currentColor"/><circle cx="6.5" cy="12.5" r=".5" fill="currentColor"/><circle cx="8.5" cy="7.5" r=".5" fill="currentColor"/></svg>
Arts &amp; Culture
</a>
<a href="/ebooks/categories.html#religion-philosophy">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 9h4"/><path d="M12 7v5"/><path d="M14 21v-3a2 2 0 0 0-4 0v3"/><path d="m18 9 3.52 2.147a1 1 0 0 1 .48.854V19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-6.999a1 1 0 0 1 .48-.854L6 9"/><path d="M6 21V7a1 1 0 0 1 .376-.782l5-3.999a1 1 0 0 1 1.249.001l5 4A1 1 0 0 1 18 7v14"/></svg>
Religion &amp; Philosophy
</a>
<a href="/ebooks/categories.html#lifestyle-hobbies">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="6"/><circle cx="12" cy="12" r="2"/></svg>
Lifestyle &amp; Hobbies
</a>
<a href="/ebooks/categories.html#health-medicine">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z"/><path d="M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12"/></svg>
Health &amp; Medicine
</a>
<a href="/ebooks/categories.html#education-reference">
<svg class="pgx-cat-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z"/><path d="M22 10v6"/><path d="M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></svg>
Education &amp; Reference
</a>
</div>
Loading
Loading