fix: resolve all ESLint errors and warnings

This commit is contained in:
AyrisAI
2026-08-23 01:57:30 +03:00
parent f79602122b
commit 230c9a61c4
8 changed files with 16 additions and 121 deletions
+4 -4
View File
@@ -64,7 +64,7 @@ export default function AboutPage() {
</h1> </h1>
<div className="h-1 w-24 bg-primary mx-auto mt-4 mb-6"></div> <div className="h-1 w-24 bg-primary mx-auto mt-4 mb-6"></div>
<p className="text-on-surface text-lg md:text-xl max-w-2xl mx-auto font-light tracking-wide uppercase"> <p className="text-on-surface text-lg md:text-xl max-w-2xl mx-auto font-light tracking-wide uppercase">
Dalaman'ın güvenilir çözüm ortağı: Tecrübe, güç ve hassasiyetle yükseliyoruz. Dalaman&apos;ın güvenilir çözüm ortağı: Tecrübe, güç ve hassasiyetle yükseliyoruz.
</p> </p>
</div> </div>
</section> </section>
@@ -91,7 +91,7 @@ export default function AboutPage() {
<div className="flex flex-col gap-6"> <div className="flex flex-col gap-6">
<span className="text-primary font-headline text-sm uppercase tracking-[0.3em]">Kurumsal Kimliğimiz</span> <span className="text-primary font-headline text-sm uppercase tracking-[0.3em]">Kurumsal Kimliğimiz</span>
<h2 className="text-4xl md:text-5xl font-headline font-bold text-on-surface leading-none uppercase"> <h2 className="text-4xl md:text-5xl font-headline font-bold text-on-surface leading-none uppercase">
Dalaman'ın Gücü, Sizin Güveniniz. Dalaman&apos;ın Gücü, Sizin Güveniniz.
</h2> </h2>
<p className="text-on-surface-variant text-lg leading-relaxed"> <p className="text-on-surface-variant text-lg leading-relaxed">
Aydoğan Nakliyat Vinç olarak, Dalaman ve çevresinde uzun yıllardır güvenilirlik ve tecrübeyle hizmet vermekteyiz. Sektördeki köklü geçmişimizle, her projede en yüksek standartları hedefliyoruz. Aydoğan Nakliyat Vinç olarak, Dalaman ve çevresinde uzun yıllardır güvenilirlik ve tecrübeyle hizmet vermekteyiz. Sektördeki köklü geçmişimizle, her projede en yüksek standartları hedefliyoruz.
@@ -142,7 +142,7 @@ export default function AboutPage() {
<h2 className="text-3xl font-headline font-bold text-white uppercase tracking-tight">Misyonumuz</h2> <h2 className="text-3xl font-headline font-bold text-white uppercase tracking-tight">Misyonumuz</h2>
</div> </div>
<p className="text-on-surface-variant text-lg leading-relaxed italic"> <p className="text-on-surface-variant text-lg leading-relaxed italic">
"Modern teknolojiyi geleneksel iş ahlakıyla birleştirerek, Dalaman bölgesindeki altyapı ve inşaat projelerine en güvenilir, en hızlı ve en profesyonel lojistik ve vinç desteğini sağlamak." &quot;Modern teknolojiyi geleneksel ahlakıyla birleştirerek, Dalaman bölgesindeki altyapı ve inşaat projelerine en güvenilir, en hızlı ve en profesyonel lojistik ve vinç desteğini sağlamak.&quot;
</p> </p>
</div> </div>
<div className="bg-surface-container-lowest p-12 lg:p-20"> <div className="bg-surface-container-lowest p-12 lg:p-20">
@@ -153,7 +153,7 @@ export default function AboutPage() {
<h2 className="text-3xl font-headline font-bold text-white uppercase tracking-tight">Vizyonumuz</h2> <h2 className="text-3xl font-headline font-bold text-white uppercase tracking-tight">Vizyonumuz</h2>
</div> </div>
<p className="text-on-surface-variant text-lg leading-relaxed"> <p className="text-on-surface-variant text-lg leading-relaxed">
"Sektörde yenilikçi çözümlerimiz ve sarsılmaz güvenilirliğimizle, sadece Dalaman'da değil, tüm Ege ve Akdeniz bölgesinde ağır nakliyat ve vinç hizmetlerinde lider marka olmak." &quot;Sektörde yenilikçi çözümlerimiz ve sarsılmaz güvenilirliğimizle, sadece Dalaman&apos;da değil, tüm Ege ve Akdeniz bölgesinde ağır nakliyat ve vinç hizmetlerinde lider marka olmak.&quot;
</p> </p>
</div> </div>
</div> </div>
+2 -2
View File
@@ -98,7 +98,7 @@ export default function ContactPage() {
<span className="text-xs font-bold uppercase tracking-widest text-on-surface">Hızlı Erişim</span> <span className="text-xs font-bold uppercase tracking-widest text-on-surface">Hızlı Erişim</span>
</div> </div>
<p className="text-sm text-on-surface-variant leading-relaxed"> <p className="text-sm text-on-surface-variant leading-relaxed">
Dalaman Sanayi Sitesi'ndeki stratejik konumumuzla her noktaya en hızlı şekilde ulaşıyoruz. Dalaman Sanayi Sitesi&apos;ndeki stratejik konumumuzla her noktaya en hızlı şekilde ulaşıyoruz.
</p> </p>
</div> </div>
</div> </div>
@@ -123,7 +123,7 @@ export default function ContactPage() {
<Navigation className="text-primary w-10 h-10 mb-4" /> <Navigation className="text-primary w-10 h-10 mb-4" />
<h3 className="text-2xl font-black uppercase tracking-tighter text-on-surface mb-2">Lokasyonumuz</h3> <h3 className="text-2xl font-black uppercase tracking-tighter text-on-surface mb-2">Lokasyonumuz</h3>
<p className="text-on-surface-variant leading-relaxed mb-6 italic text-sm"> <p className="text-on-surface-variant leading-relaxed mb-6 italic text-sm">
Dalaman Sanayi Sitesi'nin kalbinde, tüm Ege ve Akdeniz bölgesine hızlı erişim noktasındayız. Dalaman Sanayi Sitesi&apos;nin kalbinde, tüm Ege ve Akdeniz bölgesine hızlı erişim noktasındayız.
</p> </p>
<a <a
className="text-primary font-bold uppercase tracking-widest text-xs flex items-center gap-2 hover:gap-4 transition-all" className="text-primary font-bold uppercase tracking-widest text-xs flex items-center gap-2 hover:gap-4 transition-all"
+3 -3
View File
@@ -1,7 +1,7 @@
'use client'; 'use client';
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import { ArrowRight, MessageCircle } from "lucide-react"; import { MessageCircle } from "lucide-react";
import { siteConfig } from "@/lib/data"; import { siteConfig } from "@/lib/data";
export function CTASection() { export function CTASection() {
@@ -41,7 +41,7 @@ export function CTASection() {
transition={{ delay: 0.1 }} transition={{ delay: 0.1 }}
className="font-body text-lg md:text-2xl text-on-surface-variant leading-relaxed" className="font-body text-lg md:text-2xl text-on-surface-variant leading-relaxed"
> >
Her türlü ağır yük ve yüksek irtifa projeleriniz için profesyonel mühendislik çözümleri sunuyoruz. Dalaman'dan tüm Türkiye'ye 7/24 hizmetinizdeyiz. Her türlü ağır yük ve yüksek irtifa projeleriniz için profesyonel mühendislik çözümleri sunuyoruz. Dalaman&apos;dan tüm Türkiye&apos;ye 7/24 hizmetinizdeyiz.
</motion.p> </motion.p>
</div> </div>
@@ -54,7 +54,7 @@ export function CTASection() {
onClick={handleWhatsApp} onClick={handleWhatsApp}
className="bg-primary text-on-primary font-headline font-black uppercase tracking-widest px-12 py-6 text-xl hover:brightness-110 active:scale-95 transition-all rounded-none shadow-[10px_10px_0px_0px_rgba(0,0,0,0.5)] active:shadow-none whitespace-nowrap flex items-center justify-center gap-4 group" className="bg-primary text-on-primary font-headline font-black uppercase tracking-widest px-12 py-6 text-xl hover:brightness-110 active:scale-95 transition-all rounded-none shadow-[10px_10px_0px_0px_rgba(0,0,0,0.5)] active:shadow-none whitespace-nowrap flex items-center justify-center gap-4 group"
> >
WHATSAPP'TAN TEKLİF ALIN WHATSAPP&apos;TAN TEKLİF ALIN
<MessageCircle className="w-6 h-6 group-hover:rotate-12 transition-transform" /> <MessageCircle className="w-6 h-6 group-hover:rotate-12 transition-transform" />
</button> </button>
<p className="text-center font-label text-[10px] uppercase tracking-widest text-on-surface-variant font-bold"> <p className="text-center font-label text-[10px] uppercase tracking-widest text-on-surface-variant font-bold">
+4 -1
View File
@@ -3,6 +3,7 @@
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
import { FLEET_ITEMS, siteConfig } from "@/lib/data"; import { FLEET_ITEMS, siteConfig } from "@/lib/data";
import Image from "next/image";
import Link from "next/link"; import Link from "next/link";
import { MessageCircle } from "lucide-react"; import { MessageCircle } from "lucide-react";
@@ -37,10 +38,12 @@ export function FleetSection() {
className="min-w-[320px] md:min-w-[500px] bg-surface-container-lowest flex flex-col group shadow-2xl" className="min-w-[320px] md:min-w-[500px] bg-surface-container-lowest flex flex-col group shadow-2xl"
> >
<div className="h-64 md:h-96 overflow-hidden relative"> <div className="h-64 md:h-96 overflow-hidden relative">
<img <Image
className="w-full h-full object-cover grayscale group-hover:grayscale-0 transition-all duration-1000 group-hover:scale-105" className="w-full h-full object-cover grayscale group-hover:grayscale-0 transition-all duration-1000 group-hover:scale-105"
src={v.image} src={v.image}
alt={v.name} alt={v.name}
fill
sizes="(max-width: 768px) 320px, 500px"
/> />
<div className={cn( <div className={cn(
"absolute top-0 left-0 px-4 py-2 font-label text-[10px] font-bold uppercase tracking-widest", "absolute top-0 left-0 px-4 py-2 font-label text-[10px] font-bold uppercase tracking-widest",
+2 -2
View File
@@ -3,7 +3,7 @@
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import Image from "next/image"; import Image from "next/image";
import Link from "next/link"; import Link from "next/link";
import { ArrowRight, Phone, MessageCircle } from "lucide-react"; import { ArrowRight, MessageCircle } from "lucide-react";
import { siteConfig } from "@/lib/data"; import { siteConfig } from "@/lib/data";
import { openinaryUrl } from "@/lib/openinary"; import { openinaryUrl } from "@/lib/openinary";
@@ -62,7 +62,7 @@ export function Hero() {
className="bg-surface-container-high text-white px-10 py-5 font-headline font-black uppercase tracking-widest text-lg hover:bg-white hover:text-black transition-all rounded-none border-b-2 border-primary/50 flex items-center justify-center gap-3" className="bg-surface-container-high text-white px-10 py-5 font-headline font-black uppercase tracking-widest text-lg hover:bg-white hover:text-black transition-all rounded-none border-b-2 border-primary/50 flex items-center justify-center gap-3"
> >
<MessageCircle className="w-6 h-6" /> <MessageCircle className="w-6 h-6" />
WhatsApp'tan Teklif Al WhatsApp&apos;tan Teklif Al
</button> </button>
</div> </div>
</motion.div> </motion.div>
+1
View File
@@ -12,6 +12,7 @@ const eslintConfig = defineConfig([
"out/**", "out/**",
"build/**", "build/**",
"next-env.d.ts", "next-env.d.ts",
"scripts/**",
]), ]),
]); ]);
-1
View File
@@ -1,4 +1,3 @@
import { Settings, ArrowUp, Truck, Compass, Shield, Zap, Clock, MapPin, Phone, Mail } from "lucide-react";
import { openinaryUrl } from "./openinary"; import { openinaryUrl } from "./openinary";
export const siteConfig = { export const siteConfig = {
-108
View File
@@ -603,9 +603,6 @@
"cpu": [ "cpu": [
"arm" "arm"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -622,9 +619,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -641,9 +635,6 @@
"cpu": [ "cpu": [
"ppc64" "ppc64"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -660,9 +651,6 @@
"cpu": [ "cpu": [
"riscv64" "riscv64"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -679,9 +667,6 @@
"cpu": [ "cpu": [
"s390x" "s390x"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -698,9 +683,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"glibc"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -717,9 +699,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"musl"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -736,9 +715,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"musl"
],
"license": "LGPL-3.0-or-later", "license": "LGPL-3.0-or-later",
"optional": true, "optional": true,
"os": [ "os": [
@@ -755,9 +731,6 @@
"cpu": [ "cpu": [
"arm" "arm"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -780,9 +753,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -805,9 +775,6 @@
"cpu": [ "cpu": [
"ppc64" "ppc64"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -830,9 +797,6 @@
"cpu": [ "cpu": [
"riscv64" "riscv64"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -855,9 +819,6 @@
"cpu": [ "cpu": [
"s390x" "s390x"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -880,9 +841,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"glibc"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -905,9 +863,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"musl"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -930,9 +885,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"musl"
],
"license": "Apache-2.0", "license": "Apache-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1142,9 +1094,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1161,9 +1110,6 @@
"cpu": [ "cpu": [
"arm64" "arm64"
], ],
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1180,9 +1126,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1199,9 +1142,6 @@
"cpu": [ "cpu": [
"x64" "x64"
], ],
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1440,9 +1380,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1460,9 +1397,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1480,9 +1414,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -1500,9 +1431,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2053,9 +1981,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2070,9 +1995,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2087,9 +2009,6 @@
"ppc64" "ppc64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2104,9 +2023,6 @@
"riscv64" "riscv64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2121,9 +2037,6 @@
"riscv64" "riscv64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2138,9 +2051,6 @@
"s390x" "s390x"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2155,9 +2065,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -2172,9 +2079,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MIT", "license": "MIT",
"optional": true, "optional": true,
"os": [ "os": [
@@ -4829,9 +4733,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MPL-2.0", "license": "MPL-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -4853,9 +4754,6 @@
"arm64" "arm64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MPL-2.0", "license": "MPL-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -4877,9 +4775,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"glibc"
],
"license": "MPL-2.0", "license": "MPL-2.0",
"optional": true, "optional": true,
"os": [ "os": [
@@ -4901,9 +4796,6 @@
"x64" "x64"
], ],
"dev": true, "dev": true,
"libc": [
"musl"
],
"license": "MPL-2.0", "license": "MPL-2.0",
"optional": true, "optional": true,
"os": [ "os": [