diff --git a/packages/storyteller.io/package.json b/packages/storyteller.io/package.json index fb1822b66a..b10184ee45 100644 --- a/packages/storyteller.io/package.json +++ b/packages/storyteller.io/package.json @@ -29,6 +29,7 @@ "react-dom": "^16.13.1", "react-fast-marquee": "^1.3.5", "react-locomotive-scroll": "^0.2.2", + "react-parallax-tilt": "^1.7.110", "react-router-dom": "^5.2.0", "react-scripts": "5.0.0", "react-toastify": "^9.0.8", diff --git a/packages/storyteller.io/public/images/fakeyou-mascot.webp b/packages/storyteller.io/public/images/fakeyou-mascot.webp new file mode 100644 index 0000000000..88b20e42af Binary files /dev/null and b/packages/storyteller.io/public/images/fakeyou-mascot.webp differ diff --git a/packages/storyteller.io/public/images/powerstream-mascot.webp b/packages/storyteller.io/public/images/powerstream-mascot.webp new file mode 100644 index 0000000000..d40d32e075 Binary files /dev/null and b/packages/storyteller.io/public/images/powerstream-mascot.webp differ diff --git a/packages/storyteller.io/public/images/screenshots/fakeyou-screen.webp b/packages/storyteller.io/public/images/screenshots/fakeyou-screen.webp new file mode 100644 index 0000000000..6289aa7b61 Binary files /dev/null and b/packages/storyteller.io/public/images/screenshots/fakeyou-screen.webp differ diff --git a/packages/storyteller.io/public/images/screenshots/powerstream-screen.webp b/packages/storyteller.io/public/images/screenshots/powerstream-screen.webp new file mode 100644 index 0000000000..dce5319220 Binary files /dev/null and b/packages/storyteller.io/public/images/screenshots/powerstream-screen.webp differ diff --git a/packages/storyteller.io/public/images/team/bombay.png b/packages/storyteller.io/public/images/team/bombay.png deleted file mode 100644 index 8bf90c45dc..0000000000 Binary files a/packages/storyteller.io/public/images/team/bombay.png and /dev/null differ diff --git a/packages/storyteller.io/public/images/team/bombay.webp b/packages/storyteller.io/public/images/team/bombay.webp new file mode 100644 index 0000000000..bde2119ba6 Binary files /dev/null and b/packages/storyteller.io/public/images/team/bombay.webp differ diff --git a/packages/storyteller.io/public/images/team/paul.png b/packages/storyteller.io/public/images/team/paul.png deleted file mode 100644 index bb02bb7621..0000000000 Binary files a/packages/storyteller.io/public/images/team/paul.png and /dev/null differ diff --git a/packages/storyteller.io/public/images/team/paul.webp b/packages/storyteller.io/public/images/team/paul.webp new file mode 100644 index 0000000000..c51b88341f Binary files /dev/null and b/packages/storyteller.io/public/images/team/paul.webp differ diff --git a/packages/storyteller.io/src/App.scss b/packages/storyteller.io/src/App.scss index 033d272730..0e7415415e 100644 --- a/packages/storyteller.io/src/App.scss +++ b/packages/storyteller.io/src/App.scss @@ -35,7 +35,7 @@ h3 { p { font-size: 16px; - line-height: 28px; + line-height: 155%; opacity: 0.8; font-weight: 400; } @@ -1145,6 +1145,35 @@ span.swiper-pagination-bullet.swiper-pagination-bullet-active { line-height: 1.4; } +.img-layers { + display: flex; + position: relative; + + .img-front-right { + position: absolute; + max-width: 380px; + right: -14%; + bottom: 12%; + } + + .img-front-left { + position: absolute; + max-width: 380px; + left: -14%; + bottom: 12%; + } + + .img-back { + border-radius: 8px; + border: 2px solid; + border-color: rgba(#4d4d66, 0.25); + } + + .img-mascot { + filter: drop-shadow(0px 0px 50px rgba(0, 0, 0, 0.95)); + } +} + @media (max-width: 1199.98px) { .hero-img { transform: scale(0.85) !important; @@ -1229,6 +1258,22 @@ span.swiper-pagination-bullet.swiper-pagination-bullet-active { padding-top: 5rem; padding-bottom: 5rem; } + + .img-layers { + transform: scale(0.8); + + .img-front-right { + transform: scale(1.4); + bottom: 15%; + right: 0; + } + + .img-front-left { + transform: scale(1.4); + bottom: 15%; + left: 0; + } + } } @media (max-width: 767.98px) { @@ -1323,6 +1368,22 @@ span.swiper-pagination-bullet.swiper-pagination-bullet-active { .about-card { min-height: 120px; } + + .img-layers { + transform: scale(1); + + .img-front-right { + transform: scale(0.8); + bottom: 0; + right: -15%; + } + + .img-front-left { + transform: scale(0.8); + bottom: 0; + left: -15%; + } + } } #sub-title { diff --git a/packages/storyteller.io/src/pages/index/IndexPage.tsx b/packages/storyteller.io/src/pages/index/IndexPage.tsx index eaf8db2216..131535a380 100644 --- a/packages/storyteller.io/src/pages/index/IndexPage.tsx +++ b/packages/storyteller.io/src/pages/index/IndexPage.tsx @@ -34,6 +34,7 @@ import { Swiper, SwiperSlide } from "swiper/react"; import "swiper/css"; import "swiper/css/pagination"; import { Autoplay, Pagination } from "swiper"; +import Tilt from "react-parallax-tilt"; function IndexPage() { // Title Animation @@ -219,7 +220,8 @@ function IndexPage() { Be Your Own Hollywood
+
+
@@ -1063,7 +1080,7 @@ function IndexPage() {
diff --git a/yarn.lock b/yarn.lock
index 83ee8e73d8..9709daa61e 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3901,6 +3901,7 @@ __metadata:
dependencies:
craco: ^0.0.3
lerna: ^4.0.0
+ react-parallax-tilt: ^1.7.110
yarn: ^1.22.19
languageName: unknown
linkType: soft
@@ -16179,6 +16180,16 @@ __metadata:
languageName: node
linkType: hard
+"react-parallax-tilt@npm:^1.7.110":
+ version: 1.7.110
+ resolution: "react-parallax-tilt@npm:1.7.110"
+ peerDependencies:
+ react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
+ react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0
+ checksum: 74c28dfa77abb9bedde0f83b919e4f3f8694e66f5c90228bd5f72c05b128dedf06cbc3bd30461aa29c5a2139539977cc7628fa7b31ebdbfb536d8a666e8fd494
+ languageName: node
+ linkType: hard
+
"react-refresh@npm:^0.11.0":
version: 0.11.0
resolution: "react-refresh@npm:0.11.0"