From 5c8931f5f6a7cbbb2e8d67fba9b80a291d3c2de6 Mon Sep 17 00:00:00 2001 From: pheralb Date: Mon, 14 Oct 2024 14:29:11 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Add=20new=20request-svg=20?= =?UTF-8?q?issue=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/request-svg-.md | 23 ------- .github/ISSUE_TEMPLATE/request-svg.yml | 92 ++++++++++++++++++++++++++ 2 files changed, 92 insertions(+), 23 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/request-svg-.md create mode 100644 .github/ISSUE_TEMPLATE/request-svg.yml diff --git a/.github/ISSUE_TEMPLATE/request-svg-.md b/.github/ISSUE_TEMPLATE/request-svg-.md deleted file mode 100644 index 1e15060..0000000 --- a/.github/ISSUE_TEMPLATE/request-svg-.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: Request SVG. -about: Request an SVG here. -title: 'πŸ”” [Request]:' -labels: request ---- - -## πŸ”Ž Information: - -> **All fields are required**: - -- **Title**: -- **Category** ([check categories](https://github.com/pheralb/svgl/blob/main/src/types/categories.ts#L1)): -- **Source (.svg)** (type the link of the svg): -- **Company/Product Website**: - -## πŸ“ Checklist: - -> **Make sure that you have completed the following steps**: - -- [x] I have permission to use this logo. -- [x] The link I have provided is optimized for web use. -- [x] The size of the SVG is less than **20kb**. diff --git a/.github/ISSUE_TEMPLATE/request-svg.yml b/.github/ISSUE_TEMPLATE/request-svg.yml new file mode 100644 index 0000000..003af14 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/request-svg.yml @@ -0,0 +1,92 @@ +name: πŸ”” Request SVG +description: Request a new SVG icon to be added to the collection. +title: '[πŸ”” Request SVG]: ' +labels: [request] +body: + - type: markdown + attributes: + value: | + πŸ‘‹ Thanks for requesting a new SVG icon! Please fill out the form below to help us understand your request better: + + - type: input + id: svg-name + attributes: + label: Title + description: Product name, brand name. + placeholder: SVGL + validations: + required: true + + - type: input + id: svg-url + attributes: + label: SVG URL + description: The URL to the SVG file. + placeholder: https://website.com/logo.svg + validations: + required: true + + - type: input + id: svg-url-dark + attributes: + label: SVG Dark Mode URL (optional) + description: The URL to the SVG file for dark mode. + placeholder: https://website.com/logo-dark.svg + validations: + required: false + + - type: input + id: svg-product-url + attributes: + label: Product URL + description: The URL to the product or brand. + placeholder: https://website.com + validations: + required: true + + - type: dropdown + id: svg-category + attributes: + label: Category + description: Category/Categories of the product. If the category does not exist, select β€œOthers”. + multiple: true + options: + - AI + - Software + - Hardware + - Library + - Hosting + - Framework + - Devtool + - Monorepo + - CMS + - Database + - Compiler + - Crypto + - Cybersecurity + - Social + - Entertainment + - Browser + - Language + - Education + - Design + - Community + - Marketplace + - Music + - Vercel + - Google + - Payment + - void(0) + - Other + + - type: checkboxes + id: terms + attributes: + label: Checklist + options: + - label: I have permission to use this logo. + required: true + - label: The .svg URL I have provided is optimized for web use. + required: true + - label: The .svg size is less than **20kb**. + required: true