1
+ export function CardWithTabs ( ) {
2
+ return (
3
+ < div className = "relative flex flex-col my-6 bg-white shadow-sm border border-slate-200 rounded-lg w-96 p-2" >
4
+ < div className = "w-full" >
5
+ < ul className = "relative flex flex-wrap px-1.5 py-1.5 list-none rounded-md bg-slate-100" data-tabs = "tabs" role = "list" >
6
+ < li className = "z-30 flex-auto text-center" >
7
+ < a className = "flex items-center justify-center w-full px-0 py-2 text-sm mb-0 transition-all ease-in-out border-0 rounded-md cursor-pointer text-slate-600 bg-inherit"
8
+ data-tab-target = "" role = "tab" aria-selected = "true" aria-controls = "dashboard" >
9
+ Dashboard
10
+ </ a >
11
+ </ li >
12
+ < li className = "z-30 flex-auto text-center" >
13
+ < a className = "flex items-center justify-center w-full px-0 py-2 mb-0 text-sm transition-all ease-in-out border-0 rounded-lg cursor-pointer text-slate-600 bg-inherit"
14
+ data-tab-target = "" role = "tab" aria-selected = "false" aria-controls = "profile" >
15
+ Profile
16
+ </ a >
17
+ </ li >
18
+ < li className = "z-30 flex-auto text-center" >
19
+ < a className = "flex items-center justify-center w-full px-0 py-2 text-sm mb-0 transition-all ease-in-out border-0 rounded-lg cursor-pointer text-slate-700 bg-inherit"
20
+ data-tab-target = "" role = "tab" aria-selected = "false" aria-controls = "settings" >
21
+ Settings
22
+ </ a >
23
+ </ li >
24
+ </ ul >
25
+
26
+ < div data-tab-content = "" className = "p-3" >
27
+ < div id = "dashboard" role = "tabpanel" >
28
+ < h5 className = "mb-2 text-slate-800 text-xl font-semibold" >
29
+ Website Review Check Text
30
+ </ h5 >
31
+ < p className = "text-slate-600 leading-normal font-light" >
32
+ Because it's about motivating the doers. Because I'm
33
+ here to follow my dreams and inspire other people to follow their
34
+ dreams, too.
35
+ </ p >
36
+ </ div >
37
+ < div className = "hidden opacity-0" id = "profile" role = "tabpanel" >
38
+ < h5 className = "mb-2 text-slate-800 text-xl font-semibold" >
39
+ The place is close to Barceloneta
40
+ </ h5 >
41
+ < p className = "text-slate-600 leading-normal font-light" >
42
+ The reading of all good books is like a conversation with the
43
+ finest minds of past centuries. Follow my dreams and inspire other people.
44
+ </ p >
45
+ </ div >
46
+ < div className = "hidden opacity-0" id = "settings" role = "tabpanel" >
47
+ < h5 className = "mb-2 text-slate-800 text-xl font-semibold" >
48
+ Close to Barceloneta
49
+ </ h5 >
50
+ < p className = "text-slate-600 leading-normal font-light" >
51
+ Comparing yourself to others is the thief of joy.
52
+ The reading of all good books is like a conversation
53
+ </ p >
54
+ </ div >
55
+ </ div >
56
+ </ div >
57
+ </ div >
58
+ ) ;
59
+ }
0 commit comments