Skip to content

Commit

Permalink
feat: added community partners section
Browse files Browse the repository at this point in the history
  • Loading branch information
Arkapravo-Ghosh committed Jun 14, 2024
1 parent d29e91e commit 5abcbb0
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 10 deletions.
21 changes: 14 additions & 7 deletions src/assets/data/SponsorsContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ const sponsors = {
{
name: "Filecoin",
img: filecoin,
link: "https://filecoin.io/",
link: "https://filecoin.io",
},
],
Gold: [
{
name: "Github",
img: github,
link: "https://github.com/",
link: "https://github.com",
},

{
name: "Avalanche",
img: avalanche,
link: "https://www.avax.network/",
link: "https://www.avax.network",
},

{
Expand All @@ -39,26 +39,26 @@ const sponsors = {
{
name: "HackQuest",
img: hackquest,
link: "https://www.hackquest.io/",
link: "https://www.hackquest.io",
},
],
Silver: [
{
name: "Road To DevCon",
img: devcon,
link: "https://devcon.org/en/",
link: "https://devcon.org",
},
],
Bronze: [
{
name: "Router Protocol",
img: router,
link: "https://www.routerprotocol.com/",
link: "https://www.routerprotocol.com",
},
{
name: "GDG Cloud Kolkata",
img: gdg,
link: "https://ccd2024.gdgcloudkol.org/",
link: "https://ccd2024.gdgcloudkol.org",
},
],
Domain: [
Expand All @@ -75,6 +75,13 @@ const sponsors = {
link: "https://www.jis.com",
},
],
Community: [
{
name: "GDG Cloud Kolkata",
img: gdg,
link: "https://ccd2024.gdgcloudkol.org",
},
]
};

export default sponsors;
25 changes: 23 additions & 2 deletions src/components/private/sponsors/Sponsors.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from "react";
import HeaderData from "../../../assets/data/HeaderContent";
import sponsors from "../../../assets/data/SponsorsContent";
import {Header} from "../../shared";
import { Header } from "../../shared";
import "./Sponsors.scss";
import SingleSponsors from "./singlesponsors/SingleSponsors";
import Marquee from "react-fast-marquee";

const Sponsors = () => {
return (
Expand Down Expand Up @@ -76,7 +77,27 @@ const Sponsors = () => {
</div>
</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={50}
direction="right"
>
{sponsors["Community"].map((item, index) => {
return (
<SingleSponsors key={index} sponsor={item} type="silver" />
);
})}
</Marquee>
</div>
</div>
</div>
</div >
</>
);
};
Expand Down
14 changes: 13 additions & 1 deletion src/components/private/sponsors/Sponsors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
}
}
}

.sponsors__flexbox {
display: flex;
flex-wrap: wrap;
Expand All @@ -78,6 +79,17 @@
max-width: 1400px;
margin: auto;

&.community {
.rfm-marquee-container {
.rfm-marquee {
.rfm-child {
$gap: 1.5rem;
margin-left: $gap;
}
}
}
}

@media screen and (max-width: 576px) {
gap: 1rem;
}
Expand All @@ -87,4 +99,4 @@
.platinum_container {
margin-top: 2rem;
}
}
}

0 comments on commit 5abcbb0

Please sign in to comment.