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!

alerts create to remix and add to routes

Maksim Mrug6d1fcac9b157
diff --git a/app/routes/projects.$id.alerts.create.tsx b/app/routes/projects.$id.alerts.create.tsx
new file mode 100644
index 000000000..0e48a19f4
--- /dev/null
+++ b/app/routes/projects.$id.alerts.create.tsx
@@ -0,0 +1,15 @@
+import ProjectAlertsSettings from 'pages/Project/Alerts/Settings/ProjectAlertsSettings'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ {
+ title: 'Project Alerts Settings',
+ description: 'Project Alerts Settings',
+ },
+ ]
+}
+
+export default function Index() {
+ return <ProjectAlertsSettings />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index 08b334ab3..4fc4305c3 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -24,7 +24,7 @@ const routes = Object.freeze({
contact: '/contact', // add
changelog: '/changelog', // add
about: '/about', // add
- create_alert: '/projects/:pid/alerts/create',
+ create_alert: '/projects/:pid/alerts/create', // add
alert_settings: '/projects/:pid/alerts/settings/:id', // add
press: '/press', // add
transfer_confirm: '/project/transfer/confirm', // add