Skip to content

Commit

Permalink
feat: create unauthorized access component
Browse files Browse the repository at this point in the history
  • Loading branch information
yashdev9274 committed May 10, 2024
1 parent aeb870e commit fb9c8b5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/unauthorized/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react'
import Link from 'next/link'

type Props = {}

const Unauthorized = (props: Props) => {
return (
<div className="p-4 text-center h-screen w-screen flex justify-center items-center flex-col">
<h1 className="text-3xl md:text-6xl">Unauthorized acccess!</h1>
<p>Please contact support or your agency owner to get access</p>
<Link
href="/"
className="mt-4 bg-primary p-2"
>
Back to home
</Link>
</div>
)
}

0 comments on commit fb9c8b5

Please sign in to comment.