From ea42c0f2baf980fada4551cff509a7d6b6bb662e Mon Sep 17 00:00:00 2001 From: Vishal Myla <99010982+VishalMyla@users.noreply.github.com> Date: Wed, 11 Oct 2023 08:07:15 +0530 Subject: [PATCH] Clean up Hero file --- apps/movex-docs/modules/home/Hero.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apps/movex-docs/modules/home/Hero.tsx b/apps/movex-docs/modules/home/Hero.tsx index 84990504..b35db060 100644 --- a/apps/movex-docs/modules/home/Hero.tsx +++ b/apps/movex-docs/modules/home/Hero.tsx @@ -1,24 +1,12 @@ import React from 'react'; import { useEffect, useState } from 'react'; -import { Button } from '../../components/Button'; import Link from 'next/link'; -import { useCurrentTheme } from '../../hooks/useCurrentTheme'; -import { Code, Pre } from 'nextra/components'; type Props = {}; const appTypes = ['Apps', 'Game', 'Chat', 'To-Do', 'Doc']; const lightColors = [ 'text-red-500', - // 'text-blue-500', - 'text-green-500', - 'text-yellow-500', - 'text-orange-500', - 'text-purple-500', -]; -const darkColors = [ - 'text-red-500', - // 'text-blue-500', 'text-green-500', 'text-yellow-500', 'text-orange-500', @@ -31,7 +19,6 @@ export const Hero: React.FC = () => { appType: 0, }); - const currentTheme = useCurrentTheme(); useEffect(() => { const timeoutId = setTimeout(() => {