Compare commits

..

3 Commits

Author SHA1 Message Date
785e36af08 fix: resolve TS2345 in pageerror handler by using unknown and type guard
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 5s
🚀 Build & Deploy / 🧪 QA (push) Successful in 1m53s
🚀 Build & Deploy / 🏗️ Build (push) Successful in 11m58s
🚀 Build & Deploy / 🚀 Deploy (push) Successful in 11s
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m27s
🚀 Build & Deploy / 🔔 Notify (push) Successful in 2s
Nightly QA / call-qa-workflow (push) Failing after 26s
2026-04-21 19:32:07 +02:00
d4c32476d6 fix: remove unused urlObj to satisfy linter
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 4s
🚀 Build & Deploy / 🧪 QA (push) Failing after 50s
🚀 Build & Deploy / 🚀 Deploy (push) Has been cancelled
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
🚀 Build & Deploy / 🔔 Notify (push) Has been cancelled
🚀 Build & Deploy / 🏗️ Build (push) Has been cancelled
2026-04-21 19:26:25 +02:00
9b9d4634dd fix: rename AGB to AVB in navigation and components for consistency
Some checks failed
🚀 Build & Deploy / 🔍 Prepare (push) Successful in 6s
🚀 Build & Deploy / 🧪 QA (push) Failing after 1m5s
🚀 Build & Deploy / 🚀 Deploy (push) Has been cancelled
🚀 Build & Deploy / 🧪 Post-Deploy Verification (push) Has been cancelled
🚀 Build & Deploy / 🔔 Notify (push) Has been cancelled
🚀 Build & Deploy / 🏗️ Build (push) Has been cancelled
2026-04-21 19:21:47 +02:00
5 changed files with 8 additions and 7 deletions

View File

@@ -2,7 +2,7 @@ import { Download } from "lucide-react";
import fs from "fs";
import path from "path";
export default function AGB() {
export default function AVB() {
const filePath = path.join(process.cwd(), "context/avbs.md");
const fileContent = fs.readFileSync(filePath, "utf8");

View File

@@ -246,7 +246,7 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
href="/agb"
className="hover:text-accent transition-colors"
>
{t("footer.agb")}
{t("footer.avb")}
</Link>
</nav>
</div>

View File

@@ -81,7 +81,7 @@
"legal": "Rechtliches",
"impressum": "Impressum",
"datenschutz": "Datenschutz",
"agb": "AVB",
"avb": "AVB",
"rights": "Alle Rechte vorbehalten.",
"madeWith": "Entwickelt mit",
"precision": "Präzision",

View File

@@ -79,10 +79,11 @@ async function main() {
const consoleErrorsList: Array<{ type: string; error: string; page: string }> = [];
// Listen for unhandled exceptions natively in the page
page.on('pageerror', (err: Error) => {
page.on('pageerror', (err: unknown) => {
const errorMessage = err instanceof Error ? err.message : String(err);
consoleErrorsList.push({
type: 'PAGE_ERROR',
error: err.message,
error: errorMessage,
page: page.url(),
});
hasConsoleErrors = true;

View File

@@ -94,8 +94,8 @@ async function main() {
baseConfig = JSON.parse(fs.readFileSync(baseConfigPath, 'utf8'));
}
// Extract domain for cookie
const urlObj = new URL(targetUrl);
// Extract domain for cookie (not currently used)
// const urlObj = new URL(targetUrl);
// domain is not used, so remove or keep if needed later? Linter says unused.
// const domain = urlObj.hostname;