From d71c521ce33e4050e7cf27e8c18ea2292e5ba714 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Sun, 26 May 2019 21:09:44 +0200 Subject: [PATCH] Home now has a upload button and removed color name for dayelement --- src/components/Home.vue | 33 +++++++++++++++++++++++--- src/components/calendar/DayElement.vue | 2 +- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/src/components/Home.vue b/src/components/Home.vue index 696b26a..39a9ab1 100644 --- a/src/components/Home.vue +++ b/src/components/Home.vue @@ -5,15 +5,22 @@

Han har ikke hatt nok etter 60 år!

{{ date }} -->
Leifs opplevelser 2019
- + - + + + +
+

Legg til en ny opplevelse +

+
-
+
@@ -77,6 +84,26 @@ export default { } } + .add-adventure { + width: 85vw; + border: 2px solid #cb0b0b; + border-radius: 6px; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + + &__text { + text-align: center; + margin: 1.2rem 1rem; + + @media screen and (max-width: 400px) { + font-size: 1.6rem; + } + } + } + h2 { text-align: center; font-weight: normal; diff --git a/src/components/calendar/DayElement.vue b/src/components/calendar/DayElement.vue index 6f9a77c..ef87f9c 100644 --- a/src/components/calendar/DayElement.vue +++ b/src/components/calendar/DayElement.vue @@ -9,7 +9,7 @@
- {{ eventColors[index] + event.title }} + {{ event.title }}