From 116b9772b12175721fd578a741e5dfa54c799fe0 Mon Sep 17 00:00:00 2001 From: Leandro Almeida Date: Thu, 25 Apr 2024 17:38:05 -0300 Subject: [PATCH] Remove landing page --- apps/web/src/pages/Landing/LandingV2.tsx | 64 --------------------- apps/web/src/pages/Landing/index.tsx | 72 +----------------------- 2 files changed, 3 insertions(+), 133 deletions(-) delete mode 100644 apps/web/src/pages/Landing/LandingV2.tsx diff --git a/apps/web/src/pages/Landing/LandingV2.tsx b/apps/web/src/pages/Landing/LandingV2.tsx deleted file mode 100644 index 1c79b839792..00000000000 --- a/apps/web/src/pages/Landing/LandingV2.tsx +++ /dev/null @@ -1,64 +0,0 @@ -import { memo, useRef } from 'react' -import styled from 'styled-components' - -import { DirectToDefi } from './sections/DirectToDefi' -import { Footer } from './sections/Footer' -import { Hero } from './sections/Hero' -import { NewsletterEtc } from './sections/NewsletterEtc' -import { Stats } from './sections/Stats' - -const Container = styled.div` - position: relative; - display: flex; - flex-direction: column; - align-items: center; - gap: 120px; - @media (max-width: 1024px) { - gap: 80px; - } - margin-top: -72px; - min-width: 100%; - max-width: 1280px; - z-index: 1; -` - -const Grain = styled.div` - display: flex; - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - background: url(/images/noise-color.png); - opacity: 0.018; - z-index: 0; -` - -function LandingV2({ transition }: { transition?: boolean }) { - const scrollAnchor = useRef(null) - const scrollToRef = () => { - if (scrollAnchor.current) { - window.scrollTo({ - top: scrollAnchor.current.offsetTop - 120, - behavior: 'smooth', - }) - } - } - - return ( - <> - - - -
- -
- - -