changes
This commit is contained in:
1 parent
a99af426db
commit
8886aa8640
91 files changed
+2823
-773
No files matched your search
+3
-28
@@ -22,22 +22,11 @@ export const siteAddress = {
|
||||
|
||||
/**
|
||||
* Parent label for the single courses dropdown on the home nav.
|
||||
* Change this to rename the root item; child items come from course tags.
|
||||
* Child items come from published course tags (`show_in_nav`) in the DB.
|
||||
* See docs/LINKS.md.
|
||||
*/
|
||||
export const courseNavParentTag = "دورهها";
|
||||
|
||||
/**
|
||||
* Preferred order of tag items inside the courses dropdown.
|
||||
* Tags present on published courses but missing here still appear after these.
|
||||
* Keep in sync with admin suggested tags when possible.
|
||||
*/
|
||||
export const courseNavTagOrder: string[] = [
|
||||
"کارگاهها",
|
||||
"دورههای سازمانی",
|
||||
"گزیده دورههای برگزار شده",
|
||||
];
|
||||
|
||||
/** Main nav (static items). Courses dropdown is injected at runtime from tags. */
|
||||
export const homeNav: NavItem[] = [
|
||||
{ label: "ارزشها", href: "/values" },
|
||||
@@ -46,17 +35,12 @@ export const homeNav: NavItem[] = [
|
||||
{ label: "دانشگاه امیرکبیر", href: "https://mst.aut.ac.ir/", prominent: true },
|
||||
];
|
||||
|
||||
/** Professional layout nav; courses children filled at runtime from DB tags. */
|
||||
export const professionalNav: NavItem[] = [
|
||||
{
|
||||
label: courseNavParentTag,
|
||||
href: "/professional#programs",
|
||||
children: [
|
||||
{ label: "همه دورهها", href: "/professional" },
|
||||
...courseNavTagOrder.map((tag) => ({
|
||||
label: tag,
|
||||
href: `/professional?tag=${encodeURIComponent(tag)}`,
|
||||
})),
|
||||
],
|
||||
children: [{ label: "همه دورهها", href: "/professional" }],
|
||||
},
|
||||
{ label: "نحوه یادگیری", href: "/professional#digital" },
|
||||
{ label: "درباره ما", href: "/about" },
|
||||
@@ -109,12 +93,3 @@ export const valuesContent = {
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export const courseCategories: { id: string; label: string }[] = [
|
||||
{ id: "best", label: "پیشنهاد ویژه" },
|
||||
{ id: "technology", label: "هوش مصنوعی و تحول سازمان" },
|
||||
{ id: "digital", label: "برند و بازاریابی" },
|
||||
{ id: "innovation", label: "برندینگ" },
|
||||
{ id: "leadership", label: "هماندیشی مدیریتی" },
|
||||
{ id: "all", label: "همه برنامهها" },
|
||||
];
|
||||
Reference in new issue
Block a user