Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated sponsors and merch page #76

Open
wants to merge 70 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
590c70a
Create Dockerfile
bvvinai Mar 20, 2023
65eec7a
Merge pull request #73 from Daksh-SASTRA/merch_2k23_abdul
vishcomestrue Mar 20, 2023
5afb270
Changed background size property for iOS devices
vishcomestrue Mar 21, 2023
6ba51db
Merge pull request #74 from Daksh-SASTRA/bgios_daksh2k23_vishwa
vishcomestrue Mar 21, 2023
4b713dc
converted images to Webp , updated images, carousel completed
skabdulhaq Mar 23, 2023
635a16b
Update [product].js
skabdulhaq Mar 23, 2023
af5eb07
Merge pull request #75 from Daksh-SASTRA/merch_2k23_abdul
skabdulhaq Mar 23, 2023
a5fbb39
updated sponsors
santhosh847 Mar 23, 2023
5830f42
updated product name font size for mobile view
santhosh847 Mar 23, 2023
30827ab
Update Dockerfile
bvvinai Mar 23, 2023
561784a
removed lock file
bvvinai Mar 23, 2023
8e0b663
Update Dockerfile
bvvinai Mar 23, 2023
f8875d7
updated scaled images for sponsors
santhosh847 Mar 24, 2023
a89456b
Revert "Update Dockerfile"
bvvinai Mar 24, 2023
5513293
Merge branch 'daksh2k23' of https://github.com/Daksh-SASTRA/daksh-web…
santhosh847 Mar 24, 2023
4eef4bf
removed old sponsors from sponsors component
santhosh847 Mar 24, 2023
59a21a4
Revert "Merge branch 'daksh2k23' of https://github.com/Daksh-SASTRA/d…
santhosh847 Mar 24, 2023
8147afa
added teg logo
santhosh847 Mar 24, 2023
b93f5df
final commit
santhosh847 Mar 24, 2023
4a0c3ed
Removed Podcast link, added Hackathons
vishcomestrue Mar 24, 2023
3517918
Added hackathons page
vishcomestrue Mar 24, 2023
f77062a
Removed hackathons from events page
vishcomestrue Mar 24, 2023
e44d5c6
Updated hackathons
vishcomestrue Mar 24, 2023
80490d3
Modified hackathon page
NehaAnand28 Mar 24, 2023
cafa610
added heading
NehaAnand28 Mar 24, 2023
a719343
Merge pull request #77 from Daksh-SASTRA/hackathon_2k23_neha
vishcomestrue Mar 24, 2023
4791d38
Added new hackathons to a json file
vishcomestrue Mar 25, 2023
8a241f1
updated price
skabdulhaq Mar 25, 2023
c54c8e0
bug fix and merge
skabdulhaq Mar 25, 2023
93f79ce
Merge branch 'daksh2k23' into merch_2k23_abdul
skabdulhaq Mar 25, 2023
1088f09
Merge pull request #78 from Daksh-SASTRA/merch_2k23_abdul
skabdulhaq Mar 25, 2023
2273d72
Update ProductDetails.js
skabdulhaq Mar 25, 2023
6256fa9
Update ProductDetails.js
skabdulhaq Mar 25, 2023
2c364b1
Update productDetails.module.css
skabdulhaq Mar 25, 2023
585468b
Removed Hoodie
skabdulhaq Mar 25, 2023
2d21ad2
Update merch.module.css
skabdulhaq Mar 25, 2023
f85acb1
Merge pull request #79 from Daksh-SASTRA/merch_2k23_abdul
vishcomestrue Mar 25, 2023
763de05
Fixed image bug in hackathon,events and workshops,added events and wo…
NehaAnand28 Mar 25, 2023
938a24b
Merge branch 'daksh2k23' of https://github.com/Daksh-SASTRA/daksh-web…
NehaAnand28 Mar 25, 2023
d82ef24
Added drone events
NehaAnand28 Mar 26, 2023
5751a82
Added event,workshop and hackathon posters and links
NehaAnand28 Mar 27, 2023
84b9711
img size fix
NehaAnand28 Mar 27, 2023
aa529c2
ideathon img fix
NehaAnand28 Mar 27, 2023
944cf48
Merge pull request #80 from Daksh-SASTRA/hackathon_2k23_neha
vishcomestrue Mar 27, 2023
aed7494
updated Tshirt and it's name
skabdulhaq Mar 27, 2023
b1e8da8
added hoodie
skabdulhaq Mar 27, 2023
3e69c85
Update ProductDetails.js
skabdulhaq Mar 27, 2023
8910afc
Update productDetails.module.css
skabdulhaq Mar 27, 2023
06da5dc
Update [product].js
skabdulhaq Mar 27, 2023
c027042
Update [product].js
skabdulhaq Mar 27, 2023
aa88d88
Update [product].js
skabdulhaq Mar 27, 2023
efe8c38
Update [product].js
skabdulhaq Mar 27, 2023
70e445b
Merge pull request #81 from Daksh-SASTRA/merch_2k23_abdul
vishcomestrue Mar 27, 2023
6a24909
workshop details change
NehaAnand28 Mar 28, 2023
ad034a5
changed ideathon pdf and drone posters
NehaAnand28 Mar 28, 2023
9347adb
changed web3 and bsl poster and pdf
NehaAnand28 Mar 28, 2023
d998ca0
added product workshop,cyber and astrazeneca hack pdf,link,posters
NehaAnand28 Mar 30, 2023
c5e23e3
Merge pull request #82 from Daksh-SASTRA/hackathon_2k23_neha
vishcomestrue Mar 31, 2023
5dc2299
Changed team detail for DARTS in teams json
vishcomestrue Mar 31, 2023
5b7de4f
changed event pdfs
NehaAnand28 Mar 31, 2023
b78956d
Removed hoodie and redirected all links to tshirt
vishcomestrue Apr 3, 2023
704d75f
Schedule Update
Apr 4, 2023
ab4b8b4
Merge pull request #83 from Daksh-SASTRA/hackathon_2k23_neha
vishcomestrue Apr 4, 2023
5f19b18
color change and schedule changing fixed
skabdulhaq Apr 5, 2023
2592b91
Update SchedulePage.js
skabdulhaq Apr 5, 2023
496ec16
Added powertalks
skabdulhaq Apr 5, 2023
668bcd1
Merge pull request #84 from Daksh-SASTRA/schedule-update
vishcomestrue Apr 6, 2023
8b77d02
Updated events of day 1
vishcomestrue Apr 6, 2023
2cfa30d
Changed schedule of day 2 and day 3
vishcomestrue Apr 6, 2023
2e20a0e
Changed the schedule json for venue changes
vishcomestrue Apr 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

