feat add 'Show previous commits' link on summary page

Commit
53a3c3e8b7b2ad45a1f84372d84bb35cbd42b5bf
Author
Marius Peter <dev@marius-peter.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
Changed files
lib/static/styles.css
index 8d29b28b..7cc8e40a 100644..100644
@@ -369,6 +369,13 @@
369 369 line-height: var(--target-size);
370 370 }
371 371
372 Added: /* "Show previous commits" link on summary page */
373 Added:
374 Added: .summary-more {
375 Added: text-align: center;
376 Added: margin: 1em 0;
377 Added: }
378 Added:
372 379 /* Pill color variants — WCAG AA contrast against their backgrounds */
373 380
374 381 .commit-pill-feat {
lib/views/repo.ml
index 3de48d83..b6df55bf 100644..100644
@@ -495,6 +495,11 @@
495 495 description_section;
496 496 h3 [] [ txt "Latest commits" ];
497 497 ul [] (List.map (li_of_commit context.repo) commits);
498 Added: p
499 Added: [ class_ "summary-more" ]
500 Added: [
501 Added: Routes.link_to (Commits context.repo) (txt "Show previous commits");
502 Added: ];
498 503 ]
499 504
500 505 let toolbar ?(filters = []) content =