feat(navigation): add extensible others menus

This commit is contained in:
Poyraz
2026-08-29 16:59:57 +03:00
parent 913fc90585
commit 13cafffa5d
7 changed files with 387 additions and 92 deletions
+63
View File
@@ -70,6 +70,52 @@ export const SOCIAL_LINKS = [
},
] as const;
export const ANIMATION_RESOURCE_LINKS = [
{
id: "motion",
label: "Motion",
href: "https://motion.dev/",
icon: "mdi:motion-play-outline",
},
{
id: "gsap",
label: "GSAP",
href: "https://gsap.com/resources/",
icon: "mdi:lightning-bolt-outline",
},
{
id: "lottiefiles",
label: "LottieFiles",
href: "https://lottiefiles.com/",
icon: "mdi:movie-open-play-outline",
},
{
id: "rive",
label: "Rive",
href: "https://rive.app/",
icon: "mdi:vector-curve",
},
] as const;
export const NAV_DROPDOWN_GROUPS = [
{
id: "others",
label: "Diğerleri",
icon: "mdi:dots-horizontal",
insertAfter: "gallery",
items: [
{
id: "animationResources",
label: "Animasyon Kaynakları",
href: "/links?category=resources&query=animation",
icon: "mdi:motion-play-outline",
external: false,
keywords: ["animasyon", "animation", "kaynak", "resource", "motion"],
},
],
},
] as const;
export const TOP_ICON_LINKS = [
{
id: "ui-kit",
@@ -145,6 +191,23 @@ export const LINK_DIRECTORY: LinkDirectoryItem[] = [
category: "social" as const,
keywords: [item.label, item.href, "sosyal", "profile", "platform"],
})),
...ANIMATION_RESOURCE_LINKS.map((item) => ({
id: item.id,
label: item.label,
href: item.href,
icon: item.icon,
external: true,
category: "resources" as const,
keywords: [
item.label,
item.href,
"animasyon",
"animation",
"kaynak",
"resource",
"motion",
],
})),
...TOP_ICON_LINKS.map((item) => ({
id: item.id,
label: item.label,