diff --git a/apps/website/src/routeTree.gen.ts b/apps/website/src/routeTree.gen.ts
index 7f294d2..c5188c3 100644
--- a/apps/website/src/routeTree.gen.ts
+++ b/apps/website/src/routeTree.gen.ts
@@ -1,88 +1,84 @@
// This file is auto-generated by TanStack Router
-import { createFileRoute } from "@tanstack/react-router";
+import { createFileRoute } from '@tanstack/react-router'
// Import Routes
-import { Route as rootRoute } from "./routes/__root";
+import { Route as rootRoute } from './routes/__root'
// Create Virtual Routes
-const IndexLazyImport = createFileRoute("/")();
-const TermsOfServiceIndexLazyImport = createFileRoute("/terms-of-service/")();
-const PrivacyPolicyIndexLazyImport = createFileRoute("/privacy-policy/")();
-const PricingIndexLazyImport = createFileRoute("/pricing/")();
-const GdprIndexLazyImport = createFileRoute("/gdpr/")();
-const ContactIndexLazyImport = createFileRoute("/contact/")();
+const IndexLazyImport = createFileRoute('/')()
+const TermsOfServiceIndexLazyImport = createFileRoute('/terms-of-service/')()
+const PrivacyPolicyIndexLazyImport = createFileRoute('/privacy-policy/')()
+const PricingIndexLazyImport = createFileRoute('/pricing/')()
+const GdprIndexLazyImport = createFileRoute('/gdpr/')()
+const ContactIndexLazyImport = createFileRoute('/contact/')()
// Create/Update Routes
const IndexLazyRoute = IndexLazyImport.update({
- path: "/",
+ path: '/',
getParentRoute: () => rootRoute,
-} as any).lazy(() => import("./routes/index.lazy").then((d) => d.Route));
+} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route))
const TermsOfServiceIndexLazyRoute = TermsOfServiceIndexLazyImport.update({
- path: "/terms-of-service/",
+ path: '/terms-of-service/',
getParentRoute: () => rootRoute,
} as any).lazy(() =>
- import("./routes/terms-of-service/index.lazy").then((d) => d.Route),
-);
+ import('./routes/terms-of-service/index.lazy').then((d) => d.Route),
+)
const PrivacyPolicyIndexLazyRoute = PrivacyPolicyIndexLazyImport.update({
- path: "/privacy-policy/",
+ path: '/privacy-policy/',
getParentRoute: () => rootRoute,
} as any).lazy(() =>
- import("./routes/privacy-policy/index.lazy").then((d) => d.Route),
-);
+ import('./routes/privacy-policy/index.lazy').then((d) => d.Route),
+)
const PricingIndexLazyRoute = PricingIndexLazyImport.update({
- path: "/pricing/",
+ path: '/pricing/',
getParentRoute: () => rootRoute,
-} as any).lazy(() =>
- import("./routes/pricing/index.lazy").then((d) => d.Route),
-);
+} as any).lazy(() => import('./routes/pricing/index.lazy').then((d) => d.Route))
const GdprIndexLazyRoute = GdprIndexLazyImport.update({
- path: "/gdpr/",
+ path: '/gdpr/',
getParentRoute: () => rootRoute,
-} as any).lazy(() => import("./routes/gdpr/index.lazy").then((d) => d.Route));
+} as any).lazy(() => import('./routes/gdpr/index.lazy').then((d) => d.Route))
const ContactIndexLazyRoute = ContactIndexLazyImport.update({
- path: "/contact/",
+ path: '/contact/',
getParentRoute: () => rootRoute,
-} as any).lazy(() =>
- import("./routes/contact/index.lazy").then((d) => d.Route),
-);
+} as any).lazy(() => import('./routes/contact/index.lazy').then((d) => d.Route))
// Populate the FileRoutesByPath interface
-declare module "@tanstack/react-router" {
+declare module '@tanstack/react-router' {
interface FileRoutesByPath {
- "/": {
- preLoaderRoute: typeof IndexLazyImport;
- parentRoute: typeof rootRoute;
- };
- "/contact/": {
- preLoaderRoute: typeof ContactIndexLazyImport;
- parentRoute: typeof rootRoute;
- };
- "/gdpr/": {
- preLoaderRoute: typeof GdprIndexLazyImport;
- parentRoute: typeof rootRoute;
- };
- "/pricing/": {
- preLoaderRoute: typeof PricingIndexLazyImport;
- parentRoute: typeof rootRoute;
- };
- "/privacy-policy/": {
- preLoaderRoute: typeof PrivacyPolicyIndexLazyImport;
- parentRoute: typeof rootRoute;
- };
- "/terms-of-service/": {
- preLoaderRoute: typeof TermsOfServiceIndexLazyImport;
- parentRoute: typeof rootRoute;
- };
+ '/': {
+ preLoaderRoute: typeof IndexLazyImport
+ parentRoute: typeof rootRoute
+ }
+ '/contact/': {
+ preLoaderRoute: typeof ContactIndexLazyImport
+ parentRoute: typeof rootRoute
+ }
+ '/gdpr/': {
+ preLoaderRoute: typeof GdprIndexLazyImport
+ parentRoute: typeof rootRoute
+ }
+ '/pricing/': {
+ preLoaderRoute: typeof PricingIndexLazyImport
+ parentRoute: typeof rootRoute
+ }
+ '/privacy-policy/': {
+ preLoaderRoute: typeof PrivacyPolicyIndexLazyImport
+ parentRoute: typeof rootRoute
+ }
+ '/terms-of-service/': {
+ preLoaderRoute: typeof TermsOfServiceIndexLazyImport
+ parentRoute: typeof rootRoute
+ }
}
}
@@ -95,4 +91,4 @@ export const routeTree = rootRoute.addChildren([
PricingIndexLazyRoute,
PrivacyPolicyIndexLazyRoute,
TermsOfServiceIndexLazyRoute,
-]);
+])
diff --git a/apps/website/src/routes/__root.tsx b/apps/website/src/routes/__root.tsx
index e6c078f..74e0aac 100644
--- a/apps/website/src/routes/__root.tsx
+++ b/apps/website/src/routes/__root.tsx
@@ -1,4 +1,8 @@
-import { createRootRoute, Outlet } from "@tanstack/react-router";
+import {
+ createRootRoute,
+ Outlet,
+ ScrollRestoration,
+} from "@tanstack/react-router";
import Navbar from "../components/Navbar";
import Spacer from "../components/Spacer";
import Footer from "../components/Footer";
@@ -14,6 +18,7 @@ function Index() {
+