From 1215a36be0a748f807fb69b9758faf00063b7cac Mon Sep 17 00:00:00 2001 From: samaradel Date: Sun, 4 Apr 2021 12:15:34 +0200 Subject: [PATCH] Make video pop up --- content/page/home/cta2/cta2.md | 15 ++-- src/components/custom/Modal.vue | 49 ++++++++++++ src/components/custom/Navbar/Navbar.vue | 4 +- .../custom/sections/CallToAction.vue | 79 +++++++++++++------ src/pages/Index.vue | 2 + 5 files changed, 114 insertions(+), 35 deletions(-) create mode 100644 src/components/custom/Modal.vue diff --git a/content/page/home/cta2/cta2.md b/content/page/home/cta2/cta2.md index 711a6a37e..b1ad137cf 100644 --- a/content/page/home/cta2/cta2.md +++ b/content/page/home/cta2/cta2.md @@ -1,13 +1,12 @@ --- id: home_cta2 -title: '' -button: Watch Our Video -link: https://vimeo.com/438190961 -button2: '' -link2: '' -button3: '' -link3: '' - +title: "" +video_button: Watch Our Video +video_link: https://player.vimeo.com/video/438190961 +button: "" +link: "" +button2: "" +link2: "" --- Get to know the ThreeFold vision better. diff --git a/src/components/custom/Modal.vue b/src/components/custom/Modal.vue new file mode 100644 index 000000000..562da14e6 --- /dev/null +++ b/src/components/custom/Modal.vue @@ -0,0 +1,49 @@ +