diff options
27 files changed, 92 insertions, 21 deletions
@@ -1,2 +1,3 @@ html/ html.tgz +assets/images/gen_* diff --git a/assets/images/polyguin.sh b/assets/images/polyguin.sh index 97a2ab0..1bf0df4 100755 --- a/assets/images/polyguin.sh +++ b/assets/images/polyguin.sh @@ -1,5 +1,13 @@ #!/bin/sh -e +HERE=$(dirname $(readlink -f ${0})); +cd ${HERE}; + +rm -f gen_*; + +#--------------------------------------------------------------- +# Transparent monochrome (B on W, W on B) SVGs from master. + ## # Target: color # @@ -78,7 +86,85 @@ grep fill: polyguin.svg \ done \ ; + +#=============================================================== +docker run -v$(pwd):/x -w/x --rm -i alpine:3.14 <<'EOF' +apk add graphicsmagick imagemagick; +#=============================================================== + +#--------------------------------------------------------------- +# SVG master --> scaled PNGs for composition onto logo template. + +## +# SVG --> PNG for master logo icon. +# +# x28 is GitLab +# x54 is Website +# x200 is SPI project page +# +# This runs inside Docker because of ImageMagick bugs and GM is +# the only free software I can find that doesn't screw this up. +# +for c in color black white; do +for r in x28 x54 x200; do + gm convert -trim -density 600 -resize ${r} -background none polyguin_${c}.svg gen_polyguin_${c}_${r}.png; + chown 1000:1000 gen_polyguin_${c}_${r}.png; +done # r +done # c + + +#--------------------------------------------------------------- +# PSD master --> scaled PNGs for composition onto logo template. + ## -# SVG --> PNG +# PSD --> PNG for master logo icon. # -docker run -v$(pwd):/root --rm -it alpine:latest sh -c 'apk add graphicsmagick; cd; gm convert -trim -density 200 -resize x1000 -background none polyguin.svg polyguin.png; chown 1000:1000 polyguin.png' +# x28 is GitLab +# x54 is Website +# x200 is SPI project page +# +# GM does not support PSD anymore! +# +find . -type f -name "*.psd" | cut -d'/' -f2 | while read k; do +for r in x28 x54 x200; do + magick convert -resize ${r} "${k}[0]" "gen_${k%*.psd}_${r}.png"; + chown 1000:1000 "gen_${k%*.psd}_${r}.png"; +done +done + +#--------------------------------------------------------------- +# SVG + PSD template composition. + +## +# Contrast suffers a bit but these are great on image backgrounds. +# +for c in color black white; do +for r in x28 x54 x200; do + # transparent black polyguin + gm composite gen_polyguin_${c}_${r}.png gen_polylogo_template_black_${r}.png gen_polylogo_black_${c}_${r}.png; + chown 1000:1000 gen_polylogo_black_${c}_${r}.png; + + # transparent white polyguin + gm composite gen_polyguin_${c}_${r}.png gen_polylogo_template_white_${r}.png gen_polylogo_white_${c}_${r}.png; + chown 1000:1000 gen_polylogo_white_${c}_${r}.png; +done # r +done # c + +## +# These have better contrast and are suited for solid backgrounds. +# +# FIXME: improve contrast. +# +for r in x28 x54 x200; do + # solid black color --> grayscale polyguin + magick convert -colorspace Gray -contrast-stretch 0 gen_polylogo_black_color_${r}.png gen_polylogo_black_mono_${r}.png; + chown 1000:1000 gen_polylogo_black_mono_${r}.png; + + # solid white color --> grayscale polyguin + magick convert -colorspace Gray -contrast-stretch 0 gen_polylogo_white_color_${r}.png gen_polylogo_white_mono_${r}.png; + chown 1000:1000 gen_polylogo_black_mono_${r}.png; +done # r + +#=============================================================== +EOF +#=============================================================== diff --git a/assets/images/polylogo_black.png b/assets/images/polylogo_black.png Binary files differdeleted file mode 100644 index 90f64ed..0000000 --- a/assets/images/polylogo_black.png +++ /dev/null diff --git a/assets/images/polylogo_black.psd b/assets/images/polylogo_black.psd Binary files differdeleted file mode 100755 index 02e2259..0000000 --- a/assets/images/polylogo_black.psd +++ /dev/null diff --git a/assets/images/polylogo_black_color.png b/assets/images/polylogo_black_color.png Binary files differdeleted file mode 100644 index 635fafd..0000000 --- a/assets/images/polylogo_black_color.png +++ /dev/null diff --git a/assets/images/polylogo_black_color.psd b/assets/images/polylogo_black_color.psd Binary files differdeleted file mode 100755 index 65802cb..0000000 --- a/assets/images/polylogo_black_color.psd +++ /dev/null diff --git a/assets/images/polylogo_black_color_x200.png b/assets/images/polylogo_black_color_x200.png Binary files differdeleted file mode 100644 index dae22a5..0000000 --- a/assets/images/polylogo_black_color_x200.png +++ /dev/null diff --git a/assets/images/polylogo_black_color_x28.png b/assets/images/polylogo_black_color_x28.png Binary files differdeleted file mode 100644 index ccb0d23..0000000 --- a/assets/images/polylogo_black_color_x28.png +++ /dev/null diff --git a/assets/images/polylogo_black_color_x54.png b/assets/images/polylogo_black_color_x54.png Binary files differdeleted file mode 100644 index ea8bd8a..0000000 --- a/assets/images/polylogo_black_color_x54.png +++ /dev/null diff --git a/assets/images/polylogo_black_x200.png b/assets/images/polylogo_black_x200.png Binary files differdeleted file mode 100644 index 4ee92bc..0000000 --- a/assets/images/polylogo_black_x200.png +++ /dev/null diff --git a/assets/images/polylogo_black_x28.png b/assets/images/polylogo_black_x28.png Binary files differdeleted file mode 100644 index bb7b6ee..0000000 --- a/assets/images/polylogo_black_x28.png +++ /dev/null diff --git a/assets/images/polylogo_black_x54.png b/assets/images/polylogo_black_x54.png Binary files differdeleted file mode 100644 index 205d1b3..0000000 --- a/assets/images/polylogo_black_x54.png +++ /dev/null diff --git a/assets/images/polylogo_template_black.psd b/assets/images/polylogo_template_black.psd Binary files differnew file mode 100755 index 0000000..e06d303 --- /dev/null +++ b/assets/images/polylogo_template_black.psd diff --git a/assets/images/polylogo_template_white.psd b/assets/images/polylogo_template_white.psd Binary files differnew file mode 100755 index 0000000..993ab61 --- /dev/null +++ b/assets/images/polylogo_template_white.psd diff --git a/assets/images/polylogo_white.png b/assets/images/polylogo_white.png Binary files differdeleted file mode 100644 index 504e51c..0000000 --- a/assets/images/polylogo_white.png +++ /dev/null diff --git a/assets/images/polylogo_white.psd b/assets/images/polylogo_white.psd Binary files differdeleted file mode 100755 index 43370f3..0000000 --- a/assets/images/polylogo_white.psd +++ /dev/null diff --git a/assets/images/polylogo_white_color.png b/assets/images/polylogo_white_color.png Binary files differdeleted file mode 100644 index a0afd5c..0000000 --- a/assets/images/polylogo_white_color.png +++ /dev/null diff --git a/assets/images/polylogo_white_color.psd b/assets/images/polylogo_white_color.psd Binary files differdeleted file mode 100755 index a08c61a..0000000 --- a/assets/images/polylogo_white_color.psd +++ /dev/null diff --git a/assets/images/polylogo_white_color_x200.png b/assets/images/polylogo_white_color_x200.png Binary files differdeleted file mode 100644 index 14847b3..0000000 --- a/assets/images/polylogo_white_color_x200.png +++ /dev/null diff --git a/assets/images/polylogo_white_color_x28.png b/assets/images/polylogo_white_color_x28.png Binary files differdeleted file mode 100644 index e86b1d5..0000000 --- a/assets/images/polylogo_white_color_x28.png +++ /dev/null diff --git a/assets/images/polylogo_white_color_x54.png b/assets/images/polylogo_white_color_x54.png Binary files differdeleted file mode 100644 index 39cd211..0000000 --- a/assets/images/polylogo_white_color_x54.png +++ /dev/null diff --git a/assets/images/polylogo_white_x200.png b/assets/images/polylogo_white_x200.png Binary files differdeleted file mode 100644 index adaf530..0000000 --- a/assets/images/polylogo_white_x200.png +++ /dev/null diff --git a/assets/images/polylogo_white_x28.png b/assets/images/polylogo_white_x28.png Binary files differdeleted file mode 100644 index fb3c82d..0000000 --- a/assets/images/polylogo_white_x28.png +++ /dev/null diff --git a/assets/images/polylogo_white_x54.png b/assets/images/polylogo_white_x54.png Binary files differdeleted file mode 100644 index 75a6e61..0000000 --- a/assets/images/polylogo_white_x54.png +++ /dev/null @@ -21,22 +21,6 @@ find ${HERE} -type f -name "*.psd" | while read k; do done ## -# .psd --> .png ONLY in '../assets/' -# -# x28 is GitLab -# x54 is Website -# x200 is SPI project page -# -find ${HERE}/../assets -type f -name "*.psd" | while read k; do - f="${k#*${HERE}}"; - mkdir -p "${HTML}${f%/*}"; - convert "${k}[0]" "${HTML}${f%*.psd}.png"; - for r in x28 x54 x200; do - convert -resize ${r} "${k}[0]" "${HTML}${f%*.psd}_${r}.png"; - done -done - -## # template injection # find ${HERE} -type f -name "*.html" | while read k; do diff --git a/src/header.fill b/src/header.fill index a2818b6..f9fa090 100644 --- a/src/header.fill +++ b/src/header.fill @@ -3,8 +3,8 @@ <div class="header-logo"> <h3> <a href="/"> - <img class="logo-dark" src="/assets/images/polylogo_black_x54.png" alt="" onmouseover="this.src='/assets/images/polylogo_black_color_x54.png'" onmouseout="this.src='/assets/images/polylogo_black_x54.png'"> - <img class="logo-light" src="/assets/images/polylogo_white_x54.png" alt="" onmouseover="this.src='/assets/images/polylogo_white_color_x54.png'" onmouseout="this.src='/assets/images/polylogo_white_x54.png'"> + <img class="logo-dark" src="/assets/images/gen_polylogo_black_mono_x54.png" alt="" onmouseover="this.src='/assets/images/gen_polylogo_black_color_x54.png'" onmouseout="this.src='/assets/images/gen_polylogo_black_mono_x54.png'"> + <img class="logo-light" src="/assets/images/gen_polylogo_white_mono_x54.png" alt="" onmouseover="this.src='/assets/images/gen_polylogo_white_color_x54.png'" onmouseout="this.src='/assets/images/gen_polylogo_white_mono_x54.png'"> </a> </h3> </div> diff --git a/src/index.html b/src/index.html index 764232b..7914902 100644 --- a/src/index.html +++ b/src/index.html @@ -52,7 +52,7 @@ __HEADER__ <img class="border-radius" src="rock-climbers.jpg" alt=""> </div> <div class="col-12 col-lg-6"> - <h3 class="font-weight-light margin-bottom-20">Faith has no place in computing.<br />Have total confidence.</h3> + <h3 class="font-weight-light margin-bottom-20">Faith has no place in computing.<br />Confidence does.</h3> <p>Adélie Linux respects your time and investments. That's why we're based on a rock-solid runtime library and focused on bringing an efficient operating system to your hardware, whether it's from 1995 or 2025.</p> <br /> <p>Our developers are within immediate reach to help tackle your biggest challenges, from kernel to browser, or motherboard to microcode.</p> |