web_next/scheduler_app/app/(routes)/dashboard/page.js
2024-04-25 17:22:56 -05:00

25 lines
No EOL
617 B
JavaScript

"use client"
import { LogoutLink} from '@kinde-oss/kinde-auth-nextjs'
import React from 'react'
import { getFirestore } from "firebase/firestore";
import { app } from '@/config/FirebaseConfig';
const Dashboard = () => {
const db = getFirestore(app);
const isBusinessRegistered = () => {
}
return (
<div>
This is a dashboard page
<LogoutLink>
<button className='px-2 py-1 sm:px-4 sm:py-2 bg-[#101010] text-white rounded-full font-semibold hover:opacity-85 duration-300 text-sm sm:text-md'>Logout</button>
</LogoutLink>
</div>
)
}
export default Dashboard