Skip to content

Commit

Permalink
fixed: naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
debojitsaha committed Jan 21, 2024
1 parent 548e51b commit 9b92ab1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/constants/SponsorData.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const sponsorData = [
export const sponsorData = [
{
id: 1,
name: "GitHub",
Expand Down Expand Up @@ -27,5 +27,3 @@ const sponsorData = [
bgColor: "#C0C0C0",
},
];

export default sponsorData;
1 change: 1 addition & 0 deletions src/constants/communityData.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import ClueLess from "assets/CommunityData/clueless.png";
import GDSCKalyani from "assets/CommunityData/GDSC IIIT Kalyani.png";
import ACM from "assets/CommunityData/acmlogo.jpeg";
import Devorld from "assets/CommunityData/20230207_171323_0000 - Harshavardhan Bajoria.png";

export const community = [
{
name: "GDSC Aliah",
Expand Down
2 changes: 1 addition & 1 deletion src/partials/Community/Community.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from "react";
import "./Community.scss";
import Marquee from "react-fast-marquee";

import { community } from "constants/communityData";

const Community = () => {
return (
<div className="scroll">
Expand Down
4 changes: 2 additions & 2 deletions src/partials/Sponsors/Sponsors.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react";
import sponsorData from "../../constants/sponsorData";
import { sponsorData } from "constants/sponsorData";
import SponsorsCard from "./SponsorsCard";
import "./Sponsors.scss";

function Sponsors() {
return (
<div style={{marginBottom: "30px"}}>
<div style={{ marginBottom: "30px" }}>
<h1 style={{ textAlign: "center", marginBottom: "20px" }}>Sponsors</h1>
<div className="sponsor-section">
{sponsorData.map((user) => (
Expand Down

0 comments on commit 9b92ab1

Please sign in to comment.