@@ -10,25 +10,7 @@ const Container = styled.div`
1010 display: flex;
1111 flex-direction: row;
1212 margin: auto auto;
13- width: 900px;
14- padding-left: 64px;
15- `
16-
17- const MainButton = styled . div `
18- height: 64px;
19- width: 348px;
20- border-radius: 16px;
21- background: var(--ghostAZ);
22- cursor: pointer;
23- /* background: linear-gradient(170deg, #211d23, #1c181e);
24- box-shadow: 6px 6px 12px #1a171c, -6px -6px 12px #241f26; */
25- /* box-shadow: 20px 20px 60px #1e1a21, -20px -20px 60px #28242d; */
26- /* box-shadow: 4px 4px 6px var(--ghostA), -4px -4px 6px var(--ghostC); */
27- /* box-shadow: -6px 6px 12px var(--ghostA), 5px -5px 12px #ffffff, inset -6px 6px 12px var(--ghostC),
28- inset -5px -5px 14px rgba(255, 255, 255, 0.15); */
29- &:hover {
30- background: var(--ghostA);
31- }
13+ min-width: 900px;
3214`
3315
3416class Settings extends React . Component {
@@ -113,33 +95,28 @@ class Settings extends React.Component {
11395}
11496
11597const HomeCenter = styled . div `
116- height: 400px;
11798 width: 65%;
118- min-height: 100%;
11999 border-radius: 16px;
120100`
121101const HomeRight = styled . div `
122102 width: 35%;
123- min-height: 550px;
124103 border-radius: 16px;
125- background: var(--ghostA );
104+ border: 2px solid var(--ghostX );
126105 margin-left: 16px;
127- display: flex;
128- justify-content: center;
129- align-items: center;
130106`
107+
131108const CommandBar = styled . div `
132109 height: 64px;
133110 width: 100%;
134111 border-radius: 16px;
135- background: var(--ghostA );
112+ background: var(--ghostAZ );
136113 margin-bottom: 16px;
137114`
138115const Portfolio = styled . div `
139- height: 200px ;
116+ height: 300px ;
140117 width: 100%;
141118 border-radius: 16px;
142- background: var(--ghostA );
119+ border: 2px solid var(--ghostX );
143120 margin-bottom: 16px;
144121 display: flex;
145122 justify-content: center;
@@ -150,32 +127,53 @@ const AssetList = styled.div`
150127 height: 200px;
151128 width: 100%;
152129 border-radius: 16px;
153- background: var(--ghostA );
130+ border: 2px solid var(--ghostX );
154131 margin-bottom: 16px;
155132 display: flex;
156133 justify-content: center;
157134 align-items: center;
158135`
159136
137+ const ActivityItem = styled . div `
138+ height: 32px;
139+ width: 100%;
140+ border-bottom: 1px solid var(--ghostX);
141+ display: flex;
142+ justify-content: center;
143+ align-items: center;
144+ font-size: 12px;
145+ `
146+
160147const Home = ( { data } ) => (
161- < Container >
162- { data . station === 'command' ? (
163- < CommandBar />
164- ) : data . station === 'dashboard' ? (
165- < >
166- < HomeCenter >
167- < Portfolio > Value</ Portfolio >
168- < AssetList > Assets</ AssetList >
169- < AssetList > Inventory</ AssetList >
170- </ HomeCenter >
171- < HomeRight >
172- < div > { 'Account activity' } </ div >
173- </ HomeRight >
174- </ >
175- ) : (
176- < pre > { JSON . stringify ( data , null , 4 ) } </ pre >
177- ) }
178- </ Container >
148+ < >
149+ < Container >
150+ { data . station === 'command' ? (
151+ < CommandBar />
152+ ) : data . station === 'dashboard' ? (
153+ < >
154+ < HomeCenter >
155+ < Portfolio > Value</ Portfolio >
156+ < AssetList > Assets</ AssetList >
157+ < AssetList > Inventory</ AssetList >
158+ </ HomeCenter >
159+ < HomeRight >
160+ < ActivityItem > { 'Account activity' } </ ActivityItem >
161+ < ActivityItem > { 'Account activity' } </ ActivityItem >
162+ < ActivityItem > { 'Account activity' } </ ActivityItem >
163+ < ActivityItem > { 'Account activity' } </ ActivityItem >
164+ < ActivityItem > { 'Account activity' } </ ActivityItem >
165+ < ActivityItem > { 'Account activity' } </ ActivityItem >
166+ < ActivityItem > { 'Account activity' } </ ActivityItem >
167+ < ActivityItem > { 'Account activity' } </ ActivityItem >
168+ < ActivityItem > { 'Account activity' } </ ActivityItem >
169+ < ActivityItem > { 'Account activity' } </ ActivityItem >
170+ </ HomeRight >
171+ </ >
172+ ) : (
173+ < pre > { JSON . stringify ( data , null , 4 ) } </ pre >
174+ ) }
175+ </ Container >
176+ </ >
179177)
180178
181179export default Home
0 commit comments