This repository has been archived by the owner on May 12, 2024. It is now read-only.
generated from CodeChefVIT/template
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Gaurav-Choudhary2113/master
feat: timeline page and scrollbar
- Loading branch information
Showing
7 changed files
with
172 additions
and
0 deletions.
There are no files selected for viewing
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 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,19 @@ | ||
"use client"; | ||
import { motion } from "framer-motion"; | ||
import styles from "@/styles/LearnMoreBtn.module.css"; | ||
|
||
const LearnMoreBtn = (props: { link: string }) => { | ||
return ( | ||
<> | ||
<motion.a | ||
href={props.link} | ||
className={`${styles.btn} font-disket px-3 py-1 text-xl tracking-tighter`} | ||
whileHover={{ backgroundPosition: "-100%,100%" }} | ||
> | ||
Learn More | ||
</motion.a> | ||
</> | ||
); | ||
}; | ||
|
||
export default LearnMoreBtn; |
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,52 @@ | ||
import React from "react"; | ||
import Image from "next/image"; | ||
import devsoc2k24 from "@/assets/images/DEVSOC2k24.svg"; | ||
import LearnMoreBtn from "./LearnMoreBtn"; | ||
import dotgrid from "@/assets/images/dot_grid.svg"; | ||
|
||
const Timeline = () => { | ||
return ( | ||
<div className="bg-logo font-disket overflow-hidden bg-[#020202]"> | ||
<Image | ||
className="absolute left-60 top-[1100px]" | ||
src={dotgrid as HTMLImageElement} | ||
alt="dotgrid" | ||
height={100} | ||
width={100} | ||
/> | ||
<Image | ||
className="absolute left-[1160px] top-[1300px]" | ||
src={dotgrid as HTMLImageElement} | ||
alt="dotgrid" | ||
height={100} | ||
width={100} | ||
/> | ||
<div className="h-[1080px] w-full flex-wrap"> | ||
<div className="mt-48 flex w-full justify-center"> | ||
<Image | ||
className="mx-20 w-[300px] md:w-[35%]" | ||
src={devsoc2k24 as HTMLImageElement} | ||
alt="devsoc" | ||
quality={100} | ||
/> | ||
</div> | ||
<div className="flex w-full justify-center"> | ||
{" "} | ||
<div className="mx-10 mt-10 w-[500px] text-center text-xs text-[#bbbbbb] md:text-[12px] lg:w-[600px]"> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | ||
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim | ||
ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut | ||
aliquip ex ea commodo consequat. Duis aute irure dolor in | ||
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla | ||
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in | ||
culpa qui officia deserunt mollit anim id est laborum. | ||
</div> | ||
</div> | ||
<div className="mt-14 flex w-full justify-center"> | ||
<LearnMoreBtn link={""} /> | ||
</div> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.btn | ||
{ | ||
font-size: medium; | ||
padding: 8px 32px; | ||
text-decoration: none; | ||
display: inline-block; | ||
position: relative; | ||
border: 2px solid black; | ||
box-shadow: 5px 5px 5px #0A0A0A; | ||
|
||
background-image: linear-gradient(90deg, | ||
white 0%, | ||
white 50%, | ||
#77B075 50%, | ||
#77B075 100%); | ||
background-size: 200%; | ||
} | ||
|
||
.btn:hover | ||
{ | ||
cursor: pointer; | ||
} | ||
|
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