diff --git a/apps/www/components/Features/index.tsx b/apps/www/components/Features/index.tsx index 11603dd32d7..36ec624ce83 100644 --- a/apps/www/components/Features/index.tsx +++ b/apps/www/components/Features/index.tsx @@ -99,7 +99,7 @@ const Features = () => { const isSm = useBreakpoint(640) return ( - +
(
- +
diff --git a/apps/www/components/Hero/HeroBackground.tsx b/apps/www/components/Hero/HeroBackground.tsx index 8d697e08084..d2661f70362 100644 --- a/apps/www/components/Hero/HeroBackground.tsx +++ b/apps/www/components/Hero/HeroBackground.tsx @@ -1,28 +1,23 @@ import React, { useEffect, useRef } from 'react' import styles from './hero.module.css' import { useWindowSize } from 'react-use' -import { useTheme } from 'common' -import { motion } from 'framer-motion' const HeroBackground = () => { const divRef = useRef(null) - const { isDarkMode } = useTheme() const { width } = useWindowSize() useEffect(() => { - const newHeight = - width < 768 ? 100000 / width : width > 1800 ? 30000 / width : (70000 / width) * 2 + const divHeight = + width < 768 ? 50000 / width : width > 1800 ? 30000 / width : (70000 / width) * 2 if (divRef?.current) { - ;(divRef.current as HTMLDivElement).style.height = `${Math.round(newHeight)}px` - console.log(width, newHeight) + ;(divRef.current as HTMLDivElement).style.height = `${Math.round(divHeight)}px` } }, [width]) const svgTraceWidth = 1680 const svgTraceHeight = 915 const svgPath = - // 'M2.16005e-05 -0.000998163L1680 0.129286V234L834.197 1068.2L-0.000248139 234.001L2.16005e-05 -0.000998163Z' 'M2.16005e-05 -0.000998163L1680 0.129286V234L834.197 1068.2L-0.000248139 234.001L2.16005e-05 -0.000998163Z' return ( @@ -59,44 +54,6 @@ const HeroBackground = () => { /> - {/* - // Animated trace - - - - - */} >>>>>> c73d8f313 (chore: remove announcement banner) import FlyOut from '~/components/UI/FlyOut' import Transition from 'lib/Transition' diff --git a/apps/www/public/images/index/edge-dark.jpg b/apps/www/public/images/index/edge-dark.jpg index 6d5018c062c..fd97735f4b0 100644 Binary files a/apps/www/public/images/index/edge-dark.jpg and b/apps/www/public/images/index/edge-dark.jpg differ