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!

about to remix and add to route

Maksim Mrug8948a86223c7
diff --git a/app/pages/About/index.tsx b/app/pages/About/index.tsx
index 5b03ef995..7b02536cc 100644
--- a/app/pages/About/index.tsx
+++ b/app/pages/About/index.tsx
@@ -3,7 +3,6 @@ import React from 'react'
import _map from 'lodash/map'
import { CONTACT_EMAIL, GITHUB_URL } from 'redux/constants'
-import Title from 'components/Title'
const socialIcons: {
[key: string]: JSX.Element
@@ -127,7 +126,7 @@ const team: {
]
const About = (): JSX.Element => (
- <Title title='About us'>
+ <div>
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
<div className='max-w-prose md:max-w-none md:w-8/12 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8 whitespace-pre-line'>
<h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50 tracking-tight'>
@@ -163,7 +162,7 @@ const About = (): JSX.Element => (
</p>
</div>
</div>
- </Title>
+ </div>
)
export default About
diff --git a/app/routes/about.tsx b/app/routes/about.tsx
new file mode 100644
index 000000000..f69f18a68
--- /dev/null
+++ b/app/routes/about.tsx
@@ -0,0 +1,20 @@
+import About from 'pages/About'
+import type { V2_MetaFunction } from '@remix-run/node'
+
+export const meta: V2_MetaFunction = () => {
+ return [
+ { title: 'About' },
+ {
+ name: 'description',
+ content: 'About page',
+ },
+ {
+ name: 'keywords',
+ content: 'about',
+ },
+ ]
+}
+
+export default function Index() {
+ return <About />
+}