diff options
author | Max Magorsch <max@magorsch.de> | 2020-01-21 01:35:37 +0100 |
---|---|---|
committer | Max Magorsch <max@magorsch.de> | 2020-01-21 01:35:37 +0100 |
commit | 44bd8aaf37709bb1d7ea8fceb9bdade5dc959475 (patch) | |
tree | 0d34e76714fa41cbbf22fb034f81fc9898864724 | |
parent | Fix the useflag search for USE flags with hyphens (diff) | |
download | packages-5-44bd8aaf37709bb1d7ea8fceb9bdade5dc959475.tar.gz packages-5-44bd8aaf37709bb1d7ea8fceb9bdade5dc959475.tar.bz2 packages-5-44bd8aaf37709bb1d7ea8fceb9bdade5dc959475.zip |
Use an img tag instead of object for the svg logov9.0.0
The svg will be loaded using srcset. As a fallback a png logo is
still provided.
Signed-off-by: Max Magorsch <max@magorsch.de>
-rw-r--r-- | app/views/layouts/application.html.erb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index b08981f..a22f4f5 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,9 +20,7 @@ <div class="row justify-content-between"> <div class="logo"> <a href="/" title="Back to the homepage" class="site-logo"> - <object data="https://assets.gentoo.org/tyrian/site-logo.svg" type="image/svg+xml"> - <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux Logo"> - </object> + <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo" srcset="https://assets.gentoo.org/tyrian/site-logo.svg"> </a> <span class="site-label">Packages</span> </div> |