📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
update root
Maksim Mrugc2769d33a09d
diff --git a/app/root.tsx b/app/root.tsxindex 6983342f0..8a9e41703 100644--- a/app/root.tsx+++ b/app/root.tsx@@ -8,11 +8,30 @@ import {} from '@remix-run/react'import { store } from 'redux/store'import { Provider } from 'react-redux'+// @ts-ignore+import { transitions, positions, Provider as AlertProvider } from '@blaumaus/react-alert'+import AlertTemplate from 'ui/Alert'+import { trackViews } from 'utils/analytics'import AppWrapper from 'App'import tailwindCss from './css/tailwind.css'+trackViews()++console.log('%cWelcome, hacker, glad you opened your console, you seem serious about your craft and will go a long way!\nP.S. All the bugs, feature requests are welcome to be sent to [email protected]', 'color: #818cf8;background: #1f2937;font-size: 20px;text-shadow: 2px 2px black')++const options = {+ position: positions.BOTTOM_RIGHT,+ timeout: 8000,+ offset: '30px',+ transition: transitions.SCALE,+}++if (process.env.NODE_ENV !== 'production') {+ localStorage.debug = 'swetrix:*'+}+export const links: LinksFunction = () => [{ rel: 'stylesheet', href: tailwindCss },]