1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2024-11-23 22:45:43 +01:00

Merge pull request #21 from aexvir/aexvir/monitor-ui-links

chore: make monitor title link to the monitored url
This commit is contained in:
Adam Janiš 2020-11-23 16:19:12 +01:00 committed by GitHub
commit 7baab0475e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ export default function MonitorCard({ key, monitor, data }) {
</div> </div>
</div> </div>
)} )}
<div className="text-xl">{monitor.name}</div> <a href={monitor.url} target="_blank"><div className="text-xl">{monitor.name}</div></a>
</div> </div>
<MonitorStatusLabel kvMonitor={data} /> <MonitorStatusLabel kvMonitor={data} />
</div> </div>