@@ -5,65 +5,71 @@ import ContentBox from '@/components/elements/ContentBox';
55export default class DesignElementsContainer extends React . PureComponent {
66 render ( ) {
77 return (
8- < div className = { 'my-10' } >
9- < div className = { 'flex' } >
10- < ContentBox className = { 'flex-1 mr-4' } title = { 'A Special Announcement' } borderColor = { 'border-primary-400' } >
11- < p className = { 'text-neutral-200 text-sm' } >
12- Your demands have been received: Dark Mode will be default in Pterodactyl 0.8!
13- </ p >
14- < p > < Link to = { '/' } > Back</ Link > </ p >
15- </ ContentBox >
16- < div className = { 'ml-4 flex-1' } >
17- < h2 className = { 'text-neutral-300 mb-2 px-4' } > Form Elements</ h2 >
18- < div className = { 'bg-neutral-700 p-4 rounded shadow-lg border-t-4 border-primary-400' } >
19- < label className = { 'uppercase text-neutral-200' } > Email</ label >
20- < input type = { 'text' } className = { 'input-dark' } />
21- < p className = { 'input-help' } >
22- This is some descriptive helper text to explain how things work.
8+ < React . Fragment >
9+ < div className = { 'my-10' } >
10+ < div className = { 'flex' } >
11+ < ContentBox
12+ className = { 'flex-1 mr-4' }
13+ title = { 'A Special Announcement' }
14+ borderColor = { 'border-primary-400' }
15+ >
16+ < p className = { 'text-neutral-200 text-sm' } >
17+ Your demands have been received: Dark Mode will be default in Pterodactyl 0.8!
2318 </ p >
24- < div className = { 'mt-6' } />
25- < label className = { 'uppercase text-neutral-200' } > Username</ label >
26- < input type = { 'text' } className = { 'input-dark error' } />
27- < p className = { 'input-help' } >
28- This field has an error.
29- </ p >
30- < div className = { 'mt-6' } />
31- < label className = { 'uppercase text-neutral-200' } > Disabled Field</ label >
32- < input type = { 'text' } className = { 'input-dark' } disabled = { true } />
33- < div className = { 'mt-6' } />
34- < label className = { 'uppercase text-neutral-200' } > Textarea</ label >
35- < textarea className = { 'input-dark h-32' } > </ textarea >
36- < div className = { 'mt-6' } />
37- < button className = { 'btn btn-primary btn-sm' } >
38- Blue
39- </ button >
40- < button className = { 'btn btn-grey btn-sm ml-2' } >
41- Grey
42- </ button >
43- < button className = { 'btn btn-green btn-sm ml-2' } >
44- Green
45- </ button >
46- < button className = { 'btn btn-red btn-sm ml-2' } >
47- Red
48- </ button >
49- < div className = { 'mt-6' } />
50- < button className = { 'btn btn-secondary btn-sm' } >
51- Secondary
52- </ button >
53- < button className = { 'btn btn-secondary btn-red btn-sm ml-2' } >
54- Secondary Danger
55- </ button >
56- < div className = { 'mt-6' } />
57- < button className = { 'btn btn-primary btn-lg' } >
58- Large
59- </ button >
60- < button className = { 'btn btn-primary btn-xs ml-2' } >
61- Tiny
62- </ button >
19+ < p > < Link to = { '/' } > Back</ Link > </ p >
20+ </ ContentBox >
21+ < div className = { 'ml-4 flex-1' } >
22+ < h2 className = { 'text-neutral-300 mb-2 px-4' } > Form Elements</ h2 >
23+ < div className = { 'bg-neutral-700 p-4 rounded shadow-lg border-t-4 border-primary-400' } >
24+ < label className = { 'uppercase text-neutral-200' } > Email</ label >
25+ < input type = { 'text' } className = { 'input-dark' } />
26+ < p className = { 'input-help' } >
27+ This is some descriptive helper text to explain how things work.
28+ </ p >
29+ < div className = { 'mt-6' } />
30+ < label className = { 'uppercase text-neutral-200' } > Username</ label >
31+ < input type = { 'text' } className = { 'input-dark error' } />
32+ < p className = { 'input-help' } >
33+ This field has an error.
34+ </ p >
35+ < div className = { 'mt-6' } />
36+ < label className = { 'uppercase text-neutral-200' } > Disabled Field</ label >
37+ < input type = { 'text' } className = { 'input-dark' } disabled = { true } />
38+ < div className = { 'mt-6' } />
39+ < label className = { 'uppercase text-neutral-200' } > Textarea</ label >
40+ < textarea className = { 'input-dark h-32' } > </ textarea >
41+ < div className = { 'mt-6' } />
42+ < button className = { 'btn btn-primary btn-sm' } >
43+ Blue
44+ </ button >
45+ < button className = { 'btn btn-grey btn-sm ml-2' } >
46+ Grey
47+ </ button >
48+ < button className = { 'btn btn-green btn-sm ml-2' } >
49+ Green
50+ </ button >
51+ < button className = { 'btn btn-red btn-sm ml-2' } >
52+ Red
53+ </ button >
54+ < div className = { 'mt-6' } />
55+ < button className = { 'btn btn-secondary btn-sm' } >
56+ Secondary
57+ </ button >
58+ < button className = { 'btn btn-secondary btn-red btn-sm ml-2' } >
59+ Secondary Danger
60+ </ button >
61+ < div className = { 'mt-6' } />
62+ < button className = { 'btn btn-primary btn-lg' } >
63+ Large
64+ </ button >
65+ < button className = { 'btn btn-primary btn-xs ml-2' } >
66+ Tiny
67+ </ button >
68+ </ div >
6369 </ div >
6470 </ div >
6571 </ div >
66- </ div >
72+ </ React . Fragment >
6773 ) ;
6874 }
6975}
0 commit comments