From 124f1ccbc0dad0967795932ecaa6c71d1b1d58ed Mon Sep 17 00:00:00 2001 From: DecDuck Date: Sat, 7 Jun 2025 17:21:07 +1000 Subject: [PATCH] Fix: Broken footer links #96 (#98) * fix: footer links * fix: lint --- server/components/UserFooter.vue | 10 +++++----- server/i18n/locales/en_us.json | 4 +--- server/nuxt.config.ts | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/server/components/UserFooter.vue b/server/components/UserFooter.vue index 1fb1fff3..87a5fd60 100644 --- a/server/components/UserFooter.vue +++ b/server/components/UserFooter.vue @@ -105,20 +105,20 @@ const navigation = { { name: t("common.servers"), href: "#" }, ], documentation: [ - { name: t("footer.api"), href: "https://api.droposs.org/" }, + // TODO: public API docs + // { name: t("footer.api"), href: "https://api.droposs.org/" }, { name: t("footer.docs.server"), - href: "https://wiki.droposs.org/guides/quickstart.html", + href: "https://docs.droposs.org/docs/guides/quickstart", }, { name: t("footer.docs.client"), - href: "https://wiki.droposs.org/guides/client.html", + href: "https://docs.droposs.org/docs/guides/client", }, ], about: [ { name: t("footer.aboutDrop"), href: "https://droposs.org/" }, - { name: t("footer.features"), href: "https://droposs.org/features" }, - { name: t("footer.faq"), href: "https://droposs.org/faq" }, + { name: t("footer.comparison"), href: "https://droposs.org/comparison" }, ], social: [ { diff --git a/server/i18n/locales/en_us.json b/server/i18n/locales/en_us.json index a67470f0..0abe06cb 100644 --- a/server/i18n/locales/en_us.json +++ b/server/i18n/locales/en_us.json @@ -188,14 +188,12 @@ "footer": { "about": "About", "aboutDrop": "About Drop", - "api": "API", "docs": { "client": "Client Docs", "server": "Server Docs" }, "documentation": "Documentation", - "faq": "FAQ", - "features": "Features", + "comparison": "Comparison", "findGame": "Find a Game", "footer": "Footer", "games": "Games", diff --git a/server/nuxt.config.ts b/server/nuxt.config.ts index fd1df579..c89265f5 100644 --- a/server/nuxt.config.ts +++ b/server/nuxt.config.ts @@ -15,8 +15,8 @@ console.log(`Building Drop ${dropVersion} #${commitHash}`); // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ extends: ["./drop-base"], - // Module config from here down + modules: [ "vue3-carousel-nuxt", "nuxt-security",