# production
/build
package-lock.json

# misc
.DS_Store
Expand Down
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:latest

WORKDIR /app

COPY . .

#RUN yarn add sharp

RUN npm i

RUN npm run build

EXPOSE 3000

CMD ["npm", "start"]
17 changes: 13 additions & 4 deletions components/EventsWorkshop/EventsCard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import styles from './eventsworkshop.module.css';
import { FcExpand, FcCollapse } from "react-icons/fc";
import { HiDownload } from "react-icons/hi";

function EventsCard(props) {

Expand All @@ -19,12 +19,21 @@ function EventsCard(props) {
<div className={styles.cardContent}>
<h5>{props.data.category}</h5>
<h2>{props.data.title}</h2>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 200) + '...'}</p>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 70) + '...'}</p>
{/* <h5>{props.data.date}</h5>
<div className={styles.poster_contact} >
{isExpanded && props.data.contacts ? <h3>Contacts :</h3> : ""}
{isExpanded ? Contacts(props.data?.contacts || []) : ""}
</div> */}
{isExpanded && props.data.download ? <div className={styles.download} onClick={() => expand(!isExpanded)}>
<a className={styles.register_btn} href={props.data.download} target={"_blank"} rel="noreferrer"><i className={styles.down_icon}><HiDownload /></i>{" Download"}</a>
</div> : ""}

