Skip to content

Commit

Permalink
contact admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tushar98644 committed Jul 11, 2023
1 parent 06fabec commit 45a5765
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/components/Contact/contact.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const Contact = () => {
return (
<div>
<h1>contact</h1>
</div>
);
}

export default Contact;
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Navbar = () => {
</li></>
) : (
<><li className='hover:text-white'><Link href='/project'>Add project</Link></li><li className='hover:text-white'><Link href='/'>View Projects</Link></li><li className='hover:text-white'>
<Link href='/admin'>
<Link href='/contact'>
Contact Admin
</Link>
</li></>
Expand Down
1 change: 1 addition & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ export {default as Form} from './Form/Form'
export {default as Loader} from './Loader/Loader'
export {default as Card} from './Card/card'
export {default as Layout} from './Layout'
export {default as Contact} from './Contact/contact'
11 changes: 11 additions & 0 deletions src/pages/contact.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Contact, Layout } from "@/components";

const Contact_page = () => {
return (
<Layout>
<Contact />
</Layout>
);
}

export default Contact_page;

0 comments on commit 45a5765

Please sign in to comment.