Files
mugladijitalmedya/app/admin/(dashboard)/settings/page.tsx

18 lines
584 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import { getSettings } from '@/app/actions';
import SettingsForm from './SettingsForm';
export default async function SettingsPage() {
const settings = await getSettings();
return (
<div className="space-y-8">
<div>
<h1 className="text-3xl font-black uppercase tracking-widest text-white mb-2">Site Ayarları</h1>
<p className="text-white/40">Genel site bilgilerini ve iletişim adreslerini buradan güncelleyebilirsiniz.</p>
</div>
<SettingsForm initialData={settings} />
</div>
);
}