mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
✨ feat: Add nav-progress bad
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ["@nestri/eslint-config/react-internal.js"],
|
||||
extends: ["@nestri/eslint-config/qwik.js"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
//Find some way to use the lint tsconfig
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { component$, Slot } from "@builder.io/qwik";
|
||||
import type { RequestHandler } from "@builder.io/qwik-city";
|
||||
import { NavProgress } from "@nestri/ui";
|
||||
import type { DocumentHead, RequestHandler } from "@builder.io/qwik-city";
|
||||
|
||||
export const onGet: RequestHandler = async ({ cacheControl }) => {
|
||||
// Control caching for this request for best performance and to reduce hosting costs:
|
||||
@@ -13,5 +14,40 @@ export const onGet: RequestHandler = async ({ cacheControl }) => {
|
||||
};
|
||||
|
||||
export default component$(() => {
|
||||
return <Slot />;
|
||||
return (
|
||||
<>
|
||||
<NavProgress />
|
||||
<Slot />
|
||||
</>
|
||||
);
|
||||
});
|
||||
|
||||
export const head: DocumentHead = {
|
||||
title: 'Nestri – Your games. Your rules.',
|
||||
meta: [
|
||||
{
|
||||
name: 'description',
|
||||
content: 'Nestri – Your games. Your rules.',
|
||||
},
|
||||
{
|
||||
name: "og:title",
|
||||
content: "Nestri – Your games. Your rules.",
|
||||
},
|
||||
{
|
||||
name: "og:description",
|
||||
content: "Play games with friends right from your browser.",
|
||||
},
|
||||
{
|
||||
name: "twitter:title",
|
||||
content: "Nestri – Your games. Your rules.",
|
||||
},
|
||||
{
|
||||
name: "twitter:description",
|
||||
content: "Play games with friends right from your browser.",
|
||||
},
|
||||
{
|
||||
name: "twitter:card",
|
||||
content: "summary_large_image",
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user