commit 81c2ec18a665a94855ec3a5d0133204c27bb13b6 parent 97e1392c67b26723c3c7deab12ca9fc9844195c0 Author: d-s <ds@voyager.local> Date: Fri, 19 May 2023 13:42:29 +0200 feat: FreeBSD donor Diffstat:
9 files changed, 32 insertions(+), 5 deletions(-)
diff --git a/assets/content_images/freebsd-donor.gif b/assets/content_images/freebsd-donor.gif Binary files differ. diff --git a/assets/content_images/fsf-donor.png b/assets/content_images/fsf-donor.png Binary files differ. diff --git a/layouts/shortcodes/causes.html b/layouts/shortcodes/causes.html @@ -1,5 +1,21 @@ -<center> - <a href="https://my.fsf.org/join?referrer=6050678" target="_blank"> - <img src="https://static.fsf.org/nosvn/associate/crm/6050678.png" alt="I am an FSF associate" width="180" height="45"> - </a> -</center> +<div class="donor"> +{{- $file := "fsf-donor.png" }} +{{- $path := printf "content_images/%s" $file}} +{{- $img := resources.Get $path }} +{{- $img1x := $img.Resize "180x webp q90"}} + +<a href="https://freebsdfoundation.org/donate" target="_blank"> + +<a href="https://my.fsf.org/join?referrer=6050678" target="_blank"> + <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="I am an FSF associate" width="180" height="45"> +</a> + +{{- $file := "freebsd-donor.gif" }} +{{- $path := printf "content_images/%s" $file}} +{{- $img := resources.Get $path }} +{{- $img1x := $img.Resize "125x webp q90"}} + +<a href="https://freebsdfoundation.org/donate" target="_blank"> + <img src="{{$img1x.Permalink}}" width="{{$img1x.Width}}" height="{{$img1x.Height}}" alt="Proud Donor" title="FreeBSD Foundation Donor" > +</a> +</div> diff --git a/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_1060x0_resize_q90_h2_box_1.webp b/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_1060x0_resize_q90_h2_box_1.webp Binary files differ. diff --git a/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_112x0_resize_q90_h2_box_1.webp b/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_112x0_resize_q90_h2_box_1.webp Binary files differ. diff --git a/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_125x0_resize_q90_h2_box_1.webp b/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_125x0_resize_q90_h2_box_1.webp Binary files differ. diff --git a/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_534x0_resize_q90_h2_box_1.webp b/resources/_gen/images/freebsd-donor_hu48b61e440d3da631676a30271c7fed4a_8722_534x0_resize_q90_h2_box_1.webp Binary files differ. diff --git a/resources/_gen/images/fsf-donor_hu8187f875869f645a390c7a541e4822e1_5811_180x0_resize_q90_h2_box_3.webp b/resources/_gen/images/fsf-donor_hu8187f875869f645a390c7a541e4822e1_5811_180x0_resize_q90_h2_box_3.webp Binary files differ. diff --git a/static/style.css b/static/style.css @@ -215,3 +215,14 @@ a[href^="#fn:"]:after{ content: ']' } font-weight: bold; display: block;; } + +/* ----------- Donations */ +.donor { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: center; + align-items: center; + align-content: flex-start; + gap: 50px; +}