Skip to content

Commit 3db7698

Browse files
committed
Basic design for server listing page
1 parent 2f5a198 commit 3db7698

File tree

1 file changed

+91
-2
lines changed

1 file changed

+91
-2
lines changed
Lines changed: 91 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,96 @@
11
import React from 'react';
2+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3+
import { faServer } from '@fortawesome/free-solid-svg-icons/faServer';
4+
import { faMicrochip } from '@fortawesome/free-solid-svg-icons/faMicrochip';
5+
import { faMemory } from '@fortawesome/free-solid-svg-icons/faMemory';
6+
import { faHdd } from '@fortawesome/free-solid-svg-icons/faHdd';
7+
import { faEthernet } from '@fortawesome/free-solid-svg-icons/faEthernet';
28

39
export default () => (
4-
<div>
5-
<p>Dashboard</p>
10+
<div className={'my-10'}>
11+
<div className={'flex cursor-pointer items-center bg-neutral-700 p-4 border border-transparent hover:border-neutral-500'}>
12+
<div className={'rounded-full bg-neutral-500 p-3'}>
13+
<FontAwesomeIcon icon={faServer}/>
14+
</div>
15+
<div className={'w-1/2 ml-4'}>
16+
<p className={'text-lg'}>Party Parrots</p>
17+
</div>
18+
<div className={'flex flex-1 items-baseline justify-around'}>
19+
<div className={'flex ml-4'}>
20+
<FontAwesomeIcon icon={faEthernet} className={'text-neutral-500'}/>
21+
<p className={'text-sm text-neutral-400 ml-2'}>
22+
192.168.100.100:25565
23+
</p>
24+
</div>
25+
<div className={'flex ml-4'}>
26+
<FontAwesomeIcon icon={faMicrochip} className={'text-neutral-500'}/>
27+
<p className={'text-sm text-neutral-400 ml-2'}>
28+
34.6%
29+
</p>
30+
</div>
31+
<div className={'ml-4'}>
32+
<div className={'flex'}>
33+
<FontAwesomeIcon icon={faMemory} className={'text-neutral-500'}/>
34+
<p className={'text-sm text-neutral-400 ml-2'}>
35+
2094 MB
36+
</p>
37+
</div>
38+
<p className={'text-xs text-neutral-600 text-center mt-1'}>of 4096 MB</p>
39+
</div>
40+
<div className={'ml-4'}>
41+
<div className={'flex'}>
42+
<FontAwesomeIcon icon={faHdd} className={'text-neutral-500'}/>
43+
<p className={'text-sm text-neutral-400 ml-2'}>
44+
278 MB
45+
</p>
46+
</div>
47+
<p className={'text-xs text-neutral-600 text-center mt-1'}>of 16 GB</p>
48+
</div>
49+
</div>
50+
</div>
51+
<div className={'flex mt-px cursor-pointer items-center bg-neutral-700 p-4 border border-transparent hover:border-neutral-500'}>
52+
<div className={'rounded-full bg-neutral-500 p-3'}>
53+
<FontAwesomeIcon icon={faServer}/>
54+
</div>
55+
<div className={'w-1/2 ml-4'}>
56+
<p className={'text-lg'}>My Factions Server</p>
57+
<p className={'text-neutral-400 text-xs mt-1'}>
58+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
59+
et dolore magna aliqua.
60+
</p>
61+
</div>
62+
<div className={'flex flex-1 items-baseline justify-around'}>
63+
<div className={'flex ml-4'}>
64+
<FontAwesomeIcon icon={faEthernet} className={'text-neutral-500'}/>
65+
<p className={'text-sm text-neutral-400 ml-2'}>
66+
192.168.202.10:34556
67+
</p>
68+
</div>
69+
<div className={'flex ml-4'}>
70+
<FontAwesomeIcon icon={faMicrochip} className={'text-red-400'}/>
71+
<p className={'text-sm text-white ml-2'}>
72+
98.2 %
73+
</p>
74+
</div>
75+
<div className={'ml-4'}>
76+
<div className={'flex'}>
77+
<FontAwesomeIcon icon={faMemory} className={'text-neutral-500'}/>
78+
<p className={'text-sm text-neutral-400 ml-2'}>
79+
376 MB
80+
</p>
81+
</div>
82+
<p className={'text-xs text-neutral-600 text-center mt-1'}>of 1024 MB</p>
83+
</div>
84+
<div className={'ml-4'}>
85+
<div className={'flex'}>
86+
<FontAwesomeIcon icon={faHdd} className={'text-neutral-500'}/>
87+
<p className={'text-sm text-neutral-400 ml-2'}>
88+
187 MB
89+
</p>
90+
</div>
91+
<p className={'text-xs text-neutral-600 text-center mt-1'}>of 32 GB</p>
92+
</div>
93+
</div>
94+
</div>
695
</div>
796
);

0 commit comments

Comments
 (0)