Browse Source

provide all image tags with correct width and height values

responsive
Georg Hopp 9 years ago
parent
commit
0065bab2df
  1. 389
      app/assets/images/gpl-v3-logo.svg
  2. BIN
      app/assets/images/gpl-v3-red.png
  3. BIN
      app/assets/images/me-white.png
  4. BIN
      app/assets/images/me.png
  5. 6
      app/views/layouts/application.html.erb
  6. 3
      app/views/welcome/index.html.erb

389
app/assets/images/gpl-v3-logo.svg
File diff suppressed because it is too large
View File

BIN
app/assets/images/gpl-v3-red.png

After

Width: 62  |  Height: 31  |  Size: 2.9 KiB

BIN
app/assets/images/me-white.png

After

Width: 62  |  Height: 70  |  Size: 4.3 KiB

BIN
app/assets/images/me.png

After

Width: 528  |  Height: 600  |  Size: 63 KiB

6
app/views/layouts/application.html.erb

@ -7,7 +7,7 @@
<header id="header"> <header id="header">
<div class="header-content"> <div class="header-content">
<div id="logo"> <div id="logo">
<%= image_tag "me-white.svg", height: "70" %>
<%= image_tag "me-white.png", width: "62", height: "70" %>
<a href=""> Georg Hopp aka Steffers </a> <a href=""> Georg Hopp aka Steffers </a>
</div> </div>
<nav id="nav"> <nav id="nav">
@ -51,10 +51,12 @@
<a href="http://creativecommons.org/licenses/by/4.0/" rel="license"> <a href="http://creativecommons.org/licenses/by/4.0/" rel="license">
<img alt="Creative Commons License" <img alt="Creative Commons License"
style="border-width:0" style="border-width:0"
width="88"
height="31"
src="https://i.creativecommons.org/l/by/4.0/88x31.png" /> src="https://i.creativecommons.org/l/by/4.0/88x31.png" />
</a> </a>
<a href="http://www.gnu.org/licenses/gpl-3.0.en.html" rel="license"> <a href="http://www.gnu.org/licenses/gpl-3.0.en.html" rel="license">
<%= image_tag("gpl-v3-red.svg", height: "30") %>
<%= image_tag("gpl-v3-red.png", height: "31", width: "62") %>
</a> </a>
</div> </div>
</footer> </footer>

3
app/views/welcome/index.html.erb

@ -81,7 +81,8 @@
</div> </div>
</div> </div>
<div id="section2" class="section"> <div id="section2" class="section">
<%= image_tag "me.svg", class: "watermark", height: "600px" %>
<%= image_tag "me.png", class: "watermark",
width: "528px", height: "600px" %>
<div class="content"> <div class="content">
<div id="skills"> <div id="skills">
<div class="title"> <div class="title">

Loading…
Cancel
Save