This commit is contained in:
eric
2026-03-11 22:55:36 -05:00
parent 867d53936c
commit f653dccd6d
10 changed files with 69 additions and 21 deletions

View File

@@ -8,7 +8,7 @@ const footerSections = [
links: [
{ labelKey: "roadmap" as const, href: "#roadmap" },
{ labelKey: "tools" as const, href: "#tools" },
{ labelKey: "destinations" as const, href: "#" },
{ labelKey: "destinations" as const, href: "https://meetup.hackrobot.cn/", openInNewTab: true },
],
},
{
@@ -78,6 +78,8 @@ export default function Footer() {
) : (
<a
href={link.href}
target={"openInNewTab" in link && link.openInNewTab ? "_blank" : undefined}
rel={"openInNewTab" in link && link.openInNewTab ? "noopener noreferrer" : undefined}
className="text-sm text-slate-500 transition-colors hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200"
>
{t(`links.${link.labelKey}`)}