-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathPatners.tsx
146 lines (134 loc) · 4.73 KB
/
Patners.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
import Image from 'next/image';
import React from 'react';
import { motion } from 'framer-motion';
import Link from 'next/link';
import sponsorsData from '@/lib/sponsors';
type Props = {};
const Patners = (props: Props) => {
const { diamond, gold, platinum, silver } = sponsorsData;
return (
<main
id="sponsors"
className="w-full text-white sm:h-[200vh] relative p-10 sm:p-40"
>
<Image
src="/assets/background/PatnerBG.gif"
className="-z-20"
alt="Patners BG"
fill
/>
<Image
src="/assets/background/elements.png"
className="-z-10 object-cover"
alt="Patners BG"
fill
/>
<motion.h1
whileInView={{ y: [50, 0] }}
transition={{
ease: 'easeInOut',
duration: 1,
}}
viewport={{ once: true }}
className="heading text-center"
>
Our Partners
</motion.h1>
<div className="py-10 sm:py-28">
<motion.h3
whileInView={{ y: [50, 0] }}
transition={{
ease: 'easeInOut',
duration: 1,
}}
viewport={{ once: true }}
className="text-left text-lg font-semibolds space-x-2"
>
<span>
Our love for Open Source drove us to impact the community through
Winter of Code 3.0.
</span>
<Link
href="https://drive.google.com/file/d/1XTh4_kt9-sxeD1b2NMJYY1Izpi6gzIXP/view"
className="link"
target="_blank"
rel="noreffer"
>
Want to Sponsor us?
</Link>
</motion.h3>
<div className="space-y-10 py-10">
<div className="platinum-sponsors px-4 py-6">
<h3 className="uppercase px-8 text-lg text-teal-400 font-bold font-mono">
PLATINUM SPONSORS
</h3>
<div className="flex items-center justify-evenly flex-wrap space-y-8 py-10 sm:space-y-0 sm:py-0 sm:flex-nowrap">
{platinum.map((sponsor, idx) => {
const { image, link, title } = sponsor;
return (
<div className="" key={idx}>
<Link href={link} target="_blank" rel="noreffer">
<Image src={image} alt={title} width={200} height={50} />
</Link>
</div>
);
})}
</div>
</div>
<div className="diamond-sponsors px-4 py-6">
<h3 className="uppercase px-8 text-lg text-pink-500 font-bold font-mono">
Diamond Sponsor
</h3>
<div className="flex items-center justify-evenly flex-wrap space-y-8 py-10 sm:space-y-0 sm:py-0 sm:flex-nowrap">
{diamond.map((sponsor, idx) => {
const { image, link, title } = sponsor;
return (
<div className="" key={idx}>
<Link href={link} target="_blank" rel="noreffer">
<Image src={image} alt={title} width={200} height={50} />
</Link>
</div>
);
})}
</div>
</div>
<div className="gold-sponsors px-4 py-6">
<h3 className="uppercase px-8 text-lg text-yellow-500 font-bold font-mono">
Gold Sponsor
</h3>
<div className="flex items-center justify-evenly flex-wrap space-y-8 py-10 sm:space-y-0 sm:py-0 sm:flex-nowrap">
{gold.map((sponsor, idx) => {
const { image, link, title } = sponsor;
return (
<div className="" key={idx}>
<Link href={link} target="_blank" rel="noreffer">
<Image src={image} alt={title} width={100} height={50} />
</Link>
</div>
);
})}
</div>
</div>
<div className="silver-sponsors px-4 py-6">
<h3 className="uppercase px-8 text-lg text-gray-300 font-bold font-mono">
SILVER PARTNERS
</h3>
<div className="flex items-center justify-evenly flex-wrap space-y-8 py-10 sm:space-y-0 sm:py-0 sm:flex-nowrap">
{silver.map((sponsor, idx) => {
const { image, link, title } = sponsor;
return (
<div className="" key={idx}>
<Link href={link} target="_blank" rel="noreffer">
<Image src={image} alt={title} width={100} height={50} />
</Link>
</div>
);
})}
</div>
</div>
</div>
</div>
</main>
);
};
export default Patners;