Skip to content

Commit

Permalink
landing page: remove video animation ; remove unnecessary images
Browse files Browse the repository at this point in the history
  • Loading branch information
roienatan committed Oct 24, 2023
1 parent 66b5442 commit 740de9d
Show file tree
Hide file tree
Showing 18 changed files with 3 additions and 52 deletions.
26 changes: 0 additions & 26 deletions public/assets/images/apps-qr.svg

This file was deleted.

Binary file removed public/assets/images/iphone-full-1.png
Binary file not shown.
Binary file removed public/assets/images/iphone-full-2.png
Binary file not shown.
Binary file removed public/assets/images/iphone-full-3.png
Binary file not shown.
Binary file removed public/assets/images/iphone-half-1.png
Binary file not shown.
Binary file removed public/assets/images/iphone-half-2.png
Binary file not shown.
Binary file removed public/assets/images/iphone-half-3.png
Binary file not shown.
Binary file removed public/assets/images/iphone-half-desktop.png
Binary file not shown.
Binary file removed public/assets/images/iphone-half-mobile.png
Binary file not shown.
Binary file removed public/assets/images/join-mobile.jpg
Binary file not shown.
Binary file removed public/assets/images/join.jpg
Binary file not shown.
File renamed without changes
Binary file removed public/assets/images/main-landing-image-1.jpg
Binary file not shown.
Binary file removed public/assets/images/main-landing-image-2.jpg
Binary file not shown.
Binary file removed public/assets/images/main-landing-image-3.jpg
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React, { FC } from "react";
import { useTranslation } from "react-i18next";
import landingVideoPosterSrc from "@/shared/assets/images/landing-video-poster.jpeg";
import landingVideoSrc from "@/shared/assets/videos/landing-video.mp4";
import { Button, ButtonVariant } from "@/shared/ui-kit";
import "./index.scss";

Expand All @@ -16,19 +14,6 @@ const VideoSection: FC<VideoSectionProps> = ({ onLaunchClick }) => {

return (
<section className="landing-video-section">
<div className="landing-video-section__video-wrapper">
<video
className="landing-video-section__video"
autoPlay
loop
muted
playsInline
poster={landingVideoPosterSrc}
preload="auto"
>
<source src={landingVideoSrc} type="video/mp4" />
</video>
</div>
<div className="landing-video-section__main-info">
<h1 className="landing-video-section__main-info-title">
{t("videoSection.title.part1")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,11 @@ $viewport-breakpoint: 1000px;

.landing-video-section {
position: relative;
}

.landing-video-section__video-wrapper {
display: flex;
justify-content: center;
align-items: center;
opacity: 0.8;
}

.landing-video-section__video {
background-image: url("/assets/images/landing-poster.jpeg");
background-size: cover;
background-position: center;
width: 100%;
height: 37.125rem;
object-fit: cover;
}

.landing-video-section__main-info {
Expand Down
Binary file removed src/shared/assets/videos/landing-video.mp4
Binary file not shown.

0 comments on commit 740de9d

Please sign in to comment.