style left-align root navbar title, link logo to git-scm.com

On the root page only, the git logo now links to https://git-scm.com instead of back to itself. Remove justify-content: space-between from nav#top so the logo and title stay left-aligned on the root page (the ul margin-left: auto already handles right-alignment on repo pages).

Commit
c3b2b8d9dcd6c994db4892ba89dfaa58bddd1ac0
Author
GPT-5.6 Sol <kiro@amazon.com>
Author date
Committer
Marius Peter <dev@marius-peter.com>
Committer date
Changed files
lib/static/styles.css
index fbaea2b9..81671e00 100644..100644
@@ -77,7 +77,6 @@
77 77 z-index: 10;
78 78 display: flex;
79 79 align-items: center;
80 Removed: justify-content: space-between;
81 80 }
82 81
83 82 .nav-toggle {
lib/views/layout.ml
index b8fcad88..d3433bad 100644..100644
@@ -25,9 +25,9 @@
25 25 nav
26 26 [ id "top"; Aria.label "Site navigation" ]
27 27 [
28 Removed: Routes.link_to Root
29 Removed: ~other_attrs:[ class_ "nav-logo" ]
30 Removed: (img [ src "/static/git_icon.svg"; alt "Home"; class_ "site-logo" ]);
28 Added: a
29 Added: [ href "https://git-scm.com"; class_ "nav-logo" ]
30 Added: [ img [ src "/static/git_icon.svg"; alt "Git"; class_ "site-logo" ] ];
31 31 span [ class_ "nav-home" ] [ txt "%s" nav_title ];
32 32 ])
33 33