diff --git a/_includes/countdown.html b/_includes/countdown.html new file mode 100644 index 0000000..02fd662 --- /dev/null +++ b/_includes/countdown.html @@ -0,0 +1,105 @@ +
+
+
+
Months
+
+
+
+
+ +
+
Days
+
+
+
+
+ +
+
Hours
+
+
+
+
+ +
+
Minutes
+
+
+
+
+ +
+
Seconds
+
+
+
+
+
+ +
+ Join the Waiting List +
+
+
+ + + +
+
+
+ + diff --git a/_includes/modal-after-conf-videos.html b/_includes/modal-after-conf-videos.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/modal-call-for-talks-link.html b/_includes/modal-call-for-talks-link.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/modal-newsletter.html b/_includes/modal-newsletter.html new file mode 100644 index 0000000..bc1874b --- /dev/null +++ b/_includes/modal-newsletter.html @@ -0,0 +1,13 @@ +

NEWSLETTER

+

Subscribe to the newsletter

+
+ +
diff --git a/_includes/modal-waitlist.html b/_includes/modal-waitlist.html new file mode 100644 index 0000000..e69de29 diff --git a/_includes/modal.html b/_includes/modal.html new file mode 100644 index 0000000..602ec57 --- /dev/null +++ b/_includes/modal.html @@ -0,0 +1,49 @@ + + + + + diff --git a/_sass/_countdown.scss b/_sass/_countdown.scss new file mode 100644 index 0000000..d5e5d0d --- /dev/null +++ b/_sass/_countdown.scss @@ -0,0 +1,113 @@ +.countdown-container { + background-color: #1df5ff; + border-radius: 8px; + display: flex; + flex-wrap: wrap; + font-family: "Montserrat", sans-serif; + padding: 14px 14px 14px 14px; + position: fixed; + max-width: 360px; + left: 16px; + right: 16px; + bottom: 20px; + z-index: 999; + @media only screen and (min-width: 415px) { + left: unset; + } + @media only screen and (min-width: 768px) { + align-items: center; + left: auto; + right: 16px; + flex-wrap: nowrap; + max-width: none; + padding: 14px 17px; + } + + .dismiss-container { + display: flex; + justify-content: flex-end; + width: 100%; + + @media only screen and (min-width: 768px) { + width: 0; + // justify-content: flex-start; + } + .countdown-dismiss { + align-items: center; + display: flex; + background-color: white; + cursor: pointer; + justify-content: center; + border-radius: 50%; + height: 35px; + margin: -168px -26px 0 0; + padding: 8px; + position: absolute; + width: 35px; + @media only screen and (min-width: 768px) { + margin: -64px -24px 0 0; + } + .dismiss-icon { + height: 30px; + } + } + } + .countdown-row { + display: flex; + margin-bottom: 14px; + justify-content: space-between; + max-width: 360px; + width: 100%; + @media only screen and (min-width: 768px) { + margin-bottom: 0; + width: 299px; + } + .countdown-content { + width: 54px; + + .countdown-title { + color: #020002; + font-size: 12px; + margin-bottom: 8px; + @media only screen and (min-width: 768px) { + font-weight: 600; + margin-bottom: 6px; + } + } + .countdown-square { + align-items: center; + background-color: white; + border-radius: 4px; + color: #020002; + display: flex; + height: 50px; + font-weight: bold; + justify-content: center; + font-size: 18px; + } + } + } + + .countdown-cta-container { + width: 100%; + @media only screen and (min-width: 768px) { + width: unset; + padding: 20px 0 0 12px; + } + .countdown-cta-button { + align-items: center; + background: none; + color: #ffffff; + border-radius: 0.3em; + background-color: #020002; + display: flex; + justify-content: center; + font-size: 1.3em; + font-weight: 500; + letter-spacing: 0.16em; + padding: 0.5em 2.7em; + text-transform: uppercase; + white-space: nowrap; + } + } +} diff --git a/_sass/modal.scss b/_sass/modal.scss new file mode 100644 index 0000000..6bc2eca --- /dev/null +++ b/_sass/modal.scss @@ -0,0 +1,42 @@ +/* Modal styles */ +.modal { + display: none; /* Hidden by default */ + position: fixed; /* Stay in place */ + z-index: 999; /* Sit on top */ + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; /* Enable scroll if needed */ + background-color: rgba(0, 0, 0, 0.4); /* Black with transparency */ + z-index: 9999; +} + +.modal-content { + background-color: #020002; + margin: 10% auto; /* Center vertically and horizontally */ + padding: 20px; + width: 80%; + max-width: 500px; + .title { + color: white; + font-weight: bold; + margin-top: 10px; + margin-bottom: 8px; + } +} + +.close { + color: #888; + float: right; + font-size: 28px; + font-weight: bold; + cursor: pointer; +} + +.close:hover, +.close:focus { + color: #000; + text-decoration: none; + cursor: pointer; +} diff --git a/assets/css/styles.scss b/assets/css/styles.scss index 03413d3..98450f9 100644 --- a/assets/css/styles.scss +++ b/assets/css/styles.scss @@ -19,6 +19,8 @@ @import "post"; @import "video"; @import "hotels"; +@import "countdown"; +@import "modal"; @import "_animations"; @import "_owl-carousel"; diff --git a/index.html b/index.html index 1be271e..bd61db5 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,10 @@ --- {% include cover.html %} +{% comment %} {% include countdown.html %} {% endcomment %} + +{% comment %} {% include modal.html %} {% endcomment %} + {% include banner-2.html %} {% include welcome.html %}