diff --git a/content/home/index.md b/content/home/index.md index 8baf63a..7fd2b7e 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -9,19 +9,7 @@ weight: 1 -{% row(style="center" margin="tight" bgPath="img/freeflow_header_home4.jpeg" bgStyle="full") %} - -
- -# FreeFlow Nation - -
- -A complementary digital "nation" which flows freely across physical borders welcoming as digital citizens all those who dream of a better world and are ready to act. - -
- -{% end %} +{{ video(video="./video/evening.mp4", autoplay=true, class="vimeo") }}
diff --git a/content/home/video/evening.mp4 b/content/home/video/evening.mp4 new file mode 100644 index 0000000..3e2ec56 Binary files /dev/null and b/content/home/video/evening.mp4 differ diff --git a/css/index.css b/css/index.css index 12232bb..4a02ce2 100644 --- a/css/index.css +++ b/css/index.css @@ -387,4 +387,37 @@ header #menu button, #info-menu button, #info-mobile-menu button{ header #menu button a{ @apply px-0 +} + +.video-wrapper { + position: relative; + width: 100%; + height: 100vh; + overflow: hidden; + z-index: 9; +} +video { + position: absolute; + top: 0; + right: 0; + min-width: 100%; + min-height: 100%; +} +.layer { + display: flex; + justify-content: center; + align-items: center; + text-align: center; + position: absolute; + height: 100%; + width: 100%; + top: 0; + right: 0; + z-index: 40; + background-color: black; + opacity: .5; +} +.content { + background: rgba(0, 0, 0, 0.5); + color: #f1f1f1; } \ No newline at end of file diff --git a/static/video/evening.mp4 b/static/video/evening.mp4 new file mode 100644 index 0000000..3e2ec56 Binary files /dev/null and b/static/video/evening.mp4 differ diff --git a/templates/shortcodes/video.html b/templates/shortcodes/video.html new file mode 100644 index 0000000..d284498 --- /dev/null +++ b/templates/shortcodes/video.html @@ -0,0 +1,19 @@ +
+ +
+
+

FreeFlow Nation

+

+ A complementary digital "nation" which flows freely across physical borders welcoming as digital citizens all those who dream of a better world and are ready to act. +

+
+
+