Remove unused redirects from the Next.js configuration and update package dependencies to include new Tiptap extensions for enhanced text editing capabilities. Clean up the database seeding script by removing commented-out code and ensuring proper deletion of obsolete entries. Update various pages to handle not found scenarios gracefully, improving user experience across the application.
This commit is contained in:
1 parent
4b84409ed7
commit
2858b9c746
106 files changed
+2516
-1004
No files matched your search
@@ -110,11 +110,13 @@ export const facultyNetworkUrl =
|
||||
|
||||
/**
|
||||
* Main nav (static items). Courses dropdown is injected before «درباره ما».
|
||||
* Order after inject: ارزش ها → دوره ها → درباره ما.
|
||||
* Order after inject: ارزش ها → اخبار → دوره ها → درباره ما → دانشکده.
|
||||
*/
|
||||
export const homeNav: NavItem[] = [
|
||||
{ label: "ارزش ها", href: "/values" },
|
||||
{ label: "اخبار", href: "/news" },
|
||||
{ label: "درباره ما", href: "/about" },
|
||||
{ label: "دانشکده", href: facultySiteUrl },
|
||||
];
|
||||
|
||||
/** Professional layout nav; courses children filled at runtime from DB tags. */
|
||||
@@ -125,7 +127,9 @@ export const professionalNav: NavItem[] = [
|
||||
children: [{ label: "همه دوره ها", href: "/professional" }],
|
||||
},
|
||||
{ label: "نحوه یادگیری", href: "/professional#digital" },
|
||||
{ label: "اخبار", href: "/news" },
|
||||
{ label: "درباره ما", href: "/about" },
|
||||
{ label: "دانشکده", href: facultySiteUrl },
|
||||
{ label: "تماس با ما", href: "/contact" },
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user