-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/TCP-Tech/CodeUtsava7.0 into dev
- Loading branch information
Showing
13 changed files
with
833 additions
and
482 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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
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,34 @@ | ||
.vertical-timeline-element-content { | ||
background-color: #b079c11d !important; | ||
backdrop-filter: blur(10px) !important; | ||
box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.25), | ||
0 0.4em 1.25em 0 rgba(0, 0, 0, 0.15) !important; | ||
padding: 2em 3em !important; | ||
color: white !important; | ||
} | ||
|
||
|
||
#description { | ||
margin: 1.5em 0 2em 0; | ||
} | ||
|
||
.date{ | ||
font-size: 20px !important; | ||
color: white !important; | ||
} | ||
|
||
.button { | ||
text-decoration: none; | ||
padding: 0.5em 1em; | ||
border-radius: 5px; | ||
color: white; | ||
} | ||
|
||
@media only screen and (max-width: 1700px) { | ||
.vertical-timeline-element-date { | ||
display: block !important; | ||
float: none !important; | ||
color: rgb(44, 44, 44); | ||
margin-top: 1.5em; | ||
} | ||
} |
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,40 @@ | ||
import hackathonData from "../../assets/data/hackathonData"; | ||
import "./Timeline.css"; | ||
import { | ||
VerticalTimeline, | ||
VerticalTimelineElement, | ||
} from "react-vertical-timeline-component"; | ||
|
||
import "react-vertical-timeline-component/style.min.css"; | ||
|
||
import { ReactComponent as Ghost } from "../../assets/images/pumpkin.svg"; | ||
|
||
const Timeline = () => { | ||
return ( | ||
<div> | ||
<VerticalTimeline animate={true} lineColor="white"> | ||
{hackathonData.map((element) => { | ||
return ( | ||
<VerticalTimelineElement | ||
key={element.key} | ||
date={element.date} | ||
dateClassName="date" | ||
icon={<Ghost />} | ||
iconStyle={{backgroundColor: 'var(--secondary-c)'}} | ||
> | ||
<h3 className="vertical-timeline-element-title"> | ||
{element.id} {element.title} | ||
</h3> | ||
<h5 className="vertical-timeline-element-subtitle"> | ||
{element.location} | ||
</h5> | ||
<p id="description">{element.description}</p> | ||
</VerticalTimelineElement> | ||
); | ||
})} | ||
</VerticalTimeline> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Timeline; |
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
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