Skip to content

Commit

Permalink
Merge pull request #127 from ms-club-sliit/development
Browse files Browse the repository at this point in the history
Add arimac sponsorship
  • Loading branch information
stargazer39 authored Sep 22, 2023
2 parents 825beac + ab42c1e commit d2ac6b8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 19 deletions.
Binary file added src/assets/sponsors/arimac.webp
Binary file not shown.
15 changes: 3 additions & 12 deletions src/data/Sponsors/GoldSponsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@
"data": [
{
"id": 1,
"companyName": "Sample Company",
"imageUrl": "/assets/sponsors/company_logo_1.webp"
},
{
"id": 2,
"companyName": "Sample Company",
"imageUrl": "/assets/sponsors/company_logo_2.webp"
},
{
"id": 3,
"companyName": "Sample Company",
"imageUrl": "/assets/sponsors/company_logo_3.webp"
"companyName": "Arimac Lanka (Pvt) Ltd",
"imageUrl": "/assert/sponsors/arimac.webp",
"companyUrl": "https://arimaclanka.com/"
}
]
}
5 changes: 3 additions & 2 deletions src/views/Home/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import Eligibility from "../Eligibility";
import Timeline from "../Timeline";
import Gallery from "../Gallery";
import PastWinners from "../PastWinners";
/* import TeamView from "../TeamView";
import Sponsors from "../Sponsors";
import GoldSponsors from "../../data/Sponsors/GoldSponsers.json"
/* import TeamView from "../TeamView";
import PlatinumSponsors from "../../data/Sponsors/PlatinumSponsors.json";
*/
const Home = () => {
Expand All @@ -19,7 +20,7 @@ const Home = () => {
{/* <Sponsors type="Platinum" sponsors={PlatinumSponsors} /> */}
{/* <TeamView /> */}
<Gallery />
{/* <Sponsors type="Gold" sponsors={GoldSponsors} /> */}
<Sponsors type="Gold" sponsors={GoldSponsors} />
<PastWinners />
{/* <Sponsors type="Silver" sponsors={GoldSponsors} /> */}
<Footer />
Expand Down
10 changes: 5 additions & 5 deletions src/views/Sponsors/index.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React from "react";

import arimac from "../../assets/sponsors/arimac.webp";
const Sponsers = (props) => {
return (
<div id="sponsers" className="lg:px-20">
<h1 className="text-4xl md:text-5xl text-center my-10 font-bold">
{props.type} Sponsers
{props.type} Sponsor
</h1>
<div className={`grid grid-cols-1 md:grid-cols-2 gap-4`}>
<div className={`grid grid-cols-1 md:grid-cols-1 gap-4`}>
{props.sponsors.data.map((sponsor) => (
<div className="flex justify-center my-5">
<a href="https://msclubsliit.org/" className="mb-4 sm:mb-0">
<a href={sponsor.companyUrl} className="mb-4 sm:mb-0 transition ease-in-out delay-150 hover:-translate-y-1 hover:scale-110">
<img
src={sponsor.imageUrl}
src={arimac}
className="h-40"
alt={sponsor.companyName}
/>
Expand Down

0 comments on commit d2ac6b8

Please sign in to comment.