fix: logo optimisation

This commit is contained in:
Oleg Proskurin 2025-12-18 23:26:01 +07:00
parent efbcb8bfcd
commit ef8be82aa8
4 changed files with 6 additions and 3 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

View File

@ -3,6 +3,7 @@ import { Inter, Caveat } from 'next/font/google';
import Image from 'next/image';
import Script from 'next/script';
import { Footer } from '@/components/shared/Footer';
import banatieLogo from './_assets/banatie-logo-horisontal.png';
import './globals.css';
const inter = Inter({
@ -51,7 +52,7 @@ export default function RootLayout({
<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">
<Image
src="/banatie-logo-horisontal.png"
src={banatieLogo}
alt="Banatie Logo"
width={150}
height={40}

View File

@ -2,6 +2,7 @@
import Image from 'next/image';
import { footerLinks, footerCopyright } from '@/config/footer';
import banatieLogo from '@/app/_assets/banatie-logo-horisontal.png';
export const Footer = () => {
return (
@ -10,10 +11,11 @@ export const Footer = () => {
<div className="flex flex-col md:flex-row justify-between items-center gap-6">
<div className="h-16 flex items-center">
<Image
src="/banatie-logo-horisontal.png"
src={banatieLogo}
alt="Banatie Logo"
width={200}
height={60}
loading="lazy"
className="h-full w-auto object-contain"
/>
</div>