Explorar o código

chore(frontend): Add meta title and description (#4265)

sp.wack hai 1 ano
pai
achega
ef3e106543
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      frontend/src/root.tsx

+ 6 - 0
frontend/src/root.tsx

@@ -1,6 +1,7 @@
 import {
   Links,
   Meta,
+  MetaFunction,
   Outlet,
   Scripts,
   ScrollRestoration,
@@ -49,6 +50,11 @@ export function Layout({ children }: { children: React.ReactNode }) {
   );
 }
 
+export const meta: MetaFunction = () => [
+  { title: "OpenHands" },
+  { name: "description", content: "Let's Start Building!" },
+];
+
 export const clientLoader = async () => {
   let token = localStorage.getItem("token");
   const ghToken = localStorage.getItem("ghToken");