This commit is contained in:
2023-09-03 10:11:10 -05:00
parent 70b4c974da
commit a3af1de963
2 changed files with 13 additions and 82 deletions
+3 -18
View File
@@ -1,7 +1,6 @@
import React, { Component } from "react";
import backgroundVideo from "../assets/videos/video.mp4";
import "../assets/stylesheets/home.scss";
import { AnimationOnScroll } from "react-animation-on-scroll";
import Bubble from "./Bubble";
import * as Scroll from "react-scroll";
import "animate.css";
@@ -26,12 +25,12 @@ export default class Home extends Component {
<p>ILLINOIS TECH</p>
<p>ROBOTICS</p>
</label>
<button
{/* <button
className="home__content__panel__button"
onClick={this.scrollToContent}
>
⬇️
</button>
</button> */}
<video
autoPlay
playsInline
@@ -41,26 +40,12 @@ export default class Home extends Component {
muted
className="home__content__panel__video"
type="video/mp4"
src={backgroundVideo}
>
<source src={backgroundVideo} type="video/mp4" />
</video>
</div>
<div className="home__content__info">
<div className="home__content__info__image">
<AnimationOnScroll
className="home__content__info_join"
animateIn="animate__fadeInRight"
animateOnce="true"
duration={1}
delay={1200}
>
<img
src={require("../assets/pics/fenrir.png")}
alt="Fenrir"
></img>
</AnimationOnScroll>
</div>
<Bubble top="10vh" left="10vw" h1="Join us at our" h2="GBMs 🤝">
<span>
Welcome to the Illinois Tech Robotics Club! We are a student-run