1+ {{ #let
2+ ' mt-2 bg-white text-sm relative rounded-lg shadow-md px-5 py-4 cursor-pointer flex'
3+ ' mt-2 bg-indigo-500 text-white text-sm relative rounded-lg shadow-md px-5 py-4 cursor-pointer flex focus:outline-none focus:ring-2 focus:ring-indigo-700 focus:ring-opacity-50 focus:ring-offset-2'
4+ as |defaultClasses activeClasses |
5+ }}
6+ <div class =' w-full px-4 py-16' >
7+ <div class =' w-full max-w-md mx-auto' >
8+ <RadioGroup @value =' small' @disabled ={{ false }} as |RadioGroup|>
9+ <RadioGroup .Label class =' sr-only' >Storage Size</RadioGroup .Label>
10+ <RadioGroup .Option
11+ class ={{ if
12+ (eq RadioGroup.activeValue ' small' )
13+ activeClasses
14+ defaultClasses
15+ }}
16+ @value =' small'
17+ >
18+ <div class =' flex w-full items-center justify-between' >
19+ <div >
20+ <label class =' font-medium' >Small</label >
21+ <p >4 GB RAM / 2 CPUS / 80 GB SSD Storage</p >
22+ </div >
23+ <svg viewBox =' 0 0 24 24' fill =' none' class =' w-6 h-6' ><circle
24+ cx =' 12'
25+ cy =' 12'
26+ r =' 12'
27+ fill =' #fff'
28+ opacity =' 0.2'
29+ ></circle ><path
30+ d =' M7 13l3 3 7-7'
31+ stroke =' #fff'
32+ stroke-width =' 1.5'
33+ stroke-linecap =' round'
34+ stroke-linejoin =' round'
35+ ></path ></svg >
36+ </div >
37+ </RadioGroup .Option>
38+ <RadioGroup .Option
39+ class ={{ if
40+ (eq RadioGroup.activeValue ' medium' )
41+ activeClasses
42+ defaultClasses
43+ }}
44+ @value =' medium'
45+ >
46+ <div class =' flex w-full items-center justify-between' >
47+ <div >
48+ <label class =' font-medium' >Medium</label >
49+ <p >8 GB RAM / 4 CPUS / 160 GB SSD Storage</p >
50+ </div >
51+ <svg viewBox =' 0 0 24 24' fill =' none' class =' w-6 h-6' ><circle
52+ cx =' 12'
53+ cy =' 12'
54+ r =' 12'
55+ fill =' #fff'
56+ opacity =' 0.2'
57+ ></circle ><path
58+ d =' M7 13l3 3 7-7'
59+ stroke =' #fff'
60+ stroke-width =' 1.5'
61+ stroke-linecap =' round'
62+ stroke-linejoin =' round'
63+ ></path ></svg >
64+ </div >
65+ </RadioGroup .Option>
66+ <RadioGroup .Option
67+ class ={{ if
68+ (eq RadioGroup.activeValue ' large' )
69+ activeClasses
70+ defaultClasses
71+ }}
72+ @value =' large'
73+ >
74+ <div class =' flex w-full items-center justify-between' >
75+ <div >
76+ <label class =' font-medium' >Large</label >
77+ <p >16 GB RAM / 8 CPUS / 320 GB SSD Storage</p >
78+ </div >
79+ <svg viewBox =' 0 0 24 24' fill =' none' class =' w-6 h-6' ><circle
80+ cx =' 12'
81+ cy =' 12'
82+ r =' 12'
83+ fill =' #fff'
84+ opacity =' 0.2'
85+ ></circle ><path
86+ d =' M7 13l3 3 7-7'
87+ stroke =' #fff'
88+ stroke-width =' 1.5'
89+ stroke-linecap =' round'
90+ stroke-linejoin =' round'
91+ ></path ></svg >
92+ </div >
93+ </RadioGroup .Option>
94+ </RadioGroup >
95+ </div >
96+ </div >
97+ {{ /let }}
0 commit comments