Skip to content

Commit 5ab5f9e

Browse files
committed
Merge branch 'ts-migrate' of https://github.com/asyncapi/conference-website into ts-migrate
2 parents cb6d37a + c745ed6 commit 5ab5f9e

4 files changed

Lines changed: 38 additions & 25 deletions

File tree

components/Sponsors/sponsors.tsx

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -49,31 +49,33 @@ function Sponsors({ eventSponsors, financialSponsor }: ISponsors) {
4949
</div>
5050
))}
5151
</div>
52-
<div className=" flex space-y-2 flex-col items-center justify-center text-white text-2xl font-bold">
53-
<div className="flex flex-col space-y-6">
54-
{financialSponsor && (
55-
<div>
56-
<Heading
57-
typeStyle="heading-md"
58-
className="text-gray-800 mb-12 sm:text-2xl"
52+
<div>
53+
{financialSponsor && (
54+
<div>
55+
<Heading
56+
typeStyle="heading-md"
57+
className="text-gray-800 mb-12 sm:text-2xl"
58+
>
59+
Financial Sponsor
60+
</Heading>
61+
{financialSponsor.map((sponsor: EventSponsor) => (
62+
<div
63+
key={sponsor.image}
64+
className="w-[300px] h-[150px] flex justify-center items-center"
5965
>
60-
Financial Sponsor
61-
</Heading>
62-
{financialSponsor.map((sponsor: EventSponsor) => (
63-
<div key={sponsor.image}>
64-
<Link href={sponsor.websiteUrl} target="_blank">
65-
<Image
66-
src={sponsor.image}
67-
alt={sponsor.image}
68-
height={210}
69-
width={300}
70-
/>
71-
</Link>
72-
</div>
73-
))}
74-
</div>
75-
)}
76-
</div>
66+
<Link href={sponsor.websiteUrl} target="_blank">
67+
<Image
68+
src={sponsor.image}
69+
alt={sponsor.image}
70+
height={120}
71+
width={260}
72+
className="object-contain"
73+
/>
74+
</Link>
75+
</div>
76+
))}
77+
</div>
78+
)}
7779
</div>
7880
</div>
7981
</div>

config/tickets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"id": 3,
3636
"type": "Lagos, Nigeria",
3737
"price": 0,
38-
"url": null,
38+
"url": "https://apiconf.net/register",
3939
"description": "Access to all conference talks and workshops",
4040
"status": "Not Yet Available",
4141
"available": 50,

pages/index.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,17 @@ export default function Home() {
262262
websiteUrl: 'https://apiconf.net/',
263263
},
264264
]}
265+
financialSponsor={[
266+
{
267+
image: '/img/logos/IBM.png',
268+
websiteUrl: 'https://www.ibm.com/',
269+
},
270+
{
271+
image: '/img/logos/graviteeio-logo.webp',
272+
273+
websiteUrl: 'https://www.gravitee.io/',
274+
},
275+
]}
265276
/>
266277
</div>
267278
<div className="mt-5">
3.77 KB
Loading

0 commit comments

Comments
 (0)