Make header icon & name changeable
parent
790f79d966
commit
e604b83965
|
|
@ -24,7 +24,7 @@ export default function Header() {
|
||||||
<div>
|
<div>
|
||||||
<a href="https://github.com/lyc8503/UptimeFlare" target="_blank">
|
<a href="https://github.com/lyc8503/UptimeFlare" target="_blank">
|
||||||
<Text size="xl" span>
|
<Text size="xl" span>
|
||||||
🕒
|
{pageConfig.header-icon}
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
size="xl"
|
size="xl"
|
||||||
|
|
@ -33,7 +33,7 @@ export default function Header() {
|
||||||
variant="gradient"
|
variant="gradient"
|
||||||
gradient={{ from: 'blue', to: 'cyan', deg: 90 }}
|
gradient={{ from: 'blue', to: 'cyan', deg: 90 }}
|
||||||
>
|
>
|
||||||
UptimeFlare
|
{pageConfig.header}
|
||||||
</Text>
|
</Text>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ import { MaintenanceConfig, PageConfig, WorkerConfig } from './types/config'
|
||||||
const pageConfig: PageConfig = {
|
const pageConfig: PageConfig = {
|
||||||
// Title for your status page
|
// Title for your status page
|
||||||
title: "lyc8503's 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 shown at the header of your status page, could set `highlight` to `true`
|
||||||
links: [
|
links: [
|
||||||
{ link: 'https://github.com/lyc8503', label: 'GitHub' },
|
{ link: 'https://github.com/lyc8503', label: 'GitHub' },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue