feat: add prisma support, admin panel and auth
This commit is contained in:
16
app/admin/components/SignOutButton.tsx
Normal file
16
app/admin/components/SignOutButton.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
'use client';
|
||||
|
||||
import React from 'react';
|
||||
import { signout } from '../actions';
|
||||
|
||||
export default function SignOutButton() {
|
||||
return (
|
||||
<button
|
||||
onClick={() => signout()}
|
||||
className="action-btn"
|
||||
style={{ fontSize: '0.8rem', color: 'var(--accent-rose)' }}
|
||||
>
|
||||
Çıkış Yap
|
||||
</button>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user