-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUXWComponent.js
More file actions
39 lines (39 loc) · 1.92 KB
/
UXWComponent.js
File metadata and controls
39 lines (39 loc) · 1.92 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
function UXWComponent(props) {
return (
<div className="container">
<div className="flex flex-row">
<div className="flex flex-col">
<p className="pb-4 max-w-prose">
Components are reusable blocks of code. Components helps building UXW’s products efficiently and consistancy.
</p>
</div>
<div className="flex-grow"></div>
</div>
<p className="pb-4 max-w-prose">
To use this components, you need to include <span className="uxw-code">uxwcore.css</span> and <span className="uxw-code">uxw.css.</span>
Read more about <RouterLink to="/introduction" target="_blank">Installation and Usage </RouterLink>to learn how this works.
</p>
<div className="flex max-w-prose p-4 my-4 uxw-bg-steel-2 rounded-lg border-black rounded-md shadow-inner"><p className="max-w-prose">Use CSS class names on your HTML elements to apply the style. You don’t need to write CSS once you included <span className="uxw-code">uxwcore.css </span> and <span className="uxw-code">uxw.css</span> on your file.</p></div>
<div className="max-w-7xl grid grid-cols-3 gap-8 my-10">
<RouterLink to="/colorclass">
<div className="py-4 px-6 bg-gray-100 text-lg font-bold rounded-lg">
<p>Color Classes</p>
<img src="assets/comp-1.svg" className="mx-auto my-10" alt="" />
</div>
</RouterLink>
<RouterLink to="/button">
<div className="py-4 px-6 bg-gray-100 text-lg font-bold rounded-lg">
<p>Button</p>
<img src="assets/comp-2.svg" className="mx-auto my-10" alt="" />
</div>
</RouterLink>
<RouterLink to="/card">
<div className="py-4 px-6 bg-gray-100 text-lg font-bold rounded-lg">
<p>Card</p>
<img src="assets/comp-3.svg" className="mx-auto my-10" alt="" />
</div>
</RouterLink>
</div>
</div>
)
}