Make header icon & name changeable

pull/116/head
m1ckyb 2025-06-02 23:50:10 +10:00 committed by GitHub
parent 790f79d966
commit e604b83965
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ export default function Header() {
<div>
<a href="https://github.com/lyc8503/UptimeFlare" target="_blank">
<Text size="xl" span>
🕒
{pageConfig.header-icon}
</Text>
<Text
size="xl"
@ -33,7 +33,7 @@ export default function Header() {
variant="gradient"
gradient={{ from: 'blue', to: 'cyan', deg: 90 }}
>
UptimeFlare
{pageConfig.header}
</Text>
</a>
</div>

View File

@ -3,6 +3,8 @@ import { MaintenanceConfig, PageConfig, WorkerConfig } from './types/config'
const pageConfig: PageConfig = {
// Title for your status page
title: "lyc8503's Status Page",
header-icon: "🕒",
header: "UptimeFlare",
// Links shown at the header of your status page, could set `highlight` to `true`
links: [
{ link: 'https://github.com/lyc8503', label: 'GitHub' },