From 9642cdc906f4b5319573c1e99890a1a17c707774 Mon Sep 17 00:00:00 2001 From: lesion Date: Tue, 16 Aug 2022 00:57:18 +0200 Subject: [PATCH] sembra bene --- app/router.options.js | 3 +++ components.d.ts | 6 ++++++ components/cosetta.vue | 6 +++--- components/hero.vue | 4 +--- package.json | 1 + pages/index.vue | 47 ++++++++++++++++++++++++------------------ server/api/cosette.js | 4 +++- server/controller.js | 16 ++++++++++---- tailwind.config.js | 5 ++++- yarn.lock | 5 +++++ 10 files changed, 65 insertions(+), 32 deletions(-) create mode 100644 app/router.options.js diff --git a/app/router.options.js b/app/router.options.js new file mode 100644 index 0000000..0e0791e --- /dev/null +++ b/app/router.options.js @@ -0,0 +1,3 @@ +export default { + scrollBehavior: () => ({ left: 0, top: 0, behavior: 'smooth' }) +} \ No newline at end of file diff --git a/components.d.ts b/components.d.ts index 22693f2..7c6f2dd 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,6 +8,12 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { 'IconIc:baselineAdd': typeof import('~icons/ic/baseline-add')['default'] + 'IconIc:baselineArrow': typeof import('~icons/ic/baseline-arrow')['default'] + 'IconIc:baselineArrowLeft': typeof import('~icons/ic/baseline-arrow-left')['default'] + 'IconIc:baselineChevronLeft': typeof import('~icons/ic/baseline-chevron-left')['default'] + 'IconIc:baselineChevronPrev': typeof import('~icons/ic/baseline-chevron-prev')['default'] + 'IconIc:baselineChevronRight': typeof import('~icons/ic/baseline-chevron-right')['default'] + 'IconIc:baselineNext': typeof import('~icons/ic/baseline-next')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/components/cosetta.vue b/components/cosetta.vue index 6df6160..7ffd95b 100644 --- a/components/cosetta.vue +++ b/components/cosetta.vue @@ -8,12 +8,12 @@ const { cosetta } = defineProps({