mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Monitoring Settings Preperation
This commit is contained in:
parent
a066a74151
commit
89e22e895b
@ -7,6 +7,7 @@ import { ProfileSettings } from '@/components/cards/settings/ProfileSettings';
|
||||
import { PasswordSettings } from '@/components/cards/settings/PasswordSettings';
|
||||
import { NotificationProviderSettings } from '@/components/cards/settings/NotificationProviderSettings';
|
||||
import { NotificationSettings } from '@/components/cards/settings/NotificationSettings';
|
||||
import { MonitoringSettings } from '@/components/cards/settings/MonitoringSettings';
|
||||
import { useState } from 'react';
|
||||
|
||||
interface SettingsPageProps {
|
||||
@ -64,6 +65,19 @@ export default function SettingsPage({ username, name, email }: SettingsPageProp
|
||||
<NotificationSettings onError={setError} onSuccess={setSuccess} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<input
|
||||
type="radio"
|
||||
name="settings"
|
||||
className="tab text-primary z-10"
|
||||
aria-label="Monitoring Settings"
|
||||
/>
|
||||
<div className="tab-content relative bg-base-100 pl-4 pt-4">
|
||||
<div className="absolute -top-[3px] left-6 right-0 h-[2px] bg-stone-800"></div>
|
||||
<div className="flex flex-col gap-4">
|
||||
<MonitoringSettings onError={setError} onSuccess={setSuccess} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</Sidebar>
|
||||
|
||||
14
components/cards/settings/MonitoringSettings.tsx
Normal file
14
components/cards/settings/MonitoringSettings.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
"use client"
|
||||
|
||||
import { useEffect, useState } from "react"
|
||||
import useNotifications from "@/hooks/useNotifications"
|
||||
import { Check, CircleHelp, Copy, Server, Smartphone } from "lucide-react"
|
||||
|
||||
interface MonitoringSettingsProps {
|
||||
onError: (message: string) => void
|
||||
onSuccess: (message: string) => void
|
||||
}
|
||||
|
||||
export const MonitoringSettings = ({ onError, onSuccess }: MonitoringSettingsProps) => {
|
||||
return <div>MonitoringSettings</div>
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user