fix: update match configuration to bestOf 5 and scoringType to score_v2
This commit is contained in:
25
.svelte-kit/output/server/entries/pages/_error.svelte.js
Normal file
25
.svelte-kit/output/server/entries/pages/_error.svelte.js
Normal file
@@ -0,0 +1,25 @@
|
||||
import { e as escape_html } from "../../chunks/index3.js";
|
||||
import "clsx";
|
||||
import { p as page } from "../../chunks/index4.js";
|
||||
function _error($$renderer, $$props) {
|
||||
$$renderer.component(($$renderer2) => {
|
||||
$$renderer2.push(`<div class="flex min-h-dvh items-center justify-center bg-surface-900"><div class="text-center"><p class="text-6xl font-800 text-accent">${escape_html(page.status)}</p> <h1 class="mt-4 text-xl font-700 text-text-primary">`);
|
||||
if (page.status === 404) {
|
||||
$$renderer2.push("<!--[-->");
|
||||
$$renderer2.push(`Page not found`);
|
||||
} else if (page.status === 403) {
|
||||
$$renderer2.push("<!--[1-->");
|
||||
$$renderer2.push(`Access denied`);
|
||||
} else if (page.status === 401) {
|
||||
$$renderer2.push("<!--[2-->");
|
||||
$$renderer2.push(`Not logged in`);
|
||||
} else {
|
||||
$$renderer2.push("<!--[!-->");
|
||||
$$renderer2.push(`Something went wrong`);
|
||||
}
|
||||
$$renderer2.push(`<!--]--></h1> <p class="mt-2 text-sm text-text-secondary">${escape_html(page.error?.message ?? "An unexpected error occurred.")}</p> <a href="/" class="mt-6 inline-block rounded-md bg-accent px-5 py-2.5 text-sm font-600 text-surface-900 transition-colors hover:bg-accent-hover">Back to Dashboard</a></div></div>`);
|
||||
});
|
||||
}
|
||||
export {
|
||||
_error as default
|
||||
};
|
||||
Reference in New Issue
Block a user