Skip to content

Commit

Permalink
fix: changes for cp
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalCodes committed Jun 16, 2024
1 parent 4bd23f3 commit 1afde47
Show file tree
Hide file tree
Showing 12 changed files with 69 additions and 23 deletions.
9 changes: 9 additions & 0 deletions src/assets/data/HeaderContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,15 @@ const HeaderData = {
backWordSpacing_mobile: "0.2rem",
frontWord: "Sponsors",
},
cp: {
backWord: "Network",
backWordMobile: "Network",
backWordSize: "140px",
backWordSpacing: "0.3rem",
backWordSize_mobile: "75px",
backWordSpacing_mobile: "0.2rem",
frontWord: "Community Partners",
},
collaborators: {
backWord: "Collaborators",
backWordMobile: "Collab",
Expand Down
6 changes: 3 additions & 3 deletions src/assets/data/SponsorsContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import callchimp from "../images/SponsorImages/callchimp.png";
import tezos from "../images/SponsorImages/tezos.png";
import coding_catalyst from "../images/CommunityImages/coding_catalyst.webp";
import ddc from "../images/CommunityImages/ddc.webp";
import gdsc_nsec from "../images/CommunityImages/gdsc_nsec.webp";
import gdsc_msit from "../images/CommunityImages/gdsc_msit.webp";
import gdsc_nsec from "../images/CommunityImages/gdsc_nsec.png";
import gdsc_msit from "../images/CommunityImages/gdsc_msit.png";
import bytemonk from "../images/CommunityImages/bytemonk.webp";
import resourcio_community from "../images/CommunityImages/resourcio_community.webp";
import os_community from "../images/CommunityImages/os_community.webp";
import gdsc_fiem from "../images/CommunityImages/gdsc_fiem.webp";
import gdsc_fiem from "../images/CommunityImages/gdsc_fiem.png";
import skepsis from "../images/CommunityImages/skepsis.webp";
import noobcode from "../images/CommunityImages/noobcode.webp";
import polygon_guild_kolkata from "../images/CommunityImages/polygon_guild_kolkata.webp";
Expand Down
Binary file added src/assets/images/CommunityImages/gdsc_fiem.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 modified src/assets/images/CommunityImages/gdsc_fiem.webp
Binary file not shown.
Binary file added src/assets/images/CommunityImages/gdsc_msit.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 modified src/assets/images/CommunityImages/gdsc_msit.webp
Binary file not shown.
Binary file added src/assets/images/CommunityImages/gdsc_nsec.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 modified src/assets/images/CommunityImages/gdsc_nsec.webp
Binary file not shown.
Binary file modified src/assets/images/CommunityImages/os_community.webp
Binary file not shown.
55 changes: 55 additions & 0 deletions src/components/private/community/CommunityPartners.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import React from "react";
import HeaderData from "../../../assets/data/HeaderContent";
import sponsors from "../../../assets/data/SponsorsContent";
import { Header } from "../../shared";
import Marquee from "react-fast-marquee";
import SingleSponsors from "../sponsors/singlesponsors/SingleSponsors";

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

<div className="sponsors__container_flex">
<div className="sponsors__container domain_container">
<div className="sponsors__flexbox community">
<Marquee
autoFill={true}
pauseOnHover={true}
className="testimonials__container"
speed={60}
direction="right"
>
{sponsors["Community"].slice(0, 6)?.map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
<br />
<br />
<div className="sponsors__flexbox community">
<Marquee
autoFill={true}
pauseOnHover={true}
className="testimonials__container"
speed={60}
direction="left"
>
{sponsors["Community"].slice(6)?.map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
</div>
</div>
</div>
</>
);
};

export default CommunityPartners;
20 changes: 0 additions & 20 deletions src/components/private/sponsors/Sponsors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,6 @@ const Sponsors = () => {
</div>
</div>
</div>
<div className="sponsors__container_flex">
<div className="sponsors__container domain_container">
<h1>Community Partners</h1>
<div className="sponsors__flexbox community">
<Marquee
autoFill={true}
pauseOnHover={true}
className="testimonials__container"
speed={60}
direction="right"
>
{sponsors["Community"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
</div>
</div>
</div>
</>
);
Expand Down
2 changes: 2 additions & 0 deletions src/pages/home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Timeline from "../../components/private/timeline/Timeline";
import "./Home.scss";
import Venue from "../../components/private/venue/Venue";
import Theme from "../../components/private/themes/Theme";
import CommunityPartners from "../../components/private/community/CommunityPartners";

const Home = () => {
return (
Expand All @@ -28,6 +29,7 @@ const Home = () => {
<Prizes />
<Mentors />
<Sponsors />
<CommunityPartners />
<Testimonials />
<FAQ />
</div>
Expand Down

0 comments on commit 1afde47

Please sign in to comment.