From 18f92d9a8077f75972abd43f1a173cc00d6b09bc Mon Sep 17 00:00:00 2001 From: Poyraz <78071274+poyrazavsever@users.noreply.github.com> Date: Sat, 27 Jun 2026 15:20:56 +0300 Subject: [PATCH] fix(links): simplify TOP_ICON_LINKS rendering as standard anchors --- components/links-content.tsx | 53 +++++++++++++----------------------- 1 file changed, 19 insertions(+), 34 deletions(-) diff --git a/components/links-content.tsx b/components/links-content.tsx index 382845f..3917507 100644 --- a/components/links-content.tsx +++ b/components/links-content.tsx @@ -159,29 +159,7 @@ export function LinksContent() {
{TOP_ICON_LINKS.map((item) => { const href = item.id === "cv" ? `/resume-${locale}.pdf` : item.href; - const isStaticOrExternal = item.external || item.id === "rss" || item.id === "cv"; - const CardContent = ( - -
- - - -
- - {tNav.has(item.id) ? tNav(item.id) : item.label} - - - {formatHref(href)} - -
-
-
- ); - - return isStaticOrExternal ? ( + return ( - {CardContent} + +
+ + + +
+ + {tNav.has(item.id) ? tNav(item.id) : item.label} + + + {formatHref(href)} + +
+
+
- ) : ( - - {CardContent} - ); })}