+
+
+
+ PA
+
+
-
-
-
-
-
-
-
-
-
- PA
-
-
-
-
-
-
- Poyraz
-
-
- Avsever
-
-
-
-
- {t("desc")}
-
-
-
-
- {SOCIAL_LINKS.map((item) => (
-
-
-
- ))}
-
-
-
-
-
-
-
- {t("allLinks")}
-
-
- {t("allLinksDesc")}
-
-
-
-
-
-
- setQuery(event.target.value)}
- placeholder={t("searchPlaceholder")}
- aria-label={t("allLinks")}
- className="h-11 rounded-2xl"
- />
-
-
-
- {filteredItems.map((item) => {
- const href = item.id === "cv" ? getResumeHref(locale) : item.href;
- const isStaticOrExternal = item.external || item.id === "rss" || item.id === "cv" || href.endsWith(".xml") || href.endsWith(".pdf");
- const CardContent = (
-
-
-
-
-
-
-
-
-
- {tNav.has(item.id) ? tNav(item.id) : item.label}
-
-
- {t(`categories.${item.category}`)}
-
-
-
-
- {formatHref(href)}
-
-
-
-
-
-
-
-
- );
-
- return isStaticOrExternal ? (
-
- {CardContent}
-
- ) : (
-
- {CardContent}
-
- );
- })}
-
- {filteredItems.length === 0 ? (
-
-
- {t("empty")}
-
-
- ) : null}
-
-
+
+
+ {t("title")}
+
+
+ {t("desc")}
+
-
-
+
+
+ {SOCIAL_LINKS.map((item) => (
+
+ ))}
+
+
+
+
+
+
+
+ {t("quickLinks")}
+
+
+ {t("quickLinksDesc")}
+
+
+
+
+
+
+
+
+
+
+ {t("allLinks")}
+
+
+ {t("allLinksDesc")}
+
+
+
+
+
+
+ setQuery(event.target.value)}
+ placeholder={t("searchPlaceholder")}
+ aria-label={t("searchAriaLabel")}
+ className="h-10 rounded-sm"
+ />
+
+
+
+
+ {filteredItems.map((item) => {
+ const href = item.id === "cv" ? getResumeHref(locale) : item.href;
+ const isStaticOrExternal =
+ item.external ||
+ item.id === "rss" ||
+ item.id === "cv" ||
+ href.endsWith(".xml") ||
+ href.endsWith(".pdf");
+ const content = (
+
+
+
+
+
+
+
+
+
+ {tNav.has(item.id) ? tNav(item.id) : item.label}
+
+
+ {t(`categories.${item.category}`)}
+
+
+
+ {formatHref(href)}
+
+
+
+
+
+
+ );
+
+ return isStaticOrExternal ? (
+
+ {content}
+
+ ) : (
+
+ {content}
+
+ );
+ })}
+
+ {filteredItems.length === 0 ? (
+
+
+ {t("empty")}
+
+
+ ) : null}
+
+
);
}
diff --git a/lib/links.ts b/lib/links.ts
index 5e2391a..7285513 100644
--- a/lib/links.ts
+++ b/lib/links.ts
@@ -56,12 +56,6 @@ export const SOCIAL_LINKS = [
href: "https://behance.net/poyrazavsever",
icon: "mdi:behance",
},
- {
- id: "spotify",
- label: "Spotify",
- href: "https://open.spotify.com/user/3136fdjkc5p4cbzmuxhvqdd4b2hu",
- icon: "mdi:spotify",
- },
{
id: "buy-me-a-coffee",
label: "Bana kahve ısmarla",
@@ -153,15 +147,67 @@ export const LINK_DIRECTORY_CATEGORIES: ReadonlyArray<{
{ id: "resources", label: "Kaynaklar" },
];
-export const LINK_DIRECTORY: LinkDirectoryItem[] = [
+const STATIC_PAGE_LINKS = [
+ {
+ id: "home",
+ label: "Ana Sayfa",
+ href: "/",
+ icon: "mdi:home-outline",
+ keywords: ["ana sayfa", "home", "portfolio"],
+ },
...NAV_LINKS.map((item) => ({
+ ...item,
+ icon: "mdi:compass-outline",
+ keywords: [item.label, item.href, "sayfa", "navigasyon", "internal"],
+ })),
+ ...NAV_DROPDOWN_GROUPS.flatMap((group) =>
+ group.items.map((item) => ({
+ id: item.id,
+ label: item.label,
+ href: item.href,
+ icon: item.icon,
+ keywords: [...item.keywords],
+ })),
+ ),
+ {
+ id: "references",
+ label: "Referanslar",
+ href: "/about/references",
+ icon: "mdi:comment-quote-outline",
+ keywords: ["referans", "references", "testimonial", "yorum"],
+ },
+ {
+ id: "volunteerCommunity",
+ label: "Gönüllülük ve Topluluk",
+ href: "/about/volunteer-community",
+ icon: "mdi:account-group-outline",
+ keywords: ["gönüllülük", "topluluk", "volunteer", "community"],
+ },
+ {
+ id: "mediaKit",
+ label: "Medya Kiti",
+ href: "/media-kit",
+ icon: "mdi:chart-box-outline",
+ keywords: ["medya kiti", "media kit", "sponsor", "iş birliği"],
+ },
+ {
+ id: "links",
+ label: "Bağlantılar",
+ href: "/links",
+ icon: "mdi:link-variant",
+ keywords: ["bağlantılar", "links", "link in bio"],
+ },
+] as const;
+
+export const LINK_DIRECTORY: LinkDirectoryItem[] = [
+ ...STATIC_PAGE_LINKS.map((item) => ({
id: item.id,
label: item.label,
href: item.href,
- icon: "mdi:compass-outline",
+ icon: item.icon,
external: false,
category: "navigation" as const,
- keywords: [item.label, item.href, "sayfa", "navigasyon", "internal"],
+ keywords: [...item.keywords],
})),
...SOCIAL_LINKS.map((item) => ({
id: item.id,