diff --git a/site/index.html b/site/index.html
index 187ee71..c77d49f 100644
--- a/site/index.html
+++ b/site/index.html
@@ -57,15 +57,51 @@
Real-time code sharing for your lectures and presentations
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
http://192.168.1.13
+
diff --git a/site/src/javascript/Demo.js b/site/src/javascript/Demo.js
index b391137..b4ade8d 100644
--- a/site/src/javascript/Demo.js
+++ b/site/src/javascript/Demo.js
@@ -72,6 +72,16 @@ export default class Demo
this.goStep(3)
}
+ if(this.speakerCurrentTime < 15.5 && this.$speakerVideo.currentTime >= 15.5)
+ {
+ this.goStep(4)
+ }
+
+ if(this.speakerCurrentTime < 17.5 && this.$speakerVideo.currentTime >= 17.5)
+ {
+ this.goStep(5)
+ }
+
this.speakerCurrentTime = this.$speakerVideo.currentTime
this.audienceCurrentTime = this.$audienceVideo.currentTime
}
diff --git a/site/src/style/header.styl b/site/src/style/header.styl
index da958b1..a239493 100644
--- a/site/src/style/header.styl
+++ b/site/src/style/header.styl
@@ -1,3 +1,6 @@
+random(min, max)
+ return math(0, 'random')*(max - min + 1) + min
+
section.header
height 940px
position relative
@@ -97,7 +100,6 @@ section.header
top -150px
left -245px
opacity 0
- overflow hidden
transition transform 0.75s, opacity 0.75s
will-change transform
@@ -120,12 +122,12 @@ section.header
left -245px
transform translateX(-120%)
opacity 0
- overflow hidden
transition transform 0.75s, opacity 0.75s
will-change transform
video
border-radius 5px
+
.icon
position absolute
left calc(50% - 20px)
@@ -166,6 +168,62 @@ section.header
transition transform 1s cubic-bezier(0.75, 0, 0.58, 1)
will-change transform
+ .bars
+ position absolute
+ top 0
+ left 0
+ opacity 0
+ transition opacity 0.5s
+ will-change opacity
+
+ .bar
+ position absolute
+ top 0
+ left 0
+ animation-name header-bar-translation
+ animation-iteration-count infinite
+ animation-timing-function linear
+ animation-play-state paused
+ will-change transform
+
+ &.color-1
+ background #a3d1c6
+
+ &.color-2
+ background #ffffff
+
+ &.color-3
+ background #e67553
+
+ &.color-4
+ background #fbfb8c
+
+ &.size-1
+ width 100px
+ height 5px
+
+ &.size-2
+ width 60px
+ height 3px
+
+ &.size-3
+ width 80px
+ height 4px
+
+ for $num in (0..50)
+ &.animation-{$num}
+ animation-duration unit(random(0.2, 0.5), 's')
+
+ for $num in (0..50)
+ &.pos-{$num}
+ top unit(random(-50, 50), 'px')
+
+ @keyframes header-bar-translation
+ 0%
+ transform translateX(200px)
+ 100%
+ transform translateX(-200px)
+
&.step-1
.speaker
opacity 1
@@ -184,6 +242,20 @@ section.header
opacity 1
transform translateX(-432px) translateY(-111px)
+ &.step-4
+ .bars
+ opacity 1
+
+ .bar
+ animation-play-state running
+
+ &.step-5
+ .bars
+ opacity 0
+
+ .bar
+ animation-play-state running
+
.get-started-button
position absolute
bottom 130px
diff --git a/site/static/svg/demo-speaker.svg b/site/static/svg/demo-speaker.svg
index 5b059e9..92343f6 100644
--- a/site/static/svg/demo-speaker.svg
+++ b/site/static/svg/demo-speaker.svg
@@ -1,14 +1,10 @@
-
-