add title
This commit is contained in:
11
dashboard_js/app/entry.client.tsx
Normal file
11
dashboard_js/app/entry.client.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import { HydratedRouter } from "react-router/dom";
|
||||
import "./app.css";
|
||||
|
||||
ReactDOM.hydrateRoot(
|
||||
document,
|
||||
<React.StrictMode>
|
||||
<HydratedRouter />
|
||||
</React.StrictMode>
|
||||
);
|
||||
@@ -3,7 +3,7 @@ import { Regular as Logo } from "~/components/logo";
|
||||
import Pulse from "./_pulse";
|
||||
import WomanImg from "./woman.png";
|
||||
|
||||
export default function AuthLayout() {
|
||||
export default function Auth() {
|
||||
const year = new Date().getFullYear();
|
||||
|
||||
return (
|
||||
|
||||
@@ -11,7 +11,6 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { Amplify } from "aws-amplify";
|
||||
import { AuthProvider } from "~/hooks/use-auth";
|
||||
import amplifyconfig from "./amplifyconfiguration.json";
|
||||
import "./app.css";
|
||||
|
||||
Amplify.configure(amplifyconfig);
|
||||
const queryClient = new QueryClient();
|
||||
@@ -35,6 +34,7 @@ export function Layout({ children }: { children: React.ReactNode }) {
|
||||
<head>
|
||||
<meta charSet="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>EDUSEG®</title>
|
||||
<Meta />
|
||||
<Links />
|
||||
</head>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
export function meta({}) {
|
||||
return [{ title: "Matrículas" }];
|
||||
}
|
||||
|
||||
export default function Component() {
|
||||
return <>enrollments index</>;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
export default function Component() {
|
||||
return <>orders single</>;
|
||||
return (
|
||||
<>
|
||||
<title>Pagamentos</title>
|
||||
<p>orders single</p>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
export function meta({}) {
|
||||
return [{ title: "Pagamentos" }];
|
||||
}
|
||||
|
||||
export default function Component() {
|
||||
return <>overview single</>;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
export function meta({}) {
|
||||
return [{ title: "Visão geral" }];
|
||||
}
|
||||
|
||||
export default function Component() {
|
||||
return <>overview index</>;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
import { useSuspenseQuery } from "@tanstack/react-query";
|
||||
|
||||
export function meta({}) {
|
||||
return [{ title: "Usuários" }];
|
||||
}
|
||||
|
||||
export default function Component() {
|
||||
const info = useSuspenseQuery({
|
||||
queryKey: ["todos"],
|
||||
@@ -9,6 +13,5 @@ export default function Component() {
|
||||
},
|
||||
});
|
||||
|
||||
console.log(info);
|
||||
return <>users index</>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user