|
1
|
import { HeadlineTags, ShadedBlock } from "docs-ui" |
|
2
|
|
|
3
|
const HomepageTopSection = () => { |
|
4
|
return ( |
|
5
|
<div className="w-full py-4 px-2 flex flex-col gap-0.75 justify-center items-center"> |
|
6
|
<HeadlineTags |
|
7
|
tags={[ |
|
8
|
"Medusa Documentation", |
|
9
|
{ |
|
10
|
text: "Introduction", |
|
11
|
link: "/learn", |
|
12
|
}, |
|
13
|
]} |
|
14
|
/> |
|
15
|
<div className="flex-col gap-0.75 justify-center items-center hidden md:flex"> |
|
16
|
<h2 className="text-display text-center"> |
|
17
|
Learn how to build Medusa projects. |
|
18
|
</h2> |
|
19
|
<div className="flex gap-1 w-full items-center"> |
|
20
|
<ShadedBlock className="w-full min-h-[44px]" /> |
|
21
|
<h2 className="text-display min-w-max">Explore our guides.</h2> |
|
22
|
</div> |
|
23
|
</div> |
|
24
|
<div className="flex flex-col gap-0.75 justify-center items-center md:hidden"> |
|
25
|
<h2 className="text-display text-center"> |
|
26
|
Learn how to build Medusa projects. Explore our guides. |
|
27
|
</h2> |
|
28
|
<ShadedBlock className="w-full min-h-[44px]" /> |
|
29
|
</div> |
|
30
|
</div> |
|
31
|
) |
|
32
|
} |
|
33
|
|
|
34
|
export default HomepageTopSection |