move last update text
This commit is contained in:
19
src/App.css
19
src/App.css
@@ -53,11 +53,11 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
font-weight: 500;
|
font-weight: 200;
|
||||||
}
|
}
|
||||||
|
|
||||||
.developer {
|
.developer {
|
||||||
font-size: x-small;
|
font-size: medium;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,6 +73,14 @@ body {
|
|||||||
width: 1em;
|
width: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gov-logo-1 {
|
||||||
|
width: 1.79em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.gov-logo-3 {
|
||||||
|
width: 1.79em;
|
||||||
|
}
|
||||||
|
|
||||||
.title-text {
|
.title-text {
|
||||||
margin: 0 1em 0 1em;
|
margin: 0 1em 0 1em;
|
||||||
font-size: medium;
|
font-size: medium;
|
||||||
@@ -288,12 +296,17 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nscm-logo {
|
.nscm-logo {
|
||||||
width: 2.5em;
|
width: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gov-logo {
|
.gov-logo {
|
||||||
width: 2.5em;
|
width: 2.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.gov-logo-3 {
|
||||||
|
width: 2.5em;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 2560px) {
|
@media screen and (min-width: 2560px) {
|
||||||
|
|||||||
13
src/App.js
13
src/App.js
@@ -101,13 +101,12 @@ function App() {
|
|||||||
<div>
|
<div>
|
||||||
<div class='dashboard-title'>
|
<div class='dashboard-title'>
|
||||||
<img className="nscm-logo" src={require('./logo_nobg.png')} />
|
<img className="nscm-logo" src={require('./logo_nobg.png')} />
|
||||||
<div className='title-text'>HPOS Sickel Cell Test Dashboard</div>
|
<div className='title-text'>HPOS Sickel Cell Test Dashboard</div>
|
||||||
<img className="gov-logo" src={require('./gov_logo2.png')} />
|
<img className="gov-logo-1" src={require('./gov_logo2.png')} />
|
||||||
<img className="gov-logo" src={require('./gov_logo3.png')} />
|
<img className="gov-logo" src={require('./gov_logo3.png')} />
|
||||||
|
<img className="gov-logo-3" src={require('./gov_logo4.png')} />
|
||||||
</div>
|
</div>
|
||||||
<div className='last-update'>
|
|
||||||
Updated At: {Date(lastUpdate).toLocaleString()}
|
|
||||||
</div>
|
|
||||||
<div className='cards-container'>
|
<div className='cards-container'>
|
||||||
<div className='cards-row'>
|
<div className='cards-row'>
|
||||||
<Card title={"Screened"} counter={totalScreened} color={'black'} backgroundColor={'rgb(254, 240, 227)'} />
|
<Card title={"Screened"} counter={totalScreened} color={'black'} backgroundColor={'rgb(254, 240, 227)'} />
|
||||||
@@ -121,6 +120,10 @@ function App() {
|
|||||||
<Card title={"Disease"} counter={diseases} backgroundColor={'rgb(249, 195, 195)'} />
|
<Card title={"Disease"} counter={diseases} backgroundColor={'rgb(249, 195, 195)'} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div className='last-update'>
|
||||||
|
Updated At: {Date(lastUpdate).toLocaleString()}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div className='developer'>
|
<div className='developer'>
|
||||||
Developed by <img className="dev-logo" src={require('./smi-logo-120x120.webp')} /> ShanMukha
|
Developed by <img className="dev-logo" src={require('./smi-logo-120x120.webp')} /> ShanMukha
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 225 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 118 KiB |
BIN
src/gov_logo4.png
Normal file
BIN
src/gov_logo4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
Reference in New Issue
Block a user