From dcf953862cb52399e637930af8da796dc7aa6ac3 Mon Sep 17 00:00:00 2001 From: Diex5 Date: Fri, 27 Sep 2024 12:14:49 +0200 Subject: [PATCH] feat: feedback changes part 1 --- components/Card.vue | 20 +++++++++++++++---- components/CategorySelectBox.vue | 3 +++ components/Footer.vue | 1 + .../Project/Create/Categories/BasicInfo.vue | 2 ++ .../Project/Create/Categories/Technology.vue | 15 +++++++------- .../Create/Components/CategoryDivider.vue | 1 + .../Project/Create/Components/SelectChips.vue | 3 ++- .../Project/ProjectDetailCategoryDivider.vue | 4 ++-- components/Project/ProjectGridGroup.vue | 6 ++++-- components/Project/ProjectGridGroupSort.vue | 7 +++++++ components/Project/ProjectHeading.vue | 14 +++++++++---- components/Project/ProjectOpeness.vue | 19 +++++++++++++----- components/Project/ProjectRatingInfo.vue | 2 +- components/Project/ProjectSecurityAudit.vue | 1 + components/SearchBox.vue | 2 ++ components/SortSelectBox.vue | 4 ++-- layouts/default.vue | 13 ++++++++++++ layouts/detail.vue | 8 +++++++- pages/project/[id]/edit.vue | 16 +++++++-------- pages/project/[id]/index.vue | 5 ++++- unocss.config.ts | 8 +++++++- 21 files changed, 115 insertions(+), 39 deletions(-) diff --git a/components/Card.vue b/components/Card.vue index 81528d6..462a1ad 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -81,6 +81,8 @@ const projectItems: { label: string | string[], type: string, rating?: ProjectRa text-12px leading-16px lg:hidden + md:opacuty-100 + opacity-70 > {{ project.usecases?.join(', ') }}

@@ -118,8 +120,11 @@ const projectItems: { label: string | string[], type: string, rating?: ProjectRa > + @@ -189,7 +198,10 @@ const projectItems: { label: string | string[], type: string, rating?: ProjectRa
{{ isOptionSelected?.label }}
diff --git a/components/Project/Create/Categories/BasicInfo.vue b/components/Project/Create/Categories/BasicInfo.vue index 9e43f78..7aa0045 100644 --- a/components/Project/Create/Categories/BasicInfo.vue +++ b/components/Project/Create/Categories/BasicInfo.vue @@ -98,6 +98,8 @@ defineExpose({ +
- +
props.group.projects.slice(0, shownProjectsCount.value)) @@ -41,7 +41,7 @@ const shownProjects = computed(() => props.group.projects.slice(0, shownProjects />
diff --git a/components/Project/ProjectRatingInfo.vue b/components/Project/ProjectRatingInfo.vue index cd90b0c..c079679 100644 --- a/components/Project/ProjectRatingInfo.vue +++ b/components/Project/ProjectRatingInfo.vue @@ -32,7 +32,7 @@ withDefaults(defineProps<{ items: ProjectRatingItem[], compact?: boolean }>(), { >
{{ item.label }} diff --git a/components/Project/ProjectSecurityAudit.vue b/components/Project/ProjectSecurityAudit.vue index c74e18c..a1f189a 100644 --- a/components/Project/ProjectSecurityAudit.vue +++ b/components/Project/ProjectSecurityAudit.vue @@ -16,6 +16,7 @@ defineProps<{ py-12px px-16px bg-app-bg-audits-card + hover="brightness-120%" >
  • {
    +
    { flex items-center gap-16px + relative overflow-x-auto pb-274px mb--250px diff --git a/layouts/detail.vue b/layouts/detail.vue index 639cdb2..9d16f9e 100644 --- a/layouts/detail.vue +++ b/layouts/detail.vue @@ -18,6 +18,12 @@ watch(y, (newY, oldY) => { w-full > - +
    + +
    diff --git a/pages/project/[id]/edit.vue b/pages/project/[id]/edit.vue index 11191de..6899139 100644 --- a/pages/project/[id]/edit.vue +++ b/pages/project/[id]/edit.vue @@ -274,7 +274,7 @@ const transitionDone = ref(false) :model-value="selectedTab" label="Choose category" :options="tabs.map(t => ({ label: t.label, value: t.value }))" - :border-opacity="30" + :border-opacity="100" w-full lg:hidden block @@ -299,13 +299,13 @@ const transitionDone = ref(false)
    diff --git a/unocss.config.ts b/unocss.config.ts index aea79c1..32c4b02 100644 --- a/unocss.config.ts +++ b/unocss.config.ts @@ -10,7 +10,7 @@ import { collections } from './unocss.config.collections' export default defineConfig({ shortcuts: [ { - 'app-container': 'px-12px sm:px-1.5rem max-w-1400px m-auto w-full', + 'app-container': 'px-12px sm:px-1.5rem max-w-1140px 2xl:max-w-1400px m-auto w-full', 'custom-link': 'text-app-text-grey hover:underline underline-offset-4px text-18px font-400 leading-32px cursor-pointer', }, { @@ -41,6 +41,12 @@ export default defineConfig({ }), ], theme: { + extend: { + screens: { + '2xl': '1600px', + }, + + }, colors: { app: { white: '#fff',