From f26e7d393d50983d681e3a1b1ea7b4a7f6aa076b Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Wed, 10 Jul 2024 12:37:11 +0300 Subject: [PATCH 1/7] add link to policy page --- assets/main.scss | 3 +++ components/modal.vue | 13 +++++++++++++ pages/policy.vue | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 pages/policy.vue diff --git a/assets/main.scss b/assets/main.scss index f8886a2..9e2a361 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -174,6 +174,9 @@ label { input { @apply bg-neutral-200 border border-gray-300 text-gray-900 rounded focus:ring-blue-500 focus:border-blue-500 text-lg p-2.5 disabled:cursor-not-allowed; } +input[type=checkbox] { + @apply w-4 h-4; +} textarea { @apply block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 max-w-full min-h-10 max-h-40; diff --git a/components/modal.vue b/components/modal.vue index eec4526..fab00a0 100644 --- a/components/modal.vue +++ b/components/modal.vue @@ -178,6 +178,14 @@ const modalStatus = { 'success': ["mdi:check-circle-outline", 'Данные отправлены'], 'error': ["mdi:close-circle-outline", 'Ошибка отправки'], } + +const policy = () => { + navigateTo('/policy', { + open: { + target: "_blank", + }, + }); +}