From aa4b9393ca029f3439a0fcafe7f1c5ce10be459e Mon Sep 17 00:00:00 2001
From: anmol5936 <127973342+anmol5936@users.noreply.github.com>
Date: Sun, 4 Aug 2024 11:58:02 +0530
Subject: [PATCH] Revert "feat: Add sponsors section (#101)"
This reverts commit 2a9daf50a404fef6a16e4fa1bdf4b035033be68b.
---
src/components/sponsors/sponsors.jsx | 13 ++++-------
src/components/sponsors/sponsors.styles.jsx | 8 ++-----
src/config/content/sponsorsData/sponsors.js | 24 +++++++++++++++------
src/pages/Home.jsx | 2 --
4 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/src/components/sponsors/sponsors.jsx b/src/components/sponsors/sponsors.jsx
index e14257b..b3be6d6 100644
--- a/src/components/sponsors/sponsors.jsx
+++ b/src/components/sponsors/sponsors.jsx
@@ -1,23 +1,18 @@
-import {
- Icon,
- SponsorsContainer,
- IconContainer,
- SponsorsSectionHeading,
- InnerSponsorsContainer
-} from './sponsors.styles'
+import { Icon, SponsorsContainer, IconContainer, SponsorsSectionHeading } from './sponsors.styles'
+import Marquee from 'react-fast-marquee'
import { SponsorsData } from '../../config/index'
export const Sponsors = () => {
return (
)
}
diff --git a/src/components/sponsors/sponsors.styles.jsx b/src/components/sponsors/sponsors.styles.jsx
index 3c74129..de7207e 100644
--- a/src/components/sponsors/sponsors.styles.jsx
+++ b/src/components/sponsors/sponsors.styles.jsx
@@ -2,7 +2,7 @@ import tw from 'twin.macro'
import styled from 'styled-components'
export const SponsorsContainer = styled.div`
- ${tw`bg-brown-2 pt-[45px] `}
+ ${tw`bg-brown-2 pt-[70px] `}
`
export const IconContainer = styled.span(({ style }) => ({
@@ -13,10 +13,6 @@ export const Icon = styled.img(({ src, style }) => ({
...style
}))
-export const InnerSponsorsContainer = styled.div`
- ${tw` flex flex-row justify-center items-center flex-wrap`}
-`
-
export const SponsorsSectionHeading = styled.h1`
- ${tw`font-Poppins text-brown-4 text-4.5xl font-bold 3md:text-8.5xl 2.5md:text-7.5xl 0.7xsm:text-6xl pl-3`}
+ ${tw`font-Poppins text-brown-4 text-4.5xl font-bold 3md:text-9xl 2.5md:text-7.5xl 0.7xsm:text-6xl pl-3`}
`
diff --git a/src/config/content/sponsorsData/sponsors.js b/src/config/content/sponsorsData/sponsors.js
index 786ea9d..2bd7a03 100644
--- a/src/config/content/sponsorsData/sponsors.js
+++ b/src/config/content/sponsorsData/sponsors.js
@@ -2,15 +2,27 @@ import tw from 'twin.macro'
export default [
{
- styles: tw`max-md:m-[70px] md:w-[320px] md:h-[280px] md:m-[50px] `,
- url: 'https://res.cloudinary.com/dhv234qct/image/upload/v1722718317/AICHE_SRC/sponsors/sp2_foynsk.png'
+ styles: tw`max-md:m-[70px] md:w-[220px] md:h-[40px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761140/Logo_jc3ia8.png'
},
{
- styles: tw`max-md:m-[70px] md:w-[200px] md:h-[180px] md:m-[110px] `,
- url: 'https://res.cloudinary.com/dhv234qct/image/upload/v1722718332/AICHE_SRC/sponsors/sp-2_uhuiyl.jpg'
+ styles: tw`max-md:m-[70px] md:w-[202px] md:h-[40px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761140/Logo-1_vqmsdg.png'
},
{
- styles: tw`max-md:m-[70px] md:w-[220px] md:h-[180px] md:m-[110px] `,
- url: 'https://res.cloudinary.com/dhv234qct/image/upload/v1722718316/AICHE_SRC/sponsors/sp1_gwaalr.jpg'
+ styles: tw`max-md:m-[70px] md:w-[100px] md:h-[38px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761140/Logo-2_wzvo0w.png'
+ },
+ {
+ styles: tw`max-md:m-[70px] md:w-[80px] md:h-[80px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761140/Logo-3_qxz0na.png'
+ },
+ {
+ styles: tw`max-md:m-[70px] md:w-[180px] md:h-[40px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761141/Logo-4_yvqmg4.png'
+ },
+ {
+ styles: tw`max-md:m-[70px] md:w-[120px] md:h-[40px] md:m-[110px] `,
+ url: 'https://res.cloudinary.com/dfe8sdlkc/image/upload/v1717761144/Logo-5_fnneio.png'
}
]
diff --git a/src/pages/Home.jsx b/src/pages/Home.jsx
index a045a52..246820b 100644
--- a/src/pages/Home.jsx
+++ b/src/pages/Home.jsx
@@ -6,7 +6,6 @@ import Footer from '../components/marginals/footer/Footer'
import { Faq } from '../components/faq/faq'
import { Leads } from '../components/leads/leads'
import { Schedule } from '../components/schedule/schedule'
-import { Sponsors } from '../components/sponsors/sponsors'
const Home = () => {
return (
@@ -17,7 +16,6 @@ const Home = () => {
-