From 770efe1645cd9f2a688a7970ed966dd4d1130239 Mon Sep 17 00:00:00 2001 From: Aleksandr Dergunov Date: Tue, 20 Jul 2021 00:56:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BD=D0=B5=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=80=D0=B5=D1=84=D0=B0=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B8=D0=BD=D0=B3=20+=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/main.css | 37 +- components/PageForm.vue | 112 +- components/TheHeader.vue | 9 - layouts/error.vue | 2 +- nuxt.config.js | 8 +- package-lock.json | 4964 ++++++++++++++++++++------------------ package.json | 18 +- pages/page/_url.vue | 2 +- 8 files changed, 2687 insertions(+), 2465 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 566a830..b52e261 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -14,7 +14,42 @@ main { } button { - margin-top: 16px; padding: 8px; cursor: pointer; } + +header { + display: flex; + justify-content: space-between; + align-items: center; + background-color: #eee; + padding: 20px; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; +} + +nav a { + margin-right: 8px; +} + +.form { + width: 600px; +} + +.form-element { + display: flex; + flex-direction: column; + margin: 16px 0; +} + +.form-element input, +.form-element textarea { + margin-top: 4px; + padding: 8px; + border: 1px solid #ccc; + border-radius: 4px; +} diff --git a/components/PageForm.vue b/components/PageForm.vue index bfc5c10..e2e854f 100644 --- a/components/PageForm.vue +++ b/components/PageForm.vue @@ -1,24 +1,8 @@ - - diff --git a/layouts/error.vue b/layouts/error.vue index 859eb0a..be8844d 100644 --- a/layouts/error.vue +++ b/layouts/error.vue @@ -7,7 +7,7 @@