db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject [db-jdo-site] 01/01: Use icons with highest resolution available for website
Date Sun, 21 Feb 2021 17:51:44 GMT
This is an automated email from the ASF dual-hosted git repository.

tobous pushed a commit to branch use-higher-res-icons
in repository https://gitbox.apache.org/repos/asf/db-jdo-site.git

commit 6d9ad1baf428012556f9636313ad76d740fd06b7
Author: Tobias Bouschen <tobias.bouschen@googlemail.com>
AuthorDate: Sun Feb 21 18:49:11 2021 +0100

    Use icons with highest resolution available for website
    
    Adjusts the website to use the 150x150 version of the JDO logo instead
    of smaller ones. Sets the scaling manually to keep the previous size
    when using the larger image.
    
    Adjusts the image size of the header icon to better fit the bar and
    create an even spacing with the default layout.
---
 src/main/asciidoc/index.adoc        | 2 +-
 src/main/template/document.html.erb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc
index 36f191d..ddc98a0 100644
--- a/src/main/asciidoc/index.adoc
+++ b/src/main/asciidoc/index.adoc
@@ -5,7 +5,7 @@
 :grid: cols
 
 [[index]]
-image:images/JDOx100.png[float="left"]
+image:images/JDOx150.png[logo,100,100,float="left"]
 image:images/jdo_text.png[float="right"]
 
 '''''
diff --git a/src/main/template/document.html.erb b/src/main/template/document.html.erb
index 6a01fd2..2d3cb51 100644
--- a/src/main/template/document.html.erb
+++ b/src/main/template/document.html.erb
@@ -108,7 +108,7 @@
             </button>
             <!-- 'style' added to align image with navbar. FIX THIS -->
             <a class="navbar-brand" href="https://db.apache.org/jdo/">
-                <img style="margin-top: -12px;" alt="Brand" src="<%= (attr :_basedir)
%>images/JDO_44x44.png"/>
+                <img style="margin-top: -12px;" alt="Brand" width="45.5" height="45.5"
src="<%= (attr :_basedir) %>images/JDOx150.png"/>
             </a>
             <!-- TODO Any way to abstract the version from Maven? -->
             <a class="navbar-brand" href="<%= (attr :_basedir) %>index.html">Apache
JDO</a>


Mime
View raw message