1
0
mirror of https://github.com/ebosas/microservices.git synced 2025-06-30 22:33:51 +02:00

Build messages page, cache API

This commit is contained in:
ebosas
2021-10-07 16:23:34 +03:00
parent ed3ce70b37
commit 866aff9f75
9 changed files with 213 additions and 41 deletions

View File

@ -71,13 +71,14 @@ function Home() {
<div className="row">
<div className="col col-md-8 col-lg-6 mx-auto">
<Form sendMessage={sendMessage} />
</div>
</div>
</div>
</div>
<div id="notifications" className="position-absolute top-0 start-0 w-100">
<div className="row">
<div className="col col-md-8 col-lg-6 mx-auto">
{alerts.map((alert) => (
// TODO: duplicate keys possible
<Alert key={alert.time} alert={alert} />
))}
</div>