diff --git a/next-env.d.ts b/next-env.d.ts index 9edff1c..c4b7818 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/types/routes.d.ts"; +import "./.next/dev/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 5be924e..44acc0c 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -65,33 +65,68 @@ export default function AboutPage() { {/* Acknowledgments */}
+

+ {t.acknowledgmentsTitle} +

{t.acknowledgments}

-
-

- {t.toolsTitle} -

- -

{t.toolsNote}

+
+ {t.sections.map((section, sIndex) => ( +
+

+ {section.title} +

+ + {section.content && ( +

+ {section.content} +

+ )} + + {section.items && ( +
+ {section.items.map((item, iIndex) => ( +
+
+ + {item.label} + + +

+ {item.description} +

+
+
+ ))} +
+ )} + + {section.links && ( + + )} +
+ ))}
diff --git a/src/i18n/translations.ts b/src/i18n/translations.ts index 9dbd5c3..c55559f 100644 --- a/src/i18n/translations.ts +++ b/src/i18n/translations.ts @@ -483,10 +483,14 @@ type AboutTranslation = { title: string subtitle: string disclaimer: string + acknowledgmentsTitle: string acknowledgments: string - toolsTitle: string - toolsNote: string - tools: { label: string; url: string }[] + sections: { + title: string + content?: string + items?: { label: string; description: string; url: string }[] + links?: { label: string; url: string }[] + }[] opensource: string }