Skip to content

Commit 89f290d

Browse files
authored
Sponsor section: Center images section (graphql#1508)
1 parent e7b4f82 commit 89f290d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/components/Conf/Sponsors/index.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ const workshopDaySponsors: Image[] = [
9191
},
9292
]
9393

94+
const iconClassName =
95+
"flex flex-col justify-center items-center text-center w-full h-full"
96+
9497
const SponsersConf = () => {
9598
return (
9699
<div id="sponsors" className="bg-white py-10 static">
@@ -104,7 +107,7 @@ const SponsersConf = () => {
104107
{sponsorDiamond.map((sponsor, i) => (
105108
<a
106109
key={i}
107-
className="zoom-diamond flex flex-col items-center text-center w-full h-full"
110+
className={`zoom-diamond ${iconClassName}`}
108111
href={sponsor.link}
109112
target="_blank"
110113
>
@@ -121,7 +124,7 @@ const SponsersConf = () => {
121124
.map((sponsor, i) => (
122125
<a
123126
key={i}
124-
className="zoom-platinum self-center flex flex-col text-center w-full"
127+
className={`zoom-platinum ${iconClassName}`}
125128
href={sponsor.link}
126129
target="_blank"
127130
>
@@ -139,7 +142,7 @@ const SponsersConf = () => {
139142
.map((sponsor, i) => (
140143
<a
141144
key={i}
142-
className="zoom-gold flex flex-col items-center text-center w-full h-full"
145+
className={`zoom-gold ${iconClassName}`}
143146
href={sponsor.link}
144147
target="_blank"
145148
>
@@ -157,7 +160,7 @@ const SponsersConf = () => {
157160
.map((sponsor, i) => (
158161
<a
159162
key={i}
160-
className="zoom-silver flex flex-col items-center text-center w-full h-full"
163+
className={`zoom-silver ${iconClassName}`}
161164
href={sponsor.link}
162165
target="_blank"
163166
>
@@ -173,7 +176,7 @@ const SponsersConf = () => {
173176
{workshopDaySponsors.map((sponsor, i) => (
174177
<a
175178
key={i}
176-
className="zoom-platinum flex flex-col items-center text-center"
179+
className={`zoom-platinum ${iconClassName}`}
177180
href={sponsor.link}
178181
target="_blank"
179182
>

0 commit comments

Comments
 (0)