diff --git a/src/components/sections/home-page/hero.tsx b/src/components/sections/home-page/hero.tsx index 685efd2..4467674 100644 --- a/src/components/sections/home-page/hero.tsx +++ b/src/components/sections/home-page/hero.tsx @@ -1,11 +1,8 @@ -import { MotionGlobalConfig } from 'framer-motion' import { FlipWords } from '@/components/ui/flip-words' import { HomePageButton } from '@/components/ui/home-button' import { buttons } from '@/content/web/buttons' import { Boxes } from '@/components/ui/background-boxes' -// MotionGlobalConfig.skipAnimations = true - const words = ['vision', 'ideas', 'stack', 'way'] export function Hero() { diff --git a/src/components/ui/flip-words.tsx b/src/components/ui/flip-words.tsx index 7331e79..ef88787 100644 --- a/src/components/ui/flip-words.tsx +++ b/src/components/ui/flip-words.tsx @@ -1,8 +1,8 @@ 'use client' // https://ui.aceternity.com/components/flip-words -import React, { useCallback, useEffect, useRef, useState } from 'react' -import { AnimatePresence, LayoutGroup, motion } from 'framer-motion' +import React, { useCallback, useEffect, useState } from 'react' +import { AnimatePresence, motion } from 'framer-motion' import { cn } from '@/lib/utils' export function FlipWords({ diff --git a/src/components/ui/home-button.tsx b/src/components/ui/home-button.tsx index a5e48dc..e92db57 100644 --- a/src/components/ui/home-button.tsx +++ b/src/components/ui/home-button.tsx @@ -1,6 +1,5 @@ import clsx from 'clsx' import Image from 'next/image' -import Link from 'next/link' import { Button } from '@/components/ui/button' import { LinkPreview } from '@/components/ui/link-preview' diff --git a/tailwind.config.ts b/tailwind.config.ts index 94abd10..8da2f62 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -1,7 +1,6 @@ import type { Config } from 'tailwindcss' import tailwindcssAnimate from 'tailwindcss-animate' -import colors from 'tailwindcss/colors' // @ts-expect-error: This works and doesn't cause any issues import flattenColorPalette from 'tailwindcss/lib/util/flattenColorPalette'