-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from IITI-Gymkhana-Web-Team/restoration
Restoration
- Loading branch information
Showing
8 changed files
with
258 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
.embed-video { | ||
margin-top: 3rem; | ||
margin-bottom: 5rem; | ||
} | ||
.embed-video-content { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: fit-content; | ||
word-wrap: break-word; | ||
height: 100%; | ||
font-family: "Titillium Web", sans-serif, Source Sans Pro, Helvetica Neue, | ||
Helvetica, Arial, sans-serif; | ||
} | ||
.embed-video-title { | ||
font-size: 3rem; | ||
color: rgb(2, 2, 2); | ||
font-weight: 400; | ||
text-align: left; | ||
padding-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
.embed-video-text { | ||
color: #585858; | ||
text-align: justify; | ||
font-size: 18px; | ||
} | ||
.embed-video-btn:hover, | ||
.embed-video-btn:active, | ||
.embed-video-btn:visited { | ||
background-color: #efefef !important; | ||
} | ||
.embed-video-content hr { | ||
padding-top: 0; | ||
margin-top: 0px; | ||
border: 0; | ||
height: 5px; | ||
width: 40%; | ||
background-image: linear-gradient( | ||
to right, | ||
rgba(0, 0, 0, 0), | ||
rgba(0, 0, 0, 0.75), | ||
rgba(0, 0, 0, 0) | ||
); | ||
} | ||
.video-responsive { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100%; | ||
} | ||
|
||
@media only screen and (max-width: 992px) { | ||
.embed-video-content { | ||
margin-bottom: 1rem; | ||
} | ||
.embed-video.row { | ||
margin: 3rem; | ||
} | ||
.embed-video-div { | ||
height: 400px; | ||
} | ||
.embed-video-text { | ||
text-align: center; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import React from "react"; | ||
import { Col, Row } from "react-bootstrap"; | ||
import { Link } from "react-router-dom"; | ||
import "./EmbedVideo.css"; | ||
|
||
const EmbedVideo = () => { | ||
return ( | ||
<Row className="embed-video"> | ||
<Col md="12" lg="5"> | ||
<div className="embed-video-content"> | ||
<p className="embed-video-title text-center"> | ||
About <span style={{ color: "#3668dd" }}>IIT Indore</span> | ||
</p> | ||
<hr /> | ||
<p className="embed-video-text"> | ||
Indian Institute of Technology Indore, located in Madhya Pradesh, | ||
known as IIT Indore or IITI, is an institute of national importance | ||
established by the Government of India in 2009. | ||
<br /> Over the last eight years, our graduating students have been | ||
engaged with the best corporations in India and worldwide, across | ||
different verticals. Many have also chosen the less-traveled path of | ||
entrepreneurship. It is indeed a proud moment for us when our | ||
students contribute to society by creating jobs and changing lives. | ||
Along with their researchers in the last decade, our faculty | ||
colleagues have also shown immense perseverance to attain new | ||
heights of excellence. | ||
</p> | ||
<Link | ||
to="/Aboutiiti" | ||
className="embed-video-btn btn btn-outline-secondary" | ||
> | ||
Read More | ||
</Link> | ||
</div> | ||
</Col> | ||
<Col md="12" lg="5" className="embed-video-div"> | ||
<div className="video-responsive"> | ||
<iframe | ||
width="100%" | ||
height="100%" | ||
src="https://www.youtube.com/embed/Thjsxz31rRk" | ||
title="YouTube video player" | ||
frameborder="0" | ||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" | ||
allowfullscreen | ||
></iframe> | ||
</div> | ||
</Col> | ||
</Row> | ||
); | ||
}; | ||
|
||
export default EmbedVideo; |
Oops, something went wrong.