From 1ce877c7f9708cc2b2595e56e91a4fb572730343 Mon Sep 17 00:00:00 2001 From: Mario Ranftl Date: Sat, 23 Sep 2023 09:45:13 +0200 Subject: [PATCH] node 18.18.0 update, show current sponsors count --- Dockerfile | 4 ++-- client/app/fonts/fonts.html | 18 ++++++++++++++---- client/app/fonts/fonts.less | 6 ++++++ client/app/fonts/fontsItem.html | 2 +- 4 files changed, 23 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b17790..e4192fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # --- Stage: development # --- Purpose: Local dev environment (no application deps) ### ----------------------- -FROM node:18.16.0-bullseye AS development +FROM node:18.18.0-bullseye AS development # Replace shell with bash so we can source files RUN rm /bin/sh && ln -s /bin/bash /bin/sh @@ -61,7 +61,7 @@ RUN yarn install --production --ignore-scripts --prefer-offline # --- Stage: production # --- Purpose: Final step from a new slim image. this should be a minimal image only housing dist (production service) ### ----------------------- -FROM node:18.16.0-bullseye AS production +FROM node:18.18.0-bullseye AS production # https://github.com/nodejs/docker-node/blob/7de353256a35856c788b37c1826331dbba5f0785/docs/BestPractices.md # Node.js was not designed to run as PID 1 which leads to unexpected behaviour when running inside of Docker. diff --git a/client/app/fonts/fonts.html b/client/app/fonts/fonts.html index d558244..bc56b42 100644 --- a/client/app/fonts/fonts.html +++ b/client/app/fonts/fonts.html @@ -36,11 +36,21 @@ - + +
+ + GitHub Sponsors + +
- + +
+ + GitHub Repo stars + +
diff --git a/client/app/fonts/fonts.less b/client/app/fonts/fonts.less index 3cd23a1..02cb151 100644 --- a/client/app/fonts/fonts.less +++ b/client/app/fonts/fonts.less @@ -56,6 +56,12 @@ html, body { #githubSponsor, #githubCount { float: right; + margin-left: 16px; + opacity: 0.8; +} + +#githubSponsor:hover, #githubCount:hover { + opacity: 1; } .ordering { diff --git a/client/app/fonts/fontsItem.html b/client/app/fonts/fontsItem.html index eb7033f..251fb40 100644 --- a/client/app/fonts/fontsItem.html +++ b/client/app/fonts/fontsItem.html @@ -195,7 +195,7 @@

4. Download files:


You are now ready to self-host {{fontItem.family}}.
- If this service has actually been helpful for you, please star it on GitHub. If you've encountered serious problems, file an issue here.
+ If this service has actually been helpful for you, please star it on GitHub. If you've encountered serious problems, file an issue here.
❤️ You can help to keep this project alive by sponsoring me. Thank you ❤️.