import { getSystemConfig } from '@/app/actions/admin-settings'
import { AdminSettingsForm } from './admin-settings-form'
import { SettingsHeader } from './settings-header'

export default async function AdminSettingsPage() {
  const config = await getSystemConfig()

  return (
    <div className="space-y-6">
      <SettingsHeader />
      <div className="bg-white dark:bg-zinc-900 rounded-lg shadow overflow-hidden border border-gray-200 dark:border-gray-800 p-6">
        <AdminSettingsForm config={config} />
      </div>
    </div>
  )
}
