From f962c416a33e1481fd7d1f4eca927bbf5810cde7 Mon Sep 17 00:00:00 2001 From: Corentin THOMASSET Date: Thu, 3 Oct 2024 00:01:09 +0200 Subject: [PATCH 01/14] chore(sponsors): fern sponsor banners (#1314) * chore(sponsors): readme banner * chore(sponsors): app sponsor --- .github/fern-banner.svg | 11 +++++++++++ README.md | 4 ++++ src/config.ts | 6 ++++++ src/pages/Home.page.vue | 30 ++++++++++++++++++++++++++++-- 4 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 .github/fern-banner.svg diff --git a/.github/fern-banner.svg b/.github/fern-banner.svg new file mode 100644 index 00000000..20b918f7 --- /dev/null +++ b/.github/fern-banner.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/README.md b/README.md index 93c7aa73..dfe7f3d4 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,10 @@ Useful tools for developer and people working in IT. [Have a look !](https://it-tools.tech). +## Sponsors + +[![Fern banner](./.github/fern-banner.svg)](https://bit.ly/3zBl7DG) + ## Functionalities and roadmap Please check the [issues](https://github.com/CorentinTh/it-tools/issues) to see if some feature listed to be implemented. diff --git a/src/config.ts b/src/config.ts index 2558d038..fa2421ef 100644 --- a/src/config.ts +++ b/src/config.ts @@ -59,6 +59,12 @@ export const config = figue({ default: false, env: 'VITE_SHOW_BANNER', }, + showSponsorBanner: { + doc: 'Show the sponsor banner', + format: 'boolean', + default: false, + env: 'VITE_SHOW_SPONSOR_BANNER', + }, }) .loadEnv({ ...import.meta.env, diff --git a/src/pages/Home.page.vue b/src/pages/Home.page.vue index dfd12b60..190601c1 100644 --- a/src/pages/Home.page.vue +++ b/src/pages/Home.page.vue @@ -15,8 +15,8 @@ const { t } = useI18n();