-
Notifications
You must be signed in to change notification settings - Fork 0
/
Header.tsx
43 lines (42 loc) · 1.99 KB
/
Header.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
import { Container } from '@/app/common/Container'
import { Logo } from '@/app/common/Logo'
import { Button } from '@/app/holdings/components/Button'
export function Header() {
return (
<header className="relative z-50 flex-none border-b border-primary-500 bg-white lg:pt-6">
<Container className="flex flex-wrap items-center justify-center text-center sm:justify-between lg:flex-nowrap">
<div className="pt-8 lg:hidden">
<div className="flex justify-center">
<Logo className="mb-8 h-12 w-auto text-primary-500" />
</div>
<div className="grid grid-cols-2 items-center">
<div className="-my-px rounded-t-3xl border border-b-0 border-primary-500 bg-primary-50 px-8 py-4 text-xl font-bold uppercase">
Holdings
</div>
<a
className="rounded text-xl font-bold uppercase text-primary-800 focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500"
href="https://chowdhary.org"
>
Foundation
</a>
</div>
</div>
<div className="mt-10 hidden items-center gap-8 lg:mt-0 lg:flex lg:grow lg:basis-0">
<div className="-my-px flex items-center gap-4 rounded-t-3xl border border-b-0 border-primary-500 bg-primary-50 px-8 py-4">
<Logo className="h-12 w-auto text-primary-500" />
<div className="text-xl font-bold uppercase">Holdings</div>
</div>
<a
className="rounded text-xl font-bold uppercase text-primary-800 focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-500"
href="https://chowdhary.org"
>
Foundation
</a>
</div>
<div className="hidden sm:mt-10 sm:flex lg:mt-0 lg:grow lg:basis-0 lg:justify-end">
<Button href="#apply">Apply for an investment</Button>
</div>
</Container>
</header>
)
}