Site içerik yönetimi

This commit is contained in:
2026-01-25 02:03:27 +03:00
parent 0fe49b5c96
commit 6992891ae3
9 changed files with 154 additions and 248 deletions

View File

@@ -1,8 +0,0 @@
import { createClient } from "@/lib/supabase-server"
import { cache } from "react"
export const getSiteSettings = cache(async () => {
const supabase = createClient()
const { data } = await supabase.from('site_settings').select('*').single()
return data
})