diff --git a/.gitignore b/.gitignore index 9037fa0..9c16977 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,3 @@ docker/proxy-config.json docker/frontend.env Foxnouns.DataMigrator/apps.json - -out/ -build/ diff --git a/Foxnouns.Frontend/src/lib/components/Footer.svelte b/Foxnouns.Frontend/src/lib/components/Footer.svelte index 857c07c..6fd6564 100644 --- a/Foxnouns.Frontend/src/lib/components/Footer.svelte +++ b/Foxnouns.Frontend/src/lib/components/Footer.svelte @@ -8,7 +8,6 @@ import Envelope from "svelte-bootstrap-icons/lib/Envelope.svelte"; import CashCoin from "svelte-bootstrap-icons/lib/CashCoin.svelte"; import Logo from "./Logo.svelte"; - import { t } from "$lib/i18n"; type Props = { meta: Meta }; let { meta }: Props = $props(); @@ -19,13 +18,13 @@
@@ -37,7 +36,7 @@ >
  • - {$t("footer.source")} + Source code
  • - {$t("footer.status")} + Status
  • - {$t("footer.about-contact")} + About and contact
  • - {$t("footer.terms")} + Terms of service
  • - {$t("footer.privacy")} + Privacy policy
  • - {$t("footer.changelog")} + Changelog
  • - {$t("footer.donate")} + Donate
  • diff --git a/Foxnouns.Frontend/src/lib/i18n/locales/en.json b/Foxnouns.Frontend/src/lib/i18n/locales/en.json index 7f2b2ab..1c15a83 100644 --- a/Foxnouns.Frontend/src/lib/i18n/locales/en.json +++ b/Foxnouns.Frontend/src/lib/i18n/locales/en.json @@ -327,17 +327,5 @@ "alert": { "auth-method-remove-success": "Successfully unlinked account!", "auth-required": "You must log in to access this page." - }, - "footer": { - "version": "Version", - "users": "users", - "members": "members", - "source": "Source code", - "status": "Status", - "terms": "Terms of service", - "privacy": "Privacy policy", - "changelog": "Changelog", - "donate": "Donate", - "about-contact": "About and contact" } } diff --git a/build.sh b/build.sh deleted file mode 100755 index e14eb53..0000000 --- a/build.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -set -euxo pipefail - -ROOT_DIR=$(pwd) - -echo "Cleaning output directory ($ROOT_DIR/build)" - -[ -d "$ROOT_DIR/build" ] && rm -r "$ROOT_DIR/build" -mkdir "$ROOT_DIR/build" - -echo "Building .NET backend" - -cd "$ROOT_DIR/Foxnouns.Backend" -[ -d "$ROOT_DIR/Foxnouns.Backend/out" ] && rm -r "$ROOT_DIR/Foxnouns.Backend/out" -dotnet publish --artifacts-path "$ROOT_DIR/Foxnouns.Backend/out" -mv "$ROOT_DIR/Foxnouns.Backend/out/publish/Foxnouns.Backend/"* "$ROOT_DIR/build/bin" - -echo "Building Go rate limiter" - -cd "$ROOT_DIR/Foxnouns.RateLimiter" -go build -o rate -v . -mv rate "$ROOT_DIR/build/rate" - -echo "Building Node.js frontend" - -cd "$ROOT_DIR/Foxnouns.Frontend" -[ -d "$ROOT_DIR/Foxnouns.Frontend/build" ] && rm -r "$ROOT_DIR/Foxnouns.Frontend/build" -pnpm install -pnpm build - -mkdir "$ROOT_DIR/build/fe" -cp -r build .env* package.json pnpm-lock.yaml "$ROOT_DIR/build/fe" -cd "$ROOT_DIR/build/fe" -pnpm install -P - -echo "Finished building Foxnouns.NET"