"use client"; import { Box, Button, Card, CardContent, Stack, TextField, Typography } from "@mui/material"; import type { CloudflareSettings, GeneralSettings, OAuthSettings } from "@/src/lib/settings"; import { updateCloudflareSettingsAction, updateGeneralSettingsAction, updateOAuthSettingsAction } from "./actions"; type Props = { general: GeneralSettings | null; oauth: OAuthSettings | null; cloudflare: CloudflareSettings | null; }; export default function SettingsClient({ general, oauth, cloudflare }: Props) { return ( Settings Configure organization-wide defaults, authentication, and DNS automation. General OAuth2 Authentication Provide the OAuth 2.0 endpoints and client credentials issued by your identity provider. Scopes should include profile and email data. Cloudflare DNS Configure a Cloudflare API token with Zone.DNS Edit permissions to enable DNS-01 challenges for wildcard certificates. ); }