Add logo image and update branding across header, footer, and emails
- Replace text logo with logo-spanglish.png in Header and Footer - Update email templates to use logo image instead of styled text - Add new HeroSection and EventHighlight components - Update homepage layout and event detail pages - Adjust Tailwind config and global styles
This commit is contained in:
@@ -1,10 +1,26 @@
|
||||
import type { Metadata, Viewport } from 'next';
|
||||
import { Inter, Poppins } from 'next/font/google';
|
||||
import { Toaster } from 'react-hot-toast';
|
||||
import { LanguageProvider } from '@/context/LanguageContext';
|
||||
import { AuthProvider } from '@/context/AuthContext';
|
||||
import PlausibleAnalytics from '@/components/PlausibleAnalytics';
|
||||
import './globals.css';
|
||||
|
||||
// Self-hosted fonts via next/font - eliminates render-blocking external requests
|
||||
const inter = Inter({
|
||||
subsets: ['latin'],
|
||||
display: 'swap',
|
||||
variable: '--font-inter',
|
||||
weight: ['400', '500', '600', '700'],
|
||||
});
|
||||
|
||||
const poppins = Poppins({
|
||||
subsets: ['latin'],
|
||||
display: 'swap',
|
||||
variable: '--font-poppins',
|
||||
weight: ['500', '600', '700'],
|
||||
});
|
||||
|
||||
const siteUrl = process.env.NEXT_PUBLIC_SITE_URL || 'https://spanglish.com.py';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -94,8 +110,8 @@ export default function RootLayout({
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<html lang="en" className={`${inter.variable} ${poppins.variable}`}>
|
||||
<body className={inter.className}>
|
||||
<PlausibleAnalytics />
|
||||
<AuthProvider>
|
||||
<LanguageProvider>
|
||||
|
||||
Reference in New Issue
Block a user