-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhero.tsx
More file actions
42 lines (38 loc) · 1.5 KB
/
Copy pathhero.tsx
File metadata and controls
42 lines (38 loc) · 1.5 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
import { FiNavigation, FiSearch, FiUserPlus } from "react-icons/fi"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"
export function Hero() {
return (
<main className="flex w-full justify-center px-4 sm:px-6">
<section className="flex min-h-screen w-full flex-col justify-between py-8 sm:py-12">
<div className="flex flex-1 flex-col items-center justify-center gap-10 text-center md:gap-16">
<h1 className="typo-display-medium lg:typo-display-large max-w-5xl text-text-primary">
Trova gruppi, risorse e supporto
<br className="hidden md:block" />
<span className="md:block">tra gli studenti del Polimi</span>
</h1>
<div className="flex w-full flex-col items-center gap-8 md:gap-16">
<Input
icon={<FiSearch className="h-5 w-5" />}
type="text"
placeholder="Find your group"
aria-label="Find your group"
containerClassName="max-w-xl"
className="typo-body-medium"
/>
<Button variant="primary" size="lg">
More groups
<FiNavigation />
</Button>
</div>
</div>
<div className="flex justify-center md:justify-end">
<Button variant="tertiaryBlur" size="lg" className="text-blue-secondary">
<FiUserPlus />
Sei una matricola?
</Button>
</div>
</section>
</main>
)
}