<div className={isExpanded ? styles.ecard_styles : styles.ecard_actions}>
{isExpanded ? <p >Fee: {props.data.fees}</p> : ""}

<div className={islive ? styles.register : styles.disabled}>
<a className={islive ? styles.register_btn : ''} href="#" target={islive ? "_parent" : ""} rel="noreferrer">{islive ? isExpanded ? "Register" : "Register" : "Closed"}</a>
<a className={islive ? styles.register_btn : ''} href={props.data.register_link} target={islive ? "_blank" : ""} rel="noreferrer">{islive ? isExpanded ? "Register" : "Register" : "Closed"}</a>
</div>
{isExpanded ? "" : <div className={isExpanded ? "" : styles.register} onClick={() => expand(!isExpanded)}>
<a className={isExpanded ? '' : styles.register_btn} href="#" target={islive ? "_parent" : ""} rel="noreferrer">{isExpanded ? "" : "Learn More"}</a>
Expand All @@ -33,7 +42,7 @@ function EventsCard(props) {

</div>
</div>

{/* <h5>{props.data.category}</h5>
<h2>{props.data.title}</h2>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 200) + '...'}</p> */}
Expand Down
14 changes: 7 additions & 7 deletions components/EventsWorkshop/EventsWorkshop.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React,{useEffect, useState} from 'react';
import styles from './eventsworkshop.module.css'
import EventsCard from './EventsCard';
import WorkshopCard from './WorkshopCard';
import HackathonsCard from './HackathonsCard';
import Dummy from "../config/dummy.json";

import Events from "../config/events2k23.json";
// import Events from '../config/events.json';
// import Workshop from "../config/workshop.json";
import Workshop from "../config/workshops2k23.json";
// import Hackathons from "../config/hackathons.json";

function EventsWorkshop({number}) {
Expand All @@ -24,15 +24,15 @@ function EventsWorkshop({number}) {
</div>
{(events == 0) ?
<div className={styles.events__section}>
{Dummy.map((event, i) => {
return <EventsCard data={event} key={i} />
{Workshop.map((workshop, i) => {
return <WorkshopCard data={workshop} key={i} />
})}

</div>
: (events == 1) ?
<div className={styles.events__section}>
{Dummy.map((workshop, i) => {
return <WorkshopCard data={workshop} key={i} />
{Events.map((event, i) => {
return <EventsCard data={event} key={i} />
})}
</div>
:
Expand Down
25 changes: 25 additions & 0 deletions components/EventsWorkshop/Hackathons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import React from 'react';
import styles from './eventsworkshop.module.css'
import ctstyles from "../Contact/contact.module.css";
import HackathonsCard from './HackathonsCard';
import Hackathon from "../config/hackathons2k23.json";
function Hackathons() {
return (
<div className={styles.events__workshop}>

<div
className={`${ctstyles.contactHeadingMain} ${ctstyles.flexCenter}`}
data-aos="fade-down"
>
HACKATHONS
</div>
<div className={styles.events__section}>
{Hackathon.map((hackathon, i) => {
return <HackathonsCard data={hackathon} key={i} />
})}
</div>
</div>
)
}

export default Hackathons
44 changes: 21 additions & 23 deletions components/EventsWorkshop/HackathonsCard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import styles from './eventsworkshop.module.css';
import { FcExpand, FcCollapse } from "react-icons/fc";
import { HiDownload } from "react-icons/hi";

function HackathonsCard(props) {

Expand All @@ -15,28 +15,26 @@ function HackathonsCard(props) {
},[]);

return (
<div className = {styles.ecard} data-aos="fade-up">
<h5>{props.data.category}</h5>
<h2>{props.data.title}</h2>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0,200) + '...'}</p>
{isExpanded && props.data.timeline ? <h3>Timeline :</h3> : ""}
<div className={styles.poster}>
<div className={styles.poster_contact}>
{isExpanded && props.data.timeline ? Timeline(props.data.timeline) : ""}
{isExpanded ? <h3>Contacts :</h3> : ""}
{isExpanded ? Contacts(props.data.contacts) : ""}
</div>
{isExpanded && props.data.timeline ? <a style={{margin: 'auto'}} href={props.data.img} rel="noreferrer" target='_blank'><img src={props.data.img}/></a>: ""}
</div>
<button id = {styles.expand} onClick = {() => expand(!isExpanded)}> {isExpanded ? <FcCollapse /> : <FcExpand />} </button>
<div className = {styles.ecard_actions}>
<h5>{props.data.date}</h5>
{props.data.download_link &&
<div className={styles.register}>
<a className={styles.download_btn} href={props.data.download_link} download={props.data.title} target={"_blank"} rel="noreferrer">Download Pdf <img src='/download-solid.svg' height='16px'></img></a>
</div>}
<div className={islive ? styles.register : styles.disabled}>
<a className={islive ? styles.register_btn : ''} href={islive ? props.data.register_link : "/"} target={islive ? "_blank" : ""} rel="noreferrer">{islive ? "Register" : "Closed"}</a>
<div className={styles.ecard} data-aos="fade-up">
{props.data.poster ? <div className={styles.cardImg}><img src={props.data.poster} /></div> : ""}
<div className={styles.cardContent}>
<h5>{props.data.category}</h5>
<h2>{props.data.title}</h2>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 70) + '...'}</p>
{isExpanded && props.data.download ? <div className={styles.download} onClick={() => expand(!isExpanded)}>
<a className={styles.register_btn} href={props.data.download} target={"_blank"} rel="noreferrer"><i className={styles.down_icon}><HiDownload /></i>{" Download"}</a>
</div> : ""}
<div className={isExpanded ? styles.ecard_styles : styles.ecard_actions}>
{isExpanded ? <p >Fee: {props.data.fees}</p> : ""}

<div className={islive ? styles.register : styles.disabled}>
<a className={islive ? styles.register_btn : ''} href={props.data.register_link} target={islive ? "_parent" : ""} rel="noreferrer">{islive ? isExpanded ? "Register" : "Register" : "Closed"}</a>
</div>
{isExpanded ? "" : <div className={isExpanded ? "" : styles.register} onClick={() => expand(!isExpanded)}>
<a className={isExpanded ? '' : styles.register_btn} href="#" target={islive ? "_parent" : ""} rel="noreferrer">{isExpanded ? "" : "Learn More"}</a>
</div>}


</div>
</div>
</div>
Expand Down
9 changes: 6 additions & 3 deletions components/EventsWorkshop/WorkshopCard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState, useEffect } from 'react';
import styles from './eventsworkshop.module.css';
import { FcExpand, FcCollapse } from "react-icons/fc";
import { HiDownload } from "react-icons/hi";

function EventsCard(props) {

Expand All @@ -20,12 +20,15 @@ function EventsCard(props) {
<div className={styles.cardContent}>
<h5>{props.data.category}</h5>
<h2>{props.data.title}</h2>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 200) + '...'}</p>
<p>{isExpanded ? props.data.desc : props.data.desc.substring(0, 70) + '...'}</p>
{isExpanded && props.data.download ? <div className={styles.download} onClick={() => expand(!isExpanded)}>
<a className={styles.register_btn} href={props.data.download} target={"_blank"} rel="noreferrer"><i className={styles.down_icon}><HiDownload /></i>{" Download"}</a>
</div> : ""}
<div className={isExpanded ? styles.ecard_styles : styles.ecard_actions}>
{isExpanded ? <p >Fee: {props.data.fees}</p> : ""}

<div className={islive ? styles.register : styles.disabled}>
<a className={islive ? styles.register_btn : ''} href="#" target={islive ? "_parent" : ""} rel="noreferrer">{islive ? isExpanded ? "Register" : "Register" : "Closed"}</a>
<a className={islive ? styles.register_btn : ''} href={props.data.register_link} target={islive ? "_parent" : ""} rel="noreferrer">{islive ? isExpanded ? "Register" : "Register" : "Closed"}</a>
</div>
{isExpanded ? "" : <div className={isExpanded ? "" : styles.register} onClick={() => expand(!isExpanded)}>
<a className={isExpanded ? '' : styles.register_btn} href="#" target={islive ? "_parent" : ""} rel="noreferrer">{isExpanded ? "" : "Learn More"}</a>
Expand Down
38 changes: 28 additions & 10 deletions components/EventsWorkshop/eventsworkshop.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@

.ecard {
width: 100%;
padding: 20px;
padding: 30px 10px;
border-radius: 20px;
background-color: rgba(255, 255, 255, 0.20);
backdrop-filter: blur(3.8px);
box-shadow: 6px 9px 12px -3px rgba(0, 0, 0, 0.65);
display: flex;
/* gap: 20px; */
/* flex-direction: row; */
margin: 2rem 0;
transition: height 2s;
Expand Down Expand Up @@ -114,7 +115,7 @@
.ecard_actions {
display: flex;
justify-content: flex-start;
align-items: center;
align-items: flex-end;
flex-wrap: wrap;
gap: 20px;
padding-top: 5%;
Expand Down Expand Up @@ -142,6 +143,14 @@
justify-content: space-between;
}

.download {
display: flex;
justify-content: center;
align-items: center;
padding: 20px 0;
}


.poster {
display: flex;
justify-content: space-between;
Expand All @@ -156,22 +165,26 @@
}

.cardImg {
width: 50%;
width: 30%;
display: flex;
justify-content: center;
align-items: center;
height: auto;
overflow: hidden;
/* padding: 2%; */

}

.cardImg img {
width: 100%;
height: 100%;
width: 80%;
height: auto;
border-radius: 15px;
object-fit: cover;

}

.cardContent {
width: 70%;
padding: 0 2%;
}

Expand All @@ -185,12 +198,12 @@
}

.poster_contact>h3 {
background-image: var(--text-gradient-color);
background-clip: padding-box;
-webkit-background-clip: text;
color: var(--color-light-blue);
/* background-clip: padding-box;
-webkit-background-clip: text; */
background-size: 100%;
margin-right: auto;
-webkit-text-fill-color: transparent;
/* -webkit-text-fill-color: transparent; */
}

.poster>p {
Expand Down Expand Up @@ -308,7 +321,7 @@
}

.contacts {
padding: 20px;
padding: 10px;
}

#expand {
Expand Down Expand Up @@ -373,10 +386,15 @@
}

.cardImg {

width: 100%;
padding: 2% 0;
}

.cardContent {
width: 100%;
}

.poster {
flex-direction: column;
}
Expand Down
8 changes: 4 additions & 4 deletions components/Merch/MerchComp.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import React, { useState } from 'react'
import styles from './merch.module.css'
import MerchItem from "./Merchandise";
import tshirt from '../../public/shirtpreview/tshirt.webp'
import hoodie from '../../public/shirtpreview/hoodie.webp'
import tshirt from '../../public/shirtpreview/tee_front.webp'
import hoodie from '../../public/shirtpreview/hoodie_front.webp'


function Merch() {

return (

<div className={styles.merch_container}>
<MerchItem merchName={"TSHIRT"} imageLink={tshirt} shoppingLink="/merch/tshirt"/>
<MerchItem merchName={"HOODIE"} imageLink={hoodie} shoppingLink="/merch/hoodie"/>
{/* <MerchItem merchName={"HOODIE"} imageLink={hoodie} shoppingLink="/merch/hoodie" /> */}
</div>
)
}
Expand Down
Loading