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!

Remove imprint (it's managed via blog-posts repo)

Blue Mouse139b8d607a96
diff --git a/web/app/pages/Imprint/index.tsx b/web/app/pages/Imprint/index.tsx
deleted file mode 100644
index 4a97d28bd..000000000
--- a/web/app/pages/Imprint/index.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import { CONTACT_EMAIL } from '~/lib/constants'
-
-const Imprint = () => {
- return (
- <div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
- <div className='mx-auto px-4 pt-12 pb-16 sm:px-6 md:w-4/5 lg:px-8'>
- <h1 className='text-4xl font-bold text-gray-900 dark:text-gray-50'>Imprint</h1>
- <p className='mt-4 text-lg text-gray-900 dark:text-gray-50'>
- Swetrix Ltd
- <br />
- International House, 38 Thistle Street, Edinburgh, United Kingdom, EH2 1EN
- <br />
- Company number SC797389
- <br />
- <br />
- Represented by Andrii Romasiun
- <br />
- Email: {CONTACT_EMAIL}
- </p>
- </div>
- </div>
- )
-}
-
-export default Imprint
diff --git a/web/app/routes/imprint.tsx b/web/app/routes/imprint.tsx
deleted file mode 100644
index b387ff510..000000000
--- a/web/app/routes/imprint.tsx
+++ /dev/null
@@ -1,23 +0,0 @@
-import { redirect } from 'react-router'
-import type { SitemapFunction } from 'remix-sitemap'
-
-import { isDisableMarketingPages, isSelfhosted } from '~/lib/constants'
-import Imprint from '~/pages/Imprint'
-
-export const sitemap: SitemapFunction = () => ({
- priority: 0.9,
- changefreq: 'monthly',
- exclude: isSelfhosted || isDisableMarketingPages,
-})
-
-export async function loader() {
- if (isSelfhosted || isDisableMarketingPages) {
- return redirect('/login', 302)
- }
-
- return null
-}
-
-export default function Index() {
- return <Imprint />
-}