From 45bbcaaac55865603912c26af85b8c59e9dce16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Viricel?= Date: Tue, 3 Nov 2020 19:15:07 +0100 Subject: [PATCH 1/4] WL-31 - Pass title as props on Hero component --- components/Hero.vue | 62 +++++++++++++++++++++++++++++++++++++++++++-- pages/index.vue | 2 +- test/Hero.spec.js | 27 ++++++++++++++++++++ 3 files changed, 88 insertions(+), 3 deletions(-) create mode 100644 test/Hero.spec.js diff --git a/components/Hero.vue b/components/Hero.vue index d8bafbd..03c4387 100644 --- a/components/Hero.vue +++ b/components/Hero.vue @@ -6,9 +6,33 @@ class="rounded-3xl bg-white w-3/4 sm:w-1/2 max-w-lg mx-auto p-6 shadow-xl text-center" > + + + +

- wazo-lab.io + {{ title }}

+ +