Remove GitHub Actions and SEO addons

This commit is contained in:
Aman Varshney
2025-03-20 23:32:40 +05:30
parent 3172b5bebb
commit 17db765a02
12 changed files with 49 additions and 242 deletions

View File

@@ -8,6 +8,7 @@ import {
Outlet,
createRootRouteWithContext,
useRouterState,
HeadContent,
} from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
import "../index.css";
@@ -18,6 +19,23 @@ export interface RouterAppContext {
export const Route = createRootRouteWithContext<RouterAppContext>()({
component: RootComponent,
head: () => ({
meta: [
{
title: "My App",
},
{
name: "description",
content: "My App is a web application",
},
],
links: [
{
rel: "icon",
href: "/favicon.ico",
},
],
}),
});
function RootComponent() {
@@ -26,6 +44,7 @@ function RootComponent() {
});
return (
<>
<HeadContent />
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
<Header />
{isFetching && <Loader />}