From 930e7e33e3ead458ba6cf49952029d363afcfb1b Mon Sep 17 00:00:00 2001 From: agrippa Date: Mon, 26 Jun 2023 15:39:30 -0400 Subject: [PATCH] Revert "feat: add a redirect to the discover page" (#18) Revert "feat: add a redirect to the discover page (#17)" This reverts commit 8c3cec5f852944ca08d7fa0b8a47e97773b418b5. --- src/pages/index.tsx | 82 ++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 45 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 141098e..dfdfb20 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,52 +1,44 @@ -import { useRouter } from 'next/router'; -import { useEffect } from 'react'; -// import usePageViewTracking from '@/hooks/usePageViewTracking'; +import usePageViewTracking from '@/hooks/usePageViewTracking'; -// import DAOStructures from '@/components/DAOStructures'; -// import Footer from '@/components/Footer'; -// import Introduction from '@/components/Introduction'; -// import ManagingDAOs from '@/components/ManagingDAOs'; -// import Metrics from '@/components/Metrics'; -// import NavBar from '@/components/NavBar'; -// import RealmsCommunity from '@/components/RealmsCommunity'; -// import SolanaStandard from '@/components/SolanaStandard'; -// import TrackViewportEnter from '@/components/TrackViewportEnter'; +import DAOStructures from '@/components/DAOStructures'; +import Footer from '@/components/Footer'; +import Introduction from '@/components/Introduction'; +import ManagingDAOs from '@/components/ManagingDAOs'; +import Metrics from '@/components/Metrics'; +import NavBar from '@/components/NavBar'; +import RealmsCommunity from '@/components/RealmsCommunity'; +import SolanaStandard from '@/components/SolanaStandard'; +import TrackViewportEnter from '@/components/TrackViewportEnter'; const Index = () => { - // usePageViewTracking('index'); - const router = useRouter(); + usePageViewTracking('index'); - useEffect(() => { - router.push('https://app.realms.today/discover'); - }, [router]); - - return null; - // return ( - //
- // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - // - //
- // - //
- // ); + return ( +
+ + + + + + + + + + + + + + + + + + + + +
+ ); }; export default Index;