diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 506b048..a6e21aa 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef, useMemo, createContext, useContext, useState } from 'react'; +import { useEffect, createContext, useContext, useState } from 'react'; import { motion } from 'framer-motion'; import { useInView } from 'react-intersection-observer'; import Lenis from '@studio-freight/lenis'; @@ -11,6 +11,7 @@ import '@fontsource/dm-sans/600.css'; import '@fontsource/dm-sans/700.css'; import '@fontsource/instrument-sans/400.css'; import '@fontsource/instrument-sans/500.css'; +import Link from 'next/link'; type Theme = 'black' | 'red' | 'gold'; type ThemeContextType = { @@ -74,23 +75,6 @@ const FadeIn = ({ children, className = "", delay = 0 }: { children: React.React ); }; -const shine = ` - @keyframes shine { - 0% { - background-position: 200% 0; - } - 45% { - background-position: 0% 0; - } - 55% { - background-position: -50% 0; - } - 100% { - background-position: -200% 0; - } - } -`; - const GermanyText = () => { const { theme, setTheme } = useContext(ThemeContext); @@ -170,9 +154,9 @@ export default function Home() {