Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

project settings to remix and add routing

Maksim Mrug8f1d579aa846
diff --git a/app/routes/projects.settings.$id.tsx b/app/routes/projects.settings.$id.tsx
new file mode 100644
index 000000000..28a03461c
--- /dev/null
+++ b/app/routes/projects.settings.$id.tsx
@@ -0,0 +1,15 @@
+import ProjectSettings from 'pages/Project/Settings/ProjectSettings'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ {
+ title: 'Project Settings',
+ description: 'Project Settings',
+ },
+ ]
+}
+
+export default function Index() {
+ return <ProjectSettings />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index 4fc2b684c..083eb0f30 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -12,7 +12,7 @@ const routes = Object.freeze({
change_email: '/change-email/:id', // add
new_project: '/projects/new', // add
new_captcha: '/captchas/new', // add
- project_settings: '/projects/settings/:id',
+ project_settings: '/projects/settings/:id', // add
captcha_settings: '/captchas/settings/:id',
project: '/projects/:id',
captcha: '/captchas/:id',