From 99a8b42924c9cfeb83b834974c2702c41e4d0891 Mon Sep 17 00:00:00 2001 From: Hugo Averty Date: Wed, 24 Jun 2020 15:42:44 +0200 Subject: [PATCH] Adding gif and modifying text --- website/dist/index.html | 42 +++++++++++------------------------- website/src/sass/styles.scss | 16 +++++++++++++- 2 files changed, 27 insertions(+), 31 deletions(-) diff --git a/website/dist/index.html b/website/dist/index.html index d8ea8921..0e0186ed 100644 --- a/website/dist/index.html +++ b/website/dist/index.html @@ -132,23 +132,21 @@ -
+
-

Hello World !

-

I'm Leymah of WorkAdventure.

-

During COVID-19, we were missing our office…

+

WorkAdventure is a video-conference application that lets people hold multiple parallel conversations in a virtual universe.

+

Walk in, out, speak to anyone just like in real-life!

-
-
-

So our team of developer decided to build a platform so we can be together..

-

This is how I was born.

+
+
+
-
+
-

With WorkAdventure, you can meet people and discuss with them.

-

To try, press button public mode

+

Remote work? Friend party? Use WorkAdventure as you prefer.

+

Click the button below to come and say hi!

START IN PUBLIC MODE @@ -224,7 +222,7 @@ document.getElementById("leymah").src = charStaticImage; } }) - .to(".bubble-1", { + .to(".bubble-1, .bubble-thinking", { opacity: 1, y: 0 }) @@ -237,23 +235,7 @@ document.getElementById("leymah").src = charStaticImage; } }) - .to(".bubble-1", { - opacity: 0 - }) - .to(".bubble-2", { - opacity: 1, - y: 0 - }) - .to(".story-1", { - x: -maxImageTranslateValue * (3/bubbleNumber), - onStart: function() { - document.getElementById("leymah").src = charWalkToRightImage; - }, - onComplete: function() { - document.getElementById("leymah").src = charStaticImage; - } - }) - .to(".bubble-2", { + .to(".bubble-1, .bubble-thinking", { opacity: 0 }) .to(".bubble-3", { @@ -277,7 +259,7 @@ y: 0 }) .to(".character, .bubble-4", { - x: "51vw", + x: "53vw", onStart: function() { document.getElementById("leymah").src = "static/images/story/character-walk-right.gif"; }, diff --git a/website/src/sass/styles.scss b/website/src/sass/styles.scss index 2b8d81dd..cd7efe91 100644 --- a/website/src/sass/styles.scss +++ b/website/src/sass/styles.scss @@ -318,7 +318,7 @@ img{ padding: 5px; background: black; transform: translateY(25px); - & > div { + & > div:not(.demo-gif) { padding: 15px 15px 30px; position: relative; width: 100%; @@ -346,6 +346,20 @@ img{ } } + &.bubble-thinking { + background: url(../images/story/thinking.png) no-repeat bottom right; + left: -406px; + & > .demo-gif { + width: 241px; + border-radius: 15px; + img { + width: calc(100% + 1px); + border-radius: 16px; + margin-top: -1px; + margin-left: -1px; + } + } + } &.b-revert { left: -363px; & > div:before {