forked from asyncapi/conference-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.tsx
More file actions
61 lines (59 loc) · 2.12 KB
/
Copy pathheader.tsx
File metadata and controls
61 lines (59 loc) · 2.12 KB
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
import React, { JSX } from 'react';
import Heading from '../Typography/heading';
import Paragraph from '../Typography/paragraph';
import Button from '../Buttons/button';
import ReactSlider from '../Slider/slider';
import cities from '../../config/city-lists.json';
import Venue from '../Venue/venue';
import Announcement from '../announcement';
import Link from 'next/link';
function Header(): JSX.Element {
return (
<div className="relative">
<div className="container w-full flex items-center justify-center">
<div className="">
<div className="flex justify-center w-full mt-32">
<div className="flex flex-col justify-center items-center w-full">
<div className="my-10">
<Announcement />
</div>
<div
className="sm:w-full text-center"
data-test="landing-heading"
>
<Heading
className="leading-normal sm:leading-38px tracking-[-3px] sm:tracking-[-0.02em] font-extrabold text-gradient"
level="h1"
typeStyle="heading-lg"
>
AsyncAPI Conference 2025
</Heading>
</div>
<div className="w-[624px] sm:w-full text-center">
<Paragraph className="mt-[16px]" textColor="text-gray-200">
Join us for the AsyncAPI Conference, bringing the latest in
AsyncAPI technology to locations worldwide!
</Paragraph>
</div>
<div className="mt-[54px] relative flex items-center justify-center">
<Link href="#tickets">
<Button type="button" className="w-[250px]">
Register Now
</Button>
</Link>
</div>
</div>
</div>
</div>
</div>
<div className="mt-24">
<ReactSlider>
{cities.map((city) => {
return <Venue key={city.name} city={city} />;
})}
</ReactSlider>
</div>
</div>
);
}
export default Header;