Skip to content

Commit

Permalink
UI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximilianGaedig committed Aug 12, 2022
1 parent a94e5b9 commit 88617f3
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
settings:
title: 'Maximilian Gaedig Status Page'
url: 'https://status.maximiliangaedig.com' # used for Slack messages
logo: logo-192x192.png # image in ./public/ folder
logo: icon.png # image in ./public/ folder
daysInHistogram: 90 # number of days you want to display in histogram
collectResponseTimes: true # collects avg response times from CRON locations

Expand Down
14 changes: 2 additions & 12 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default function Index({ config, kvMonitors, kvMonitorsLastUpdate }) {
<div className="container mx-auto px-4">
<div className="flex flex-row justify-between items-center p-4">
<div className="flex flex-row items-center">
<img className="h-8 w-auto" src={config.settings.logo} />
<img className="h-8 w-auto rounded-full" src={config.settings.logo} />
<h1 className="ml-4 text-3xl">{config.settings.title}</h1>
</div>
<div className="flex flex-row items-center">
Expand All @@ -89,22 +89,12 @@ export default function Index({ config, kvMonitors, kvMonitorsLastUpdate }) {
)
})}
<div className="flex flex-row justify-between mt-4 text-sm">
<div>
Powered by{' '}
<a href="https://workers.cloudflare.com/" target="_blank">
Cloudflare Workers{' '}
</a>
&{' '}
<a href="https://flareact.com/" target="_blank">
Flareact{' '}
</a>
</div>
<div>
<a
href="https://github.com/eidam/cf-workers-status-page"
target="_blank"
>
Get Your Status Page
cf-workers-status-page
</a>
</div>
</div>
Expand Down
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/logo-192x192.png
Binary file not shown.

0 comments on commit 88617f3

Please sign in to comment.