diff --git a/src/layout/AdminLayout/Header/HeaderProfileNav.tsx b/src/layout/AdminLayout/Header/HeaderProfileNav.tsx
index 117d91a..2941c22 100644
--- a/src/layout/AdminLayout/Header/HeaderProfileNav.tsx
+++ b/src/layout/AdminLayout/Header/HeaderProfileNav.tsx
@@ -60,7 +60,7 @@ export default function HeaderProfileNav() {
Account
-
+
Updates
@@ -68,7 +68,7 @@ export default function HeaderProfileNav() {
-
+
Updates
@@ -76,7 +76,7 @@ export default function HeaderProfileNav() {
-
+
Tasks
@@ -84,7 +84,7 @@ export default function HeaderProfileNav() {
-
+
Messages
@@ -95,22 +95,22 @@ export default function HeaderProfileNav() {
Settings
-
+
Profile
-
+
Settings
-
+
Payments
-
+
Projects
@@ -118,7 +118,7 @@ export default function HeaderProfileNav() {
-
+
Lock Account
diff --git a/src/layout/AdminLayout/Sidebar/SidebarNav.tsx b/src/layout/AdminLayout/Sidebar/SidebarNav.tsx
index 4aee0e6..9f36365 100644
--- a/src/layout/AdminLayout/Sidebar/SidebarNav.tsx
+++ b/src/layout/AdminLayout/Sidebar/SidebarNav.tsx
@@ -142,61 +142,61 @@ export default function SidebarNav() {
DEMO
Theme
- Colors
- Typography
+ Colors
+ Typography
Components
- Accordion
- Breadcrumb
- Cards
- Carousel
- Collapse
- List group
- Navs
- Pagination
- Popovers
- Progress
- Scrollspy
- Spinners
- Tables
- Tabs
- Tooltips
+ Accordion
+ Breadcrumb
+ Cards
+ Carousel
+ Collapse
+ List group
+ Navs
+ Pagination
+ Popovers
+ Progress
+ Scrollspy
+ Spinners
+ Tables
+ Tabs
+ Tooltips
- Buttons
- Buttons Group
- Dropdowns
+ Buttons
+ Buttons Group
+ Dropdowns
- Charts
+ Charts
- Form Control
- Select
- Checks and radios
- Range
- Input group
- Floating labels
- Layout
- Validation
+ Form Control
+ Select
+ Checks and radios
+ Range
+ Input group
+ Floating labels
+ Layout
+ Validation
- CoreUI Icons
- CoreUI Icons - Brand
- CoreUI Icons - Flag
+ CoreUI Icons
+ CoreUI Icons - Brand
+ CoreUI Icons - Flag
- Alerts
- Badge
- Modals
- Toasts
+ Alerts
+ Badge
+ Modals
+ Toasts
-
+
Widgets
NEW
@@ -206,11 +206,11 @@ export default function SidebarNav() {
Login
Register
- Error 404
- Error 500
+ Error 404
+ Error 500
- Docs
+ Docs
Try CoreUI PRO
)
diff --git a/src/middleware.ts b/src/middleware.ts
index c8a5283..99d37f8 100644
--- a/src/middleware.ts
+++ b/src/middleware.ts
@@ -3,6 +3,7 @@ import { NextResponse } from 'next/server'
type Middleware = (request: NextRequest) => NextResponse
+// eslint-disable-next-line @typescript-eslint/no-unused-vars
const redirectIfAuthenticated: Middleware = (request) => {
const authSession = request.cookies.get('auth')?.value
@@ -29,12 +30,13 @@ const authenticated: Middleware = (request) => {
}
export default function middleware(request: NextRequest) {
- if ([
- '/login',
- '/register',
- ].includes(request.nextUrl.pathname)) {
- return redirectIfAuthenticated(request)
- }
+ // Uncomment if you want to redirect if authenticated.
+ // if ([
+ // '/login',
+ // '/register',
+ // ].includes(request.nextUrl.pathname)) {
+ // return redirectIfAuthenticated(request)
+ // }
if ([
'/',