|
1
|
import clsx from "clsx" |
|
2
|
import FrameworkSectionIcon from "./Icon" |
|
3
|
import { HeadlineTags } from "docs-ui" |
|
4
|
|
|
5
|
const HomepageFrameworkSection = () => { |
|
6
|
return ( |
|
7
|
<div className="w-full flex flex-col md:flex-row gap-0 justify-center border-b border-medusa-border-base"> |
|
8
|
<div |
|
9
|
className={clsx( |
|
10
|
"w-full md:w-1/2 lg:w-1/3 bg-medusa-bg-component p-2 flex justify-center items-center", |
|
11
|
"md:border-r border-medusa-border-base", |
|
12
|
"border-b md:border-b-0" |
|
13
|
)} |
|
14
|
> |
|
15
|
<FrameworkSectionIcon /> |
|
16
|
</div> |
|
17
|
<div |
|
18
|
className={clsx( |
|
19
|
"w-full md:w-1/2 lg:w-2/3 py-4 px-2", |
|
20
|
"flex flex-col gap-0.75 justify-center" |
|
21
|
)} |
|
22
|
> |
|
23
|
<HeadlineTags |
|
24
|
tags={[ |
|
25
|
"Framework", |
|
26
|
{ |
|
27
|
text: "Learn more", |
|
28
|
link: "/learn/fundamentals/framework", |
|
29
|
}, |
|
30
|
]} |
|
31
|
className="!justify-start" |
|
32
|
/> |
|
33
|
<h2 className="text-h1 text-medusa-fg-base lg:max-w-[450px]"> |
|
34
|
A digital commerce platform with a built-in framework for |
|
35
|
customizations. |
|
36
|
</h2> |
|
37
|
<p className="txt-large text-medusa-fg-base"> |
|
38
|
Unlike other platforms, the Medusa Framework allows you to easily |
|
39
|
customize and extend the behavior of your commerce platform to always |
|
40
|
fit your business needs. |
|
41
|
</p> |
|
42
|
</div> |
|
43
|
</div> |
|
44
|
) |
|
45
|
} |
|
46
|
|
|
47
|
export default HomepageFrameworkSection |