added admin layout

This commit is contained in:
2024-04-27 00:40:27 +03:00
parent f17a002ac6
commit db66161d81
15 changed files with 566 additions and 36 deletions

8
actions/logout.ts Normal file
View File

@@ -0,0 +1,8 @@
'use server'
import { signOut } from '@/config/auth'
export const logout = async () => {
// do something separately from js client bundle prior logging out
await signOut()
}