From 46f7d915cd7bafc4af628373020db43361903cc8 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Fri, 27 Sep 2024 09:56:22 +0200 Subject: [PATCH 1/2] chore(sponsors): readme banner --- .github/fern-banner.svg | 11 +++++++++++ README.md | 4 ++++ 2 files changed, 15 insertions(+) create mode 100644 .github/fern-banner.svg diff --git a/.github/fern-banner.svg b/.github/fern-banner.svg new file mode 100644 index 000000000..f9b4d08b4 --- /dev/null +++ b/.github/fern-banner.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/README.md b/README.md index b9726864a..32b5553a2 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://form.typeform.com/to/mGTcNagc) + ## Functionalities and roadmap Please check the [issues](https://github.com/CorentinTh/it-tools/issues) to see if some feature listed to be implemented. From 512141042d3638f48dd3d87b1c75fe75c5b1fea2 Mon Sep 17 00:00:00 2001 From: Corentin Thomasset Date: Fri, 27 Sep 2024 10:39:26 +0200 Subject: [PATCH 2/2] chore(sponsors): app sponsor --- .github/fern-banner.svg | 6 +++--- README.md | 2 +- src/config.ts | 6 ++++++ src/pages/Home.page.vue | 30 ++++++++++++++++++++++++++++-- 4 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.github/fern-banner.svg b/.github/fern-banner.svg index f9b4d08b4..20b918f70 100644 --- a/.github/fern-banner.svg +++ b/.github/fern-banner.svg @@ -1,8 +1,8 @@ - - - + + + diff --git a/README.md b/README.md index 32b5553a2..1aa3cce2d 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Useful tools for developer and people working in IT. [Have a look !](https://it- ## Sponsors -[![Fern banner](./.github/fern-banner.svg)](https://form.typeform.com/to/mGTcNagc) +[![Fern banner](./.github/fern-banner.svg)](https://bit.ly/3zBl7DG) ## Functionalities and roadmap diff --git a/src/config.ts b/src/config.ts index 2558d0385..fa2421eff 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 dfd12b604..190601c1a 100644 --- a/src/pages/Home.page.vue +++ b/src/pages/Home.page.vue @@ -15,8 +15,8 @@ const { t } = useI18n();