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!

captchas view to remix

Maksim Mrug87d824011033
diff --git a/app/pages/Captcha/View/styles.css b/app/pages/Captcha/View/styles.css
deleted file mode 100644
index f8a7a141b..000000000
--- a/app/pages/Captcha/View/styles.css
+++ /dev/null
@@ -1,7 +0,0 @@
-html.dark .bb-legend-item text {
- fill: #f9fafb;
-}
-
-html.dark .bb-axis {
- fill: #f9fafb;
-}
diff --git a/app/routes/captchas.$id.tsx b/app/routes/captchas.$id.tsx
new file mode 100644
index 000000000..bf21b37ac
--- /dev/null
+++ b/app/routes/captchas.$id.tsx
@@ -0,0 +1,20 @@
+import CaptchaView from 'pages/Captcha/View'
+import type { V2_MetaFunction, LinksFunction } from '@remix-run/node'
+import ProjectViewStyle from 'styles/ProjectViewStyle.css'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ {
+ title: 'Captcha View',
+ description: 'Captcha View',
+ },
+ ]
+}
+
+export const links: LinksFunction = () => [
+ { rel: 'stylesheet', href: ProjectViewStyle },
+]
+
+export default function Index() {
+ return <CaptchaView />
+}
diff --git a/app/routesPath/index.ts b/app/routesPath/index.ts
index 596c89ab9..b37619590 100644
--- a/app/routesPath/index.ts
+++ b/app/routesPath/index.ts
@@ -15,7 +15,7 @@ const routes = Object.freeze({
project_settings: '/projects/settings/:id', // add
captcha_settings: '/captchas/settings/:id', // add
project: '/projects/:id', // add
- captcha: '/captchas/:id',
+ captcha: '/captchas/:id', // add
features: '/features', // add
billing: '/billing', // add
privacy: '/privacy', // add