From 8faddb5017c18bd8584805907c1551840b94fcb9 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Wed, 29 Nov 2023 17:34:56 -0700 Subject: [PATCH] More knossos fixes (#163) * More knossos fixes * rev navrow changes * actually fix build * Fix image border radius * Remove non-shared utilities * remove another func --- docs/components/categories.md | 34 +--- docs/components/checkbox.md | 1 + docs/components/modal.md | 23 ++- docs/components/project-card.md | 231 ++------------------------ lib/assets/styles/classes.scss | 28 ++-- lib/assets/styles/defaults.scss | 12 ++ lib/assets/styles/variables.scss | 10 +- lib/components/base/Chips.vue | 88 +++++----- lib/components/base/DropArea.vue | 2 +- lib/components/base/FileInput.vue | 119 +++++++------ lib/components/base/PageBar.vue | 2 - lib/components/base/ProjectCard.vue | 3 +- lib/components/base/Toggle.vue | 37 ++--- lib/components/brand/AnimatedLogo.vue | 4 + lib/components/index.js | 1 - lib/components/modal/ReportModal.vue | 123 -------------- lib/components/nav/NavRow.vue | 140 +++++++--------- lib/components/search/Categories.vue | 4 +- lib/helpers/projects.js | 30 ---- lib/helpers/utils.js | 95 ----------- package.json | 2 +- 21 files changed, 255 insertions(+), 734 deletions(-) delete mode 100644 lib/components/modal/ReportModal.vue diff --git a/docs/components/categories.md b/docs/components/categories.md index 34e793066..d9e054e8e 100644 --- a/docs/components/categories.md +++ b/docs/components/categories.md @@ -2,22 +2,7 @@ @@ -25,22 +10,7 @@ ```vue diff --git a/docs/components/checkbox.md b/docs/components/checkbox.md index e81f1e265..ec3784bdc 100644 --- a/docs/components/checkbox.md +++ b/docs/components/checkbox.md @@ -8,6 +8,7 @@ const value = ref(false) Test +Value: {{ value }} ```vue diff --git a/docs/components/modal.md b/docs/components/modal.md index bd215fb9a..06369d291 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -2,14 +2,7 @@ :::raw - - - Show Modal - + + + ``` diff --git a/docs/components/project-card.md b/docs/components/project-card.md index f3ce61e7e..b0bc49dfd 100644 --- a/docs/components/project-card.md +++ b/docs/components/project-card.md @@ -13,22 +13,7 @@ follows="20" createdAt="2020-12-27T19:00:00.000Z" updatedAt="2021-01-01T19:00:00.000Z" - :categories="[{ - name: 'magic', - icon: '', - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['magic', 'utility', 'fabric', 'forge']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -48,22 +33,7 @@ follows="177" createdAt="2022-09-02T19:00:00.000Z" updatedAt="2023-02-18T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'management' - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['management', 'utility', 'fabric', 'forge']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="unsupported" @@ -83,26 +53,7 @@ follows="153" createdAt="2022-06-19T19:00:00.000Z" updatedAt="2023-03-03T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'adventure' - }, - { - icon: '', - name: 'technology' - }, - { - icon: '', - name: 'worldgen' - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -126,22 +77,7 @@ follows="20" createdAt="2020-12-27T19:00:00.000Z" updatedAt="2021-01-01T19:00:00.000Z" - :categories="[{ - name: 'magic', - icon: '', - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -161,22 +97,7 @@ follows="177" createdAt="2022-09-02T19:00:00.000Z" updatedAt="2023-02-18T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'management' - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="unsupported" @@ -196,26 +117,7 @@ follows="153" createdAt="2022-06-19T19:00:00.000Z" updatedAt="2023-03-03T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'adventure' - }, - { - icon: '', - name: 'technology' - }, - { - icon: '', - name: 'worldgen' - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -228,7 +130,7 @@