Compare commits

..

No commits in common. "f37ae0017738000874c8235deb8f95d713e84e55" and "efbcb8bfcdfc4b3458062e7748c994184f404b41" have entirely different histories.

6 changed files with 24 additions and 35 deletions

View File

@ -4,7 +4,7 @@ const nextConfig: NextConfig = {
output: 'standalone', output: 'standalone',
trailingSlash: true, trailingSlash: true,
images: { images: {
formats: ['image/avif', 'image/webp'], // Enable Next.js image optimization for better performance
}, },
eslint: { eslint: {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 KiB

View File

@ -1,6 +1,6 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
export default function GlowEffect({ children, id }: { children: React.ReactNode; id?: string }) { export default function GlowEffect({ children }: { children: React.ReactNode }) {
const [isPropertyRegistered, setIsPropertyRegistered] = useState(false); const [isPropertyRegistered, setIsPropertyRegistered] = useState(false);
// Register CSS property in component body (before render) // Register CSS property in component body (before render)
@ -68,7 +68,7 @@ export default function GlowEffect({ children, id }: { children: React.ReactNode
`}</style> `}</style>
)} )}
<div id={id} className="flex items-center justify-center p-4 scroll-mt-50"> <div className="flex items-center justify-center p-4">
<div className="email-form-wrapper relative isolate max-w-lg w-full mx-auto p-[2px] rounded-xl"> <div className="email-form-wrapper relative isolate max-w-lg w-full mx-auto p-[2px] rounded-xl">
{children} {children}
</div> </div>

View File

@ -85,7 +85,7 @@ export function WaitlistEmailForm() {
return ( return (
<> <>
<style dangerouslySetInnerHTML={{ __html: styles }} /> <style dangerouslySetInnerHTML={{ __html: styles }} />
<GlowEffect id="get-access"> <GlowEffect>
{isSubmitted ? ( {isSubmitted ? (
<div <div
className="flex items-center justify-center gap-3 px-4 py-3 rounded-[10px]" className="flex items-center justify-center gap-3 px-4 py-3 rounded-[10px]"

View File

@ -3,7 +3,6 @@ import { Inter, Caveat } from 'next/font/google';
import Image from 'next/image'; import Image from 'next/image';
import Script from 'next/script'; import Script from 'next/script';
import { Footer } from '@/components/shared/Footer'; import { Footer } from '@/components/shared/Footer';
import banatieLogo from './_assets/banatie-logo-horisontal.png';
import './globals.css'; import './globals.css';
const inter = Inter({ const inter = Inter({
@ -48,11 +47,11 @@ export default function RootLayout({
</div> </div>
{/* Header */} {/* Header */}
<header className="sticky top-0 z-10 bg-slate-900/80 backdrop-blur-md border-b border-white/5"> <header className="relative z-10 border-b border-white/10 backdrop-blur-sm">
<nav className="max-w-7xl mx-auto px-6 py-3 flex justify-between items-center h-16"> <nav className="max-w-7xl mx-auto px-6 py-3 flex justify-between items-center h-16">
<div className="h-full flex items-center"> <div className="h-full flex items-center">
<Image <Image
src={banatieLogo} src="/banatie-logo-horisontal.png"
alt="Banatie Logo" alt="Banatie Logo"
width={150} width={150}
height={40} height={40}
@ -61,10 +60,10 @@ export default function RootLayout({
/> />
</div> </div>
<a <a
href="#get-access" href="#waitlist"
className="text-sm text-gray-300 hover:text-white transition-colors" className="text-sm text-gray-300 hover:text-white transition-colors"
> >
Get Access Join Beta
</a> </a>
</nav> </nav>
</header> </header>

View File

@ -2,44 +2,34 @@
import Image from 'next/image'; import Image from 'next/image';
import { footerLinks, footerCopyright } from '@/config/footer'; import { footerLinks, footerCopyright } from '@/config/footer';
import banatieLogo from '@/app/_assets/banatie-logo-horisontal.png';
export const Footer = () => { export const Footer = () => {
return ( return (
<footer className="relative z-10 border-t border-white/10 backdrop-blur-sm"> <footer className="relative z-10 border-t border-white/10 backdrop-blur-sm">
<div className="max-w-7xl mx-auto px-4 sm:px-6 pt-8 sm:pt-10 md:pt-12 pb-4"> <div className="max-w-7xl mx-auto px-6 pt-12 pb-4">
<div className="flex flex-col md:flex-row justify-between items-center gap-6 md:gap-8"> <div className="flex flex-col md:flex-row justify-between items-center gap-6">
{/* Logo - responsive sizing */} <div className="h-16 flex items-center">
<div className="h-10 sm:h-12 md:h-14 lg:h-16 flex items-center">
<Image <Image
src={banatieLogo} src="/banatie-logo-horisontal.png"
alt="Banatie Logo" alt="Banatie Logo"
width={200} width={200}
height={60} height={60}
loading="lazy"
className="h-full w-auto object-contain" className="h-full w-auto object-contain"
/> />
</div> </div>
<div className="flex gap-8 text-sm text-gray-400">
{/* Navigation - grid on mobile, row on desktop */}
<nav aria-label="Footer navigation">
<div className="grid grid-cols-2 gap-x-4 gap-y-3 sm:flex sm:flex-wrap sm:justify-center sm:gap-6 md:gap-8 text-sm text-gray-400">
{footerLinks.map((link) => ( {footerLinks.map((link) => (
<a <a
key={link.label} key={link.label}
href={link.href} href={link.href}
className="hover:text-white transition-colors text-center sm:text-left" className="hover:text-white transition-colors"
> >
{link.label} {link.label}
</a> </a>
))} ))}
</div> </div>
</nav>
</div>
<div className="mt-8 md:mt-10 text-center text-sm text-gray-500">
{footerCopyright}
</div> </div>
<div className="mt-8 text-center text-sm text-gray-500">{footerCopyright}</div>
</div> </div>
</footer> </footer>
); );