From 8f137cf49d36c6e8afdcc7e0351f2756fd6d215a Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sat, 26 Nov 2022 18:16:34 -0800 Subject: [PATCH] Security notice (#767) Co-authored-by: triphora --- .github/ISSUE_TEMPLATE/bug_report.yaml | 41 --------- .github/ISSUE_TEMPLATE/config.yml | 8 -- .github/ISSUE_TEMPLATE/feature_request.yaml | 28 ------- layouts/default.vue | 7 +- pages/legal.vue | 5 ++ pages/legal/security.vue | 93 +++++++++++++++++++++ 6 files changed, 99 insertions(+), 83 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.yaml delete mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/feature_request.yaml create mode 100644 pages/legal/security.vue diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml deleted file mode 100644 index d3fe0627..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ /dev/null @@ -1,41 +0,0 @@ -name: Bug report -description: Create a report to help us improve knossos -labels: [bug] -body: - - type: dropdown - attributes: - label: Environment - options: - - Staging - - Website - validations: - required: false - - type: textarea - attributes: - label: Describe the bug - description: A clear and concise description of what the bug is. - validations: - required: false - - type: textarea - attributes: - label: Steps To Reproduce - description: Steps to reproduce the behavior. - placeholder: | - 1. Go to '...' - 2. Click on '....' - 3. Scroll down to '....' - 4. See error - validations: - required: false - - type: textarea - attributes: - label: Expected behavior - description: A clear and concise description of what you expected to happen. - validations: - required: false - - type: textarea - attributes: - label: Additional context - description: Add any other context about the problem here. - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 279a5cb7..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,8 +0,0 @@ -blank_issues_enabled: true -contact_links: - - name: Discord - about: Ask questions on our Discord Server. - url: https://discord.gg/EUHuJHt - - name: Documentation - about: Useful documentation about Modrinth, its API, and how you can contribute. - url: https://docs.modrinth.com diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml deleted file mode 100644 index 7e8fdb01..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Feature request -description: Suggest an idea for this project -labels: [feature request] -body: - - type: textarea - attributes: - label: Is your feature request related to a problem? Please describe. - description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - validations: - required: false - - type: textarea - attributes: - label: Describe the solution you'd like - description: A clear and concise description of what you want to happen. - validations: - required: false - - type: textarea - attributes: - label: Describe alternatives you've considered - description: A clear and concise description of any alternative solutions or features you've considered. - validations: - required: false - - type: textarea - attributes: - label: Additional context - description: Add any other context or screenshots about the feature request here. - validations: - required: false diff --git a/layouts/default.vue b/layouts/default.vue index 933cd45f..103922a6 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -340,12 +340,7 @@ Terms Privacy Rules - - License - + Security @@ -29,6 +32,7 @@ import NavStackItem from '~/components/ui/NavStackItem' import TermsIcon from '~/assets/images/utils/heart-handshake.svg?inline' import PrivacyIcon from '~/assets/images/utils/lock.svg?inline' import RulesIcon from '~/assets/images/sidebar/admin.svg?inline' +import ShieldIcon from '~/assets/images/utils/shield.svg?inline' export default { name: 'Settings', @@ -38,6 +42,7 @@ export default { TermsIcon, PrivacyIcon, RulesIcon, + ShieldIcon, }, } diff --git a/pages/legal/security.vue b/pages/legal/security.vue new file mode 100644 index 00000000..a9a33d71 --- /dev/null +++ b/pages/legal/security.vue @@ -0,0 +1,93 @@ + + + + +