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-8">
      <SettingsHeader />
      <AdminSettingsForm config={config} />
    </div>
  )
}
