Skip to content

Commit

Permalink
Merge pull request #13 from alokthakur490/main
Browse files Browse the repository at this point in the history
track_section_added
  • Loading branch information
parteekcoder authored Jan 12, 2024
2 parents 404618e + cd56a31 commit 3d5bb46
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 35 deletions.
Binary file added public/images/center2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/left1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/right3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 27 additions & 27 deletions src/components/PrizeSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ const PrizeSection = (props) => {
</div>
<div className={styles.left_card_list}>

<List imgsrc = "/images/image151.png" content = "Goodies"/>
<List imgsrc = "/images/image151.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "/images/image151.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "/images/image151.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "/images/image151.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "/images/image151.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "/images/image151.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "/images/image151.png" content = "Sashido Credits"/>
<List imgsrc = "/images/image151.png" content = "30 Days Free Receipt Credits"/>
<List imgsrc = "./images/image151.png" content = "Goodies"/>
<List imgsrc = "./images/image151.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "./images/image151.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "./images/image151.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "./images/image151.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "./images/image151.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "./images/image151.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "./images/image151.png" content = "Sashido Credits"/>
<List imgsrc = "./images/image151.png" content = "30 Days Free Receipt Credits"/>
</div>
</div>
</div>
Expand All @@ -91,15 +91,15 @@ const PrizeSection = (props) => {
<img className={styles.logo2prize} src = "images/1logor.png"></img>
</div>
<div className={styles.center_card_list}>
<List imgsrc = "/images/image152.png" content = "Goodies"/>
<List imgsrc = "/images/image152.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "/images/image152.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "/images/image152.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "/images/image152.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "/images/image152.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "/images/image152.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "/images/image152.png" content = "Sashido Credits"/>
<List imgsrc = "/images/image152.png" content = "30 Days Free Receipt Credits"/>
<List imgsrc = "./images/image152.png" content = "Goodies"/>
<List imgsrc = "./images/image152.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "./images/image152.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "./images/image152.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "./images/image152.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "./images/image152.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "./images/image152.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "./images/image152.png" content = "Sashido Credits"/>
<List imgsrc = "./images/image152.png" content = "30 Days Free Receipt Credits"/>


</div>
Expand All @@ -122,15 +122,15 @@ const PrizeSection = (props) => {
<img className={styles.logo2prize} src = "images/3logo.png"></img>
</div>
<div className={styles.right_card_list}>
<List imgsrc = "/images/image153.png" content = "Goodies"/>
<List imgsrc = "/images/image153.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "/images/image153.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "/images/image153.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "/images/image153.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "/images/image153.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "/images/image153.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "/images/image153.png" content = "Sashido Credits"/>
<List imgsrc = "/images/image153.png" content = "30 Days Free Receipt Credits"/>
<List imgsrc = "./images/image153.png" content = "Goodies"/>
<List imgsrc = "./images/image153.png" content = "Geeks for Geeks(800/- INR coupon on all courses)"/>
<List imgsrc = "./images/image153.png" content = "Echo-ar Free premium tier services"/>
<List imgsrc = "./images/image153.png" content = "Online Mock Interviews from Interview Buddy "/>
<List imgsrc = "./images/image153.png" content = "Lifetime upgrades of Taskade Unlimited"/>
<List imgsrc = "./images/image153.png" content = "1 Year of 1Passwords Families"/>
<List imgsrc = "./images/image153.png" content = "3 months of Draftbit Starter"/>
<List imgsrc = "./images/image153.png" content = "Sashido Credits"/>
<List imgsrc = "./images/image153.png" content = "30 Days Free Receipt Credits"/>

</div>
</div>
Expand Down
67 changes: 67 additions & 0 deletions src/components/track.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
import React from "react";
import styles from "../styles/track.module.css";
const Track = (props) => {
return(
<>
{/* <div className={`${styles.container} ${styles.heading}`}>HACKTHON TRACKS</div> */}

<div className={styles.container}>
<div className={styles.heading}>HACKTHON TRACKS<br/><br/></div>
<div className={styles.bottom}>
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
<rect width="64" height="64" fill="white"/>
</svg>
</div>
<div className = {styles.left_card}>
<div
className={styles.left_card_img}

>

</div>
<div className={styles.box}>

<pr>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</pr>



</div>


</div>
<div className = {styles.center_card}>
<div className={styles.center_card_img}

></div>
<div className={styles.box}>
<pr>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</pr>

</div>

</div>
<div className = {styles.right_card}>
<div
className={styles.right_card_img}

></div>
<div className={styles.box}>
<pr>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</pr>

</div>

</div>


</div>






</>
)

}

export default Track;
2 changes: 2 additions & 0 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Testimonies from "../components/Testimonies";
import Rules from "../components/Rules/Rules";
import FAQ from "../components/FAQ/FAQ";
import PrizeSection from "../components/PrizeSection";
import Track from "../components/track";
import Footer from "../components/Footer";

export default function Home() {
Expand All @@ -11,6 +12,7 @@ export default function Home() {
<PrizeSection />
<Testimonies />
<Rules />
<Track/>
<FAQ/>
<Footer/>
</div>
Expand Down
16 changes: 8 additions & 8 deletions src/styles/prizeSection.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ flex-shrink: 0;
display: flex;
justify-content: center;
align-items: flex-end;
gap: 50px;
gap: 77px;
}

.left_card {
Expand Down Expand Up @@ -328,11 +328,11 @@ flex-shrink: 0;
@media only screen and (max-width: 1050px) {

.card_container {
width: 96%;
padding: 0 4% 0 4%;
width: 85%;
padding: 0 6% 0 6%;
flex-direction: column;
align-items: center;
gap: 22px;
gap: 30px;
}

.top_right,
Expand All @@ -346,7 +346,7 @@ flex-shrink: 0;
width: 100%;
max-width: 500px;
min-width: 300px;
border-radius: 20px;
/* border-radius: 20px; */
height: auto;
}

Expand All @@ -356,12 +356,12 @@ flex-shrink: 0;
.left_card_content,
.right_card_content,
.center_card_content {
width: 100%;
width: 90%;
max-width: 500px;
min-width: 300px;
}

.left_card_img,
/* .left_card_img,
.right_card_img,
.center_card_img {
border-top-left-radius: 20px;
Expand All @@ -373,7 +373,7 @@ flex-shrink: 0;
.center_card_content {
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
} */

.left_card_box,
.right_card_box,
Expand Down
137 changes: 137 additions & 0 deletions src/styles/track.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
.container{
display: flex;
padding: 80px 0px 120px 0px;
justify-content: center;
align-items: center;
align-content: center;
gap: 48px 87px;
align-self: stretch;
flex-wrap: wrap;
background: var(--Black, #1F1F1F);
text-align: center;
position: relative;

}

.card_container {
display: inline-flex;
align-items: center;
gap: 70px;
align-self: stretch;
flex-wrap: wrap;
}

.bottom{
width: 64px;
height: 64px;
flex-shrink: 0;
position: absolute;
left: 64px;
bottom: 0px;
top : 750px;
}

.heading{
padding-top: 25px;
display: flex;
width: 100%;
height: 50px;
flex-direction: column;
justify-content: center;
flex-shrink: 0;
color: var(--white, #FFF);

/* Minecrafter Regular/7xl */
font-family: Minecrafter;
font-size: 70px;
font-style: normal;
font-weight: 400;
line-height: 100%; /* 72px */
flex-wrap: wrap;


}

.left_card{
border-radius: 4.5px;
background: var(--white, #FFF);
box-shadow: 0px 3.6px 3.6px 0px rgba(0, 0, 0, 0.25);
width: 334.8px;
height: 475.2px;
flex-shrink: 0;
text-align: center;



}

.center_card{
width: 351px;
height: 507.6px;
flex-shrink: 0;
border-radius: 4.5px;
border: 3.6px solid var(--green, #00F26D);
background: var(--white, #FFF);
box-shadow: 0px 3.6px 9px 0px rgba(0, 0, 0, 0.25);
text-align: center;
}

.right_card{
width: 334.8px;
height: 475.2px;
flex-shrink: 0;
border-radius: 4.5px;
background: var(--white, #FFF);
box-shadow: 0px 3.6px 3.6px 0px rgba(0, 0, 0, 0.25);
text-align: center;
}

.box{
width: 291.6px;
height: 140.4px;
flex-shrink: 0;
border-radius: 9px;
background: var(--Black, #1F1F1F);
box-shadow: 0px 3.6px 3.6px 0px rgba(0, 0, 0, 0.25) inset;
display: inline-block;
color: #FFF;


}

.left_card_img{
width: 237.6px;
height: 313.2px;
flex-shrink: 0;
background: url("../../public/images/left1.png") lightgray 50% / cover no-repeat;
display: inline-block;




}

.center_card_img{
background: url(../../public/images/center2.png), lightgray 0px 0px / 100% 100% no-repeat;
width: 241.2px;
height: 307.8px;
flex-shrink: 0;
display: inline-block;

}

.right_card_img{
width: 241.2px;
height: 307.8px;
flex-shrink: 0;
background: url(../../public/images/right3.png), lightgray 0px 0px / 100% 100% no-repeat;
display: inline-block;
}



@media only screen and (max-width: 1250px) {
.bottom{
display: none;
}
}

0 comments on commit 3d5bb46

Please sign in to comment.