From 3b0552f4ec1bd161948dc334e0819b4931cae1c2 Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Mon, 24 Feb 2025 22:02:55 +0100 Subject: [PATCH] refactor: clean up imports and update JSX syntax --- src/pages/index.tsx | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) 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() {