Fix ESLint issues across codebase

- Replace 'any' types with proper TypeScript interfaces
- Fix unescaped apostrophe in not-found page
- Convert actionTypes constant to type definition to fix unused variable
- Optimize font loading using next/font instead of external links
- Improve type safety and remove linting warnings
This commit is contained in:
Derek Slenk 2025-06-29 17:55:13 -04:00
parent 9619cf2bf9
commit d03121001a
8 changed files with 2341 additions and 20 deletions

View file

@ -1,8 +1,11 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
import { Toaster } from '@/components/ui/toaster';
import { ThemeProvider } from '@/components/theme-provider';
const inter = Inter({ subsets: ['latin'] });
export const metadata: Metadata = {
title: 'Cheating Chelsea Exposed - The Truth About Chelsea Smallwood',
description:
@ -61,19 +64,7 @@ export default function RootLayout({
}>) {
return (
<html lang="en" suppressHydrationWarning>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link
rel="preconnect"
href="https://fonts.gstatic.com"
crossOrigin=""
/>
<link
href="https://fonts.googleapis.com/css2?family=Inter&display=swap"
rel="stylesheet"
/>
</head>
<body className="font-body antialiased">
<body className={`${inter.className} font-body antialiased`}>
<ThemeProvider
attribute="class"
defaultTheme="system"