diff --git a/components/Footer.tsx b/components/Footer.tsx
index 9153254..eaac687 100644
--- a/components/Footer.tsx
+++ b/components/Footer.tsx
@@ -1,31 +1,13 @@
-import { Divider, Text } from '@mantine/core'
+import { Divider } from '@mantine/core'
+import { pageConfig } from '@/uptime.config'
export default function Footer() {
+ const defaultFooter = '
Open-source monitoring and status page powered by Uptimeflare, made with ❤ by lyc8503.
'
+
return (
<>
-
- Open-source monitoring and status page powered by{' '}
-
- Uptimeflare
- {' '}
- and{' '}
-
- Cloudflare
-
- , made with ❤ by{' '}
-
- lyc8503
-
- .
-
+
>
)
}
diff --git a/types/config.ts b/types/config.ts
index 4ae7aa6..5d4851a 100644
--- a/types/config.ts
+++ b/types/config.ts
@@ -8,6 +8,7 @@ export type PageConfig = {
maintenances?: {
upcomingColor?: string
}
+ customFooter?: string
}
export type MaintenanceConfig = {
diff --git a/uptime.config.full.ts b/uptime.config.full.ts
index 682d358..9dd5e12 100644
--- a/uptime.config.full.ts
+++ b/uptime.config.full.ts
@@ -24,6 +24,8 @@ const pageConfig: PageConfig = {
// Active alerts will always use the color specified in the MaintenanceConfig
upcomingColor: 'gray',
},
+ // [OPTIONAL] Custom footer html
+ // customFooter: '',
}
const workerConfig: WorkerConfig = {