Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 11 additions & 11 deletions app/assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions app/assets/images/surlaroute/logos/logo-header.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application/components/nav.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.navbar
.navbar-brand
img
svg
width: 368px
@media (max-width: 768px)
width: 180px
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ header#document-header
z-index: 99
@include media-breakpoint-down(md)
width: fit-content
// .navbar-brand
// .logo
// width: 368px
.navbar-nav
.dropdown-menu
li a
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/surlaroute.sass
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@

@import "application/design-system/print"
@import "surlaroute/page-colors"
@import "surlaroute/logo"
9 changes: 9 additions & 0 deletions app/assets/stylesheets/surlaroute/logo.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@keyframes arrow-rotate
0%
transform: rotate(0deg)
100%
transform: rotate(20deg)

.logo
.logo-arrow
animation: arrow-rotate 3s infinite
2 changes: 1 addition & 1 deletion app/views/application/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="container container-fluid">
<div class="navbar-logo col-md-3">
<%= link_to root_path, class: "navbar-brand" do %>
<%= image_tag 'logo.svg', alt: t('website') %>
<%= render "logo" %>
<% end %>
</div>
<button id="main-menu-button" class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
Expand Down
13 changes: 13 additions & 0 deletions app/views/application/_logo.html.erb

Large diffs are not rendered by default.