File tree Expand file tree Collapse file tree 2 files changed +38
-26
lines changed
Expand file tree Collapse file tree 2 files changed +38
-26
lines changed Original file line number Diff line number Diff line change 11html ,
2- body ,
3- # root {
2+ body {
43 height : 100% ;
54 margin : 0 ;
65 padding : 0 ;
109 display : flex;
1110 flex-direction : column;
1211 width : 100% ;
12+ height : 100% ;
13+ margin : 0 ;
14+ padding : 0 ;
15+ display : flex;
16+ flex-direction : column;
17+ width : 100% ;
1318}
1419
1520.app-container {
2530 width : 100% ;
2631}
2732
28- .status-card {
29- border : 1px solid # 444 ;
30- border-radius : 8px ;
31- background-color : black;
32- padding : 16px ;
33- text-align : center;
34- }
35-
3633.mono-text {
3734 font-family : monospace;
3835 font-size : 14px ;
6057 border : 1px solid # 333 ;
6158 border-radius : 12px ;
6259 background-color : # 222 ;
63- text-align : center;
6460}
6561
6662.counter-count {
@@ -84,14 +80,33 @@ body,
8480 gap : 1rem ;
8581}
8682
83+ .top-grid {
84+ display : grid;
85+ grid-template-columns : repeat (auto-fit, minmax (250px , 1fr ));
86+ gap : 1rem ;
87+ margin-bottom : 1.5rem ;
88+ }
89+
8790.status-card ,
91+ .logo-card ,
8892.links-card {
89- flex : 1 ;
90- min-width : 300px ;
9193 padding : 1rem ;
9294 border : 1px solid # ddd ;
9395 border-radius : 8px ;
94- text-align : center;
96+ box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.1 );
97+ }
98+
99+ .logo-card {
100+ display : flex;
101+ justify-content : center;
102+ align-items : center;
103+ border : none;
104+ }
105+
106+ .logo-image {
107+ max-width : 100% ;
108+ max-height : 150px ;
109+ object-fit : contain;
95110}
96111
97112.links-card ul {
@@ -112,13 +127,6 @@ body,
112127 text-decoration : underline;
113128}
114129
115- .counter-grid {
116- display : grid;
117- gap : 1rem ;
118- }
119-
120- .counter-card {
121- padding : 1rem ;
122- border : 1px solid # ddd ;
123- border-radius : 8px ;
130+ h3 {
131+ margin-top : 0 ;
124132}
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ function App() {
108108
109109 return (
110110 < div className = "app-container" >
111- { /* Top row with Status and Helpful Links cards */ }
112- < div className = "top-row " >
111+ { /* Top row with Status, Logo, and Helpful Links in a grid like counter-grid */ }
112+ < div className = "top-grid " >
113113 < div className = "status-card" >
114114 < h3 > PowerSync Status</ h3 >
115115 < div className = "mono-text" >
@@ -141,6 +141,10 @@ function App() {
141141 </ div >
142142 </ div >
143143
144+ < div className = "logo-card" >
145+ < img src = "/icons/icon.png" alt = "Logo" className = "logo-image" />
146+ </ div >
147+
144148 < div className = "links-card" >
145149 < h3 > Helpful Links</ h3 >
146150 < ul className = "links-list" >
@@ -149,7 +153,7 @@ function App() {
149153 PowerSync Documentation
150154 </ a >
151155 </ li >
152- < li >
156+ < li >
153157 < a href = "https://accounts.journeyapps.com/portal" target = "_blank" rel = "noopener noreferrer" >
154158 PowerSync Dashboard Portal
155159 </ a >
You can’t perform that action at this time.
0 commit comments