From 94d008ca7d7d5dcd2db15acfcf5991d8a11de394 Mon Sep 17 00:00:00 2001 From: koziavin Date: Fri, 20 Jun 2025 12:21:00 +0400 Subject: [PATCH] add html-validator + fix html ceo code --- app.vue | 4 +- components/UiButton/UiButton.params.ts | 26 +-- components/UiButton/UiButton.vue | 29 +-- config/head.ts | 28 +++ config/index.ts | 6 +- config/modules.ts | 1 + eslint.config.ts | 7 +- nuxt.config.ts | 16 ++ package-lock.json | 170 +++++++++++++++++- package.json | 1 + pages/books/[slug].vue | 25 +-- pages/books/[titlesSlug]/[titlesSlug].vue | 2 +- .../_ui/feedbackSection/feedbackSection.vue | 36 ++-- .../index/_ui/forYouSection/forYouSection.vue | 32 ++-- pages/index/_ui/heroBanner/heroBanner.vue | 9 +- .../youNotAloneSection/youNotAloneSection.vue | 35 ++-- pages/privacy/index.vue | 14 +- 17 files changed, 318 insertions(+), 123 deletions(-) create mode 100644 config/head.ts diff --git a/app.vue b/app.vue index c4900da..96d12d2 100644 --- a/app.vue +++ b/app.vue @@ -1,6 +1,6 @@ diff --git a/components/UiButton/UiButton.params.ts b/components/UiButton/UiButton.params.ts index 4ee790f..e122ddd 100644 --- a/components/UiButton/UiButton.params.ts +++ b/components/UiButton/UiButton.params.ts @@ -1,13 +1,17 @@ export const colorVariants = { - primary: ['bg-accent-50', 'text-primary', 'hover:bg-accent-100', 'active:bg-accent-150'], - secondary: [ - 'bg-transparent', - 'text-primary', - 'hover:bg-accent-50', - 'border-accent-50', - 'border', - 'hover:bg-accent-100', - 'active:bg-accent-150', - 'cursor-pointer', + primary: [ + "bg-accent-50", + "text-primary", + "hover:bg-accent-100", + "active:bg-accent-150", ], -} + secondary: [ + "bg-transparent", + "text-primary", + "hover:bg-accent-50", + "border-accent-50", + "border", + "hover:bg-accent-100", + "active:bg-accent-150", + ], +}; diff --git a/components/UiButton/UiButton.vue b/components/UiButton/UiButton.vue index 37c8a4e..a2a4bee 100644 --- a/components/UiButton/UiButton.vue +++ b/components/UiButton/UiButton.vue @@ -1,6 +1,7 @@