File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
assets/stylesheets/components Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 2323
2424.nav-brand {
2525 display : flex;
26- flex-direction : column;
26+ align-items : center;
27+ gap : var (--spacing-3 );
2728}
2829
2930.brand-link {
3031 font-size : var (--font-size-2xl );
3132 font-weight : var (--font-weight-bold );
3233 color : var (--color-text-nav );
3334 text-decoration : none;
34- margin-bottom : -2px ;
35+ margin-bottom : 0 ;
36+ display : inline-flex;
37+ align-items : center;
38+ gap : var (--spacing-2 );
39+ }
40+
41+ .brand-icon {
42+ height : var (--nav-height );
43+ width : auto;
44+ display : block;
45+ object-fit : contain;
3546}
3647
3748.tagline {
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ html data-theme="light"
1313 = csp_meta_tag
1414 = yield :head
1515 link [rel =" icon" href= " /icon.png" type= " image/png" ]
16- link [rel =" icon" href= " /icon.svg" type= " image/svg+xml" ]
1716 link [rel =" apple-touch-icon" href= " /icon.png" ]
1817 script
1918 |
@@ -37,7 +36,9 @@ html data-theme="light"
3736 nav .main-navigation
3837 .nav-container
3938 .nav-brand
40- = link_to " Hackorum" , root_path, class : " brand-link"
39+ = link_to root_path, class : " brand-link" do
40+ img .brand-icon src =" /icon.png" alt =" Hackorum" width =" 24" height =" 24"
41+ span .brand-text Hackorum
4142 span .tagline PostgreSQL Hackers Archive
4243 .nav-links
4344 = link_to " Topics" , topics_path, class : " nav-link"
You can’t perform that action at this time.
0 commit comments