diff --git a/.htmlvalidate.json b/.htmlvalidate.json index 602cbbc..292b1fa 100644 --- a/.htmlvalidate.json +++ b/.htmlvalidate.json @@ -1,10 +1,13 @@ { "root": true, - "extends": ["html-validate:recommended"], + "extends": [], "rules": { - "require-meta-charset": "error", + "heading-level": "error", "require-img-alt": "error", - "no-inline-style": "error", - "long-title": ["error", { "maxLength": 60 }] + "element-permitted-content": "error", + "require-meta-title": "error", + "require-meta-description": "error", + "no-duplicate-id": "error", + "prefer-native-element": "error" } } diff --git a/assets/css/tailwind.css b/assets/css/tailwind.css index 66f3a69..8005403 100644 --- a/assets/css/tailwind.css +++ b/assets/css/tailwind.css @@ -23,20 +23,60 @@ } /* Кастомные классы шрифтов */ -.lato-thin { font-family: 'Lato', sans-serif; font-weight: 100; font-style: normal; } -.lato-light { font-family: 'Lato', sans-serif; font-weight: 300; font-style: normal; } -.lato-regular { font-family: 'Lato', sans-serif; font-weight: 400; font-style: normal; } -.lato-bold { font-family: 'Lato', sans-serif; font-weight: 700; font-style: normal; } -.lato-black { font-family: 'Lato', sans-serif; font-weight: 900; font-style: normal; } +.lato-thin { + font-family: 'Lato', sans-serif; + font-weight: 100; + font-style: normal; +} +.lato-light { + font-family: 'Lato', sans-serif; + font-weight: 300; + font-style: normal; +} +.lato-regular { + font-family: 'Lato', sans-serif; + font-weight: 400; + font-style: normal; +} +.lato-bold { + font-family: 'Lato', sans-serif; + font-weight: 700; + font-style: normal; +} +.lato-black { + font-family: 'Lato', sans-serif; + font-weight: 900; + font-style: normal; +} -.lato-thin-italic { font-family: 'Lato', sans-serif; font-weight: 100; font-style: italic; } -.lato-light-italic { font-family: 'Lato', sans-serif; font-weight: 300; font-style: italic; } -.lato-regular-italic { font-family: 'Lato', sans-serif; font-weight: 400; font-style: italic; } -.lato-bold-italic { font-family: 'Lato', sans-serif; font-weight: 700; font-style: italic; } -.lato-black-italic { font-family: 'Lato', sans-serif; font-weight: 900; font-style: italic; } +.lato-thin-italic { + font-family: 'Lato', sans-serif; + font-weight: 100; + font-style: italic; +} +.lato-light-italic { + font-family: 'Lato', sans-serif; + font-weight: 300; + font-style: italic; +} +.lato-regular-italic { + font-family: 'Lato', sans-serif; + font-weight: 400; + font-style: italic; +} +.lato-bold-italic { + font-family: 'Lato', sans-serif; + font-weight: 700; + font-style: italic; +} +.lato-black-italic { + font-family: 'Lato', sans-serif; + font-weight: 900; + font-style: italic; +} .russo-one-regular { font-family: 'Russo One', sans-serif; font-weight: 700; font-style: normal; -} \ No newline at end of file +} diff --git a/assets/img/png/footer-flowers-2.png b/assets/img/png/footer-flowers-2.png new file mode 100644 index 0000000..31da26b Binary files /dev/null and b/assets/img/png/footer-flowers-2.png differ diff --git a/assets/img/webp/footer-flowers-2.webp b/assets/img/webp/footer-flowers-2.webp new file mode 100644 index 0000000..fd9f349 Binary files /dev/null and b/assets/img/webp/footer-flowers-2.webp differ diff --git a/eslint.config.ts b/eslint.config.ts index 83db4c4..7c3bf6c 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -1,10 +1,7 @@ -import { globalIgnores } from "eslint/config"; -import { - defineConfigWithVueTs, - vueTsConfigs, -} from "@vue/eslint-config-typescript"; -import pluginVue from "eslint-plugin-vue"; -import skipFormatting from "@vue/eslint-config-prettier/skip-formatting"; +import { globalIgnores } from 'eslint/config' +import { defineConfigWithVueTs, vueTsConfigs } from '@vue/eslint-config-typescript' +import pluginVue from 'eslint-plugin-vue' +import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' // To allow more languages other than `ts` in `.vue` files, uncomment the following lines: // import { configureVueProject } from '@vue/eslint-config-typescript' @@ -13,23 +10,19 @@ import skipFormatting from "@vue/eslint-config-prettier/skip-formatting"; export default defineConfigWithVueTs( { - name: "app/files-to-lint", - files: ["**/*.{ts,mts,tsx,vue}"], + name: 'app/files-to-lint', + files: ['**/*.{ts,mts,tsx,vue}'], }, - globalIgnores([ - "**/dist/**", - "**/dist-ssr/**", - "**/coverage/**", - "./src/generated/**", - ]), + globalIgnores(['**/dist/**', '**/dist-ssr/**', '**/coverage/**', './src/generated/**']), - pluginVue.configs["flat/essential"], + pluginVue.configs['flat/essential'], vueTsConfigs.recommended, skipFormatting, { rules: { - "vue/multi-word-component-names": "off", + 'vue/multi-word-component-names': 'off', + 'vue/component-name-in-template-casing': ['error', 'PascalCase'], }, - } -); + }, +) diff --git a/layouts/default.vue b/layouts/default.vue index 3702102..2054930 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -1,6 +1,6 @@ diff --git a/public/img/svg/books/book-formats.svg b/public/img/svg/books/book-formats.svg index a15e1a1..0f49ad5 100644 --- a/public/img/svg/books/book-formats.svg +++ b/public/img/svg/books/book-formats.svg @@ -1,4 +1,4 @@ - - - + + + diff --git a/public/img/svg/books/book-illustrations.svg b/public/img/svg/books/book-illustrations.svg index 40d6e2b..dc28c6e 100644 --- a/public/img/svg/books/book-illustrations.svg +++ b/public/img/svg/books/book-illustrations.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/img/svg/books/book-pages.svg b/public/img/svg/books/book-pages.svg index ec9a0e9..d7f193c 100644 --- a/public/img/svg/books/book-pages.svg +++ b/public/img/svg/books/book-pages.svg @@ -1,12 +1,12 @@ - - - + + + - + - + diff --git a/public/img/svg/books/down2.svg b/public/img/svg/books/down2.svg index bac03c2..b0b9861 100644 --- a/public/img/svg/books/down2.svg +++ b/public/img/svg/books/down2.svg @@ -1,4 +1,11 @@ - + + + + + + + +