Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Feb 23, 2025
1 parent 8ff36e8 commit 41c12f5
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 132 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">

<title>Hack4Bengal 3.0</title>
<title>Hack4Bengal 4.0</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap"
Expand All @@ -23,7 +23,7 @@
rel="stylesheet">

<meta name="theme-color" content="#1b1b1b" />
<meta name="description" content="Welcome to Hack4bengal 3.0, a community innitative." />
<meta name="description" content="Welcome to Hack4bengal 4.0, a community innitative." />
<meta property="og:image" content="/h4bog.png" />
<meta name="twitter:card" content="/h4bog.png" />

Expand Down
6 changes: 3 additions & 3 deletions src/assets/data/HeaderContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const HeaderData = {
backWordSpacing: "0.3rem",
backWordSize_mobile: "75px",
backWordSpacing_mobile: "0.2rem",
frontWord: "Sponsors",
frontWord: "Past Sponsors",
},
cp: {
backWord: "Network",
Expand All @@ -76,8 +76,8 @@ const HeaderData = {
backWordMobile: "Experts",
backWordSize_mobile: "78px",
backWordSpacing_mobile: "0.2rem",
frontWord: "Mentors/ Judges",
frontWordMobile: "Mentors/ Judges",
frontWord: "Past Mentors",
frontWordMobile: "Past Mentors",
},
testimonials: {
backWord: "Stories",
Expand Down
7 changes: 4 additions & 3 deletions src/components/private/community/CommunityPartners.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import React from "react";
import Marquee from "react-fast-marquee";
import HeaderData from "../../../assets/data/HeaderContent";
import sponsors from "../../../assets/data/SponsorsContent";
import {Header} from "../../shared";
import Marquee from "react-fast-marquee";
import { Header } from "../../shared";
import SingleSponsors from "../sponsors/singlesponsors/SingleSponsors";
import "../sponsors/Sponsors.scss";

const CommunityPartners = () => {
return (
<>
<div className="sponsors__parent" id="sponsors">
<div className="sponsors__parent" id="community">
<Header {...HeaderData.cp} />

<div className="sponsors__container_flex">
Expand Down
4 changes: 2 additions & 2 deletions src/components/private/faq/FAQ.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Faq = () => {
{
question: "How much does it cost to participate?",
answer:
"Nothing, participation in Hack4Bengal 3.0 is absolutely FREE!!🎉 We'll have meals, snacks, and beverages onsite at the hackathon, in addition to swags, prizes, fun mini-events and more.",
"Nothing, participation in Hack4Bengal 4.0 is absolutely FREE!!🎉 We'll have meals, snacks, and beverages onsite at the hackathon, in addition to swags, prizes, fun mini-events and more.",
},
{
question: "What is the maximum/ minimum team size?",
Expand All @@ -55,7 +55,7 @@ const Faq = () => {
{
question: "Can I participate remotely?",
answer:
"Hack4Bengal 3.0 is an in-person hackathon. So remote participation is not applicable.",
"Hack4Bengal 4.0 is an in-person hackathon. So remote participation is not applicable.",
},
];

Expand Down
7 changes: 1 addition & 6 deletions src/components/private/marquee/Marquee.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ function Marquee() {

const paragraphs = [];
for (let i = 0; i < numParagraphs; i++) {
paragraphs.push(
<p key={i}>
{" "}
Thankyou for the overwhelming response in Hack4Bengal 3.0 !
</p>
);
paragraphs.push(<p key={i}>Season 4.0 Registration opens soon !</p>);
}

return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/private/mentors/Mentors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import Marquee from "react-fast-marquee";
import HeaderData from "../../../assets/data/HeaderContent";
import { mentorContent } from "../../../assets/data/MentorsContent";
import { ComingSoon, Header } from "../../shared";
import { Header } from "../../shared";
import "./Mentors.scss";
import SingleMentors from "./singleMentors/SingleMentors";

Expand Down
140 changes: 38 additions & 102 deletions src/components/private/sponsors/Sponsors.jsx
Original file line number Diff line number Diff line change
@@ -1,122 +1,58 @@
import React from "react";
import Marquee from "react-fast-marquee";
import HeaderData from "../../../assets/data/HeaderContent";
import sponsors from "../../../assets/data/SponsorsContent";
import { Header } from "../../shared";
import SingleSponsors from "../sponsors/singlesponsors/SingleSponsors";
import "./Sponsors.scss";
import SingleSponsors from "./singlesponsors/SingleSponsors";
import Marquee from "react-fast-marquee";

const Sponsors = () => {
const sponsorList = Object.entries(sponsors)
.filter(([category]) => category !== "Community") // Exclude "Community"
.flatMap(([, items]) => items); // Flatten the remaining sponsors

console.log("Hello");

return (
<>
<div className="sponsors__parent" id="sponsors">
<Header {...HeaderData.sponsors} />

<div className="sponsors__container gold_container">
<h1>Title Sponsor</h1>
<div className="sponsors__flexbox">
{sponsors["title"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="platinum" />
);
})}
</div>
</div>
<div className="sponsors__container gold_container">
<h1>Platinum Sponsor</h1>
<div className="sponsors__flexbox">
{sponsors["Platinum"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="platinum" />
);
})}
</div>
</div>
<div className="sponsors__container gold_container">
<h1>Gold Sponsors</h1>
<div className="sponsors__flexbox">
{sponsors["Gold"].map((item, index) => {
return <SingleSponsors key={index} sponsor={item} type="gold" />;
})}
</div>
</div>
<div className="sponsors__container gold_container">
<h1>Silver Sponsors</h1>
<div className="sponsors__flexbox">
{sponsors["Silver"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</div>
</div>
<div className="sponsors__container gold_container">
<h1>Venue & Education Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Education"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</div>
</div>

<div className="sponsors__container_flex">
<div className="sponsors__container domain_container">
<h1>Bronze Sponsor</h1>
<div className="sponsors__flexbox">
{sponsors["Bronze"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="bronze" />
);
})}
<div className="sponsors__flexbox community">
<Marquee
autoFill={true}
pauseOnHover={true}
className="testimonials__container"
speed={60}
direction="right"
>
{sponsorList.slice(0, 10)?.map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
</div>
</div>
<div className="sponsors__container domain_container">
<h1>Track Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Track"].map((item, index) => {
return <SingleSponsors key={index} sponsor={item} type="track" />;
})}
</div>
</div>
<div className="sponsors__container_flex">
<div className="sponsors__container domain_container">
<h1>Domain Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Domain"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="domain" />
);
})}
<br />
<br />
<div className="sponsors__flexbox community">
<Marquee
autoFill={true}
pauseOnHover={true}
className="testimonials__container"
speed={60}
direction="left"
>
{sponsorList.slice(10)?.map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
</div>
<div className="sponsors__container domain_container">
<h1>Merchandise Partner</h1>
<div className="sponsors__flexbox">
{sponsors["Merchandise"].map((item, index) => {
return (
<SingleSponsors
key={index}
sponsor={item}
type="merchandise"
/>
);
})}
</div>
</div>
</div>

<div className="sponsors__container gold_container">
<h1>Digital Media Partner</h1>
<div className="sponsors__flexbox">
{sponsors["digitalMedia"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</div>
</div>
</div>
</>
Expand Down
18 changes: 9 additions & 9 deletions src/components/private/venue/Venue.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ const Venue = () => {
<Header {...HeaderData.venue} />

<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3673.746094948943!2d88.447752!3d22.959576199999997!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a027730302f6e25%3A0xe50dfccae21e1fc!2sJIS%20College%20of%20Engineering!5e0!3m2!1sen!2sin!4v1717764904163!5m2!1sen!2sin"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3684.0101050978833!2d88.47356327638298!3d22.578725379487313!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3a027532681696e9%3A0xb8684bcdb918e91!2sSister%20Nivedita%20University%20(SNU)!5e0!3m2!1sen!2sin!4v1740321783043!5m2!1sen!2sin"
referrerPolicy="no-referrer-when-downgrade"
width={window.innerWidth < 600 ? "300" : "600"}
height={window.innerWidth < 600 ? "300" : "300"}
></iframe>

<p className="location_header"> JIS College of Engineering</p>
<p className="location_header">Sister Nivedita University (SNU)</p>
<p className="location_subheader">
Barrackpore Kalyani Expy, Block A5, Block A, Kalyani, West Bengal
741235, India
DG Block(Newtown), Action Area I, 1/2, Newtown, New Town,
Chakpachuria, West Bengal 700156
</p>

<div className="location__btn_div">
<div className="location_btn_div_mobile">
{/* <div className="location_btn_div_mobile">
<a
href="https://www.jiscollege.ac.in/virtual-tour/"
target="_blank"
Expand All @@ -40,23 +40,23 @@ const Venue = () => {
>
<button className="location__btn">Event Guide</button>
</a>
</div>
</div> */}

<a
href="https://maps.app.goo.gl/1LtTmtADW2hcJoBX9"
href="https://maps.app.goo.gl/QnPyG1FTEZ5jAFtS9"
target="_blank"
rel="noopener noreferrer"
>
<button className="location__btn">View in Google Maps</button>
</a>
<a
{/* <a
href="https://hack4bengal.tech/guide"
target="_blank"
rel="noopener noreferrer"
className="location_howtoreach"
>
<button className="location__btn">Event Guide</button>
</a>
</a> */}
</div>
</div>
</>
Expand Down
7 changes: 3 additions & 4 deletions src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ import {
Landing,
Marquee,
Mentors,
Prizes,
Sponsors,
Testimonials,
} from "../../components/private";
import CommunityPartners from "../../components/private/community/CommunityPartners";
import Theme from "../../components/private/themes/Theme";
import Venue from "../../components/private/venue/Venue";
import Winner from "../../components/private/winners/Winner";
import "./Home.scss";
Expand All @@ -22,9 +20,10 @@ const Home = () => {
{window.innerWidth < 600 && <Marquee />}
<Winner />
<About />

<Venue />
<Theme />
<Prizes />
{/* <Theme />
<Prizes /> */}
<Mentors />
<Sponsors />
<CommunityPartners />
Expand Down

0 comments on commit 41c12f5

Please sign in to comment.