OSM icon to SVG

whitespace

Revert og:image tags

Add original design OSM logo in assets/

Update _header.html.erb
This commit is contained in:
Hidde Wieringa 2024-06-21 20:21:59 +02:00
parent 5aa4d49281
commit 18628b6f38
No known key found for this signature in database
GPG key ID: 014B9FCF5F3BFA95
6 changed files with 3624 additions and 3301 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 55 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

View file

@ -1,7 +1,7 @@
<header class="d-flex bg-body text-nowrap closed z-3">
<h1 class="d-flex m-0 fw-semibold">
<a href="<%= root_path %>" class="icon-link gap-1 text-body-emphasis text-decoration-none geolink">
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :size => 30 %>
<%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text"), :size => 30 %>
<%= t "layouts.project_name.h1" %>
</a>
</h1>

View file

@ -8,7 +8,7 @@
</head>
<body>
<a href="<%= root_path %>">
<%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
<%= image_tag "osm_logo.svg", :alt => t("layouts.logo.alt_text"), :class => "logo" %>
</a>
<div class="details">
<%= yield %>

3336
assets/osm_logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 169 KiB