Skip to content

Commit

Permalink
chore: update layout.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
paalamugan authored May 21, 2024
1 parent 1dcdf7c commit 5bcd78d
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions src/app/(auth)/dashboard/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Link from 'next/link';

import ActiveLink from '@/components/Common/ActiveLink';
import { LogOutButton } from '@/components/LogOutButton';
import { BaseTemplate } from '@/templates/BaseTemplate';

Expand All @@ -9,22 +8,31 @@ const DashboardLayout = (props: { children: React.ReactNode }) => {
leftNav={
<>
<li>
<Link href="/" className="border-none text-gray-700 hover:text-gray-900">
<ActiveLink
href="/"
activeClassName="text-blue-400 border-b-2 border-blue-400 hover:text-blue-400"
className="border-none text-gray-700 hover:text-gray-900"
>
Home
</Link>
</ActiveLink>
</li>
<li>
<Link href="/dashboard" className="border-none text-gray-700 hover:text-gray-900">
<ActiveLink
href="/dashboard"
activeClassName="text-blue-400 border-b-2 border-blue-400 hover:text-blue-400"
className="text-gray-700 hover:text-gray-900"
>
Dashboard
</Link>
</ActiveLink>
</li>
<li>
<Link
href="/dashboard/user-profile/"
className="border-none text-gray-700 hover:text-gray-900"
<ActiveLink
href="/dashboard/user-profile"
activeClassName="text-blue-400 border-b-2 border-blue-400 hover:text-blue-400"
className="text-gray-700 hover:text-gray-900"
>
Profile
</Link>
</ActiveLink>
</li>
</>
}
Expand Down

0 comments on commit 5bcd78d

Please sign in to comment.