added mail service
This commit is contained in:
20
components/auth/Header.tsx
Normal file
20
components/auth/Header.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { Poppins } from 'next/font/google'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
const font = Poppins({
|
||||
subsets: ['latin'], weight: ['600'],
|
||||
})
|
||||
|
||||
type Props = {
|
||||
label: string, title: string
|
||||
}
|
||||
|
||||
export const Header = ({ label, title }: Props) => {
|
||||
return (
|
||||
<div className="w-full flex flex-col gap-y-4 items-center justify-center">
|
||||
<h1 className={cn('text-3xl font-semibold', font.className)}>
|
||||
🔐 {title || 'Auth'}
|
||||
</h1>
|
||||
<p className="text-muted-foreground text-sm">{label}</p>
|
||||
</div>)
|
||||
}
|
||||
Reference in New Issue
Block a user