Merge version_1 into main #2
@@ -66,7 +66,7 @@ export default function LandingPage() {
|
||||
{ id: "4", value: "Orijinal", description: "Yedek Parçalar" }
|
||||
]}
|
||||
animationType="slide-up"
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
@@ -75,13 +75,13 @@ export default function LandingPage() {
|
||||
<div id="services" data-section="services">
|
||||
<FeatureCardTwentySeven
|
||||
title="Hizmetlerimiz"
|
||||
description="Gömme rezervuar onarımından genel tesisata kadar - tüm su tesisatı çözümleri"
|
||||
description="Gömbe rezervuar onarımından genel tesisata kadar - tüm su tesisatı çözümleri"
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Gömme Rezervuar Onarımı", descriptions: [
|
||||
"Gömme tanklı tuvaletlerin onarımı ve bakımı", "Ani arıza düzeltmeleri", "Sızdırmazlık ve performans garantisi"
|
||||
id: "1", title: "Gömbe Rezervuar Onarımı", descriptions: [
|
||||
"Gömbe tanklı tuvaletlerin onarımı ve bakımı", "Ani arıza düzeltmeleri", "Sızdırmazlık ve performans garantisi"
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-modern-house-bathroom-with-technology-art_181624-2980.jpg", imageAlt: "Gömme reservoir onarımı"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-shot-modern-house-bathroom-with-technology-art_181624-2980.jpg", imageAlt: "Gömbe reservoir onarımı"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Acil Tesisatçı Hizmeti", descriptions: [
|
||||
@@ -123,7 +123,7 @@ export default function LandingPage() {
|
||||
title: "Öğrenci Dostu", description: "Gençlere ve öğrencilere özel indirimler sunuyoruz. Bütçe kısıtlı olanlar için uygun seçenekler."
|
||||
}
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/male-car-mechanic-working-car-repair-shop_23-2150367535.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/male-car-mechanic-working-car-repair-shop_23-2150367535.jpg"
|
||||
imageAlt="Hakan Yılmaz Tekirdağ Tesisatçı"
|
||||
imagePosition="right"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -144,13 +144,13 @@ export default function LandingPage() {
|
||||
title: "Müşteri Memnuniyeti", description: "257 Google Yorumunda 5.0 yıldız. Müşteri memnuniyeti bizim önceliğimiz."
|
||||
},
|
||||
{
|
||||
title: "24/7 Hazır", description: "Gece, hafta sonu, tatil gülü - ne zaman ihtiyaç duyarsan hemen yanında."
|
||||
title: "24/7 Hazır", description: "Gece, hafta sonu, tatil günü - ne zaman ihtiyaç duyarsan hemen yanında."
|
||||
},
|
||||
{
|
||||
title: "Vizyonu", description: "\"En Büyük Yetkimiz GÜVENİNİZ!\" - Bu ilke ile hareket ediyoruz."
|
||||
}
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/male-car-mechanic-working-car-repair-shop_23-2150367535.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/male-car-mechanic-working-car-repair-shop_23-2150367535.jpg"
|
||||
imageAlt="Hakan Yılmaz profesyonel portresi"
|
||||
imagePosition="left"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -168,7 +168,7 @@ export default function LandingPage() {
|
||||
id: "1", name: "Ayşe Kaya, Ev Sahibi", date: "Date: 15 Aralık 2024", tag: "Acil Onarım", title: "Gece yarısında su kaçağı başladı", quote: "Hakan Bey'i aradım, 15 dakika içinde geldi. Sorunu çözdü, fiyat makul, çok memnun kaldım!", avatarSrc: "http://img.b2bpic.net/free-photo/man-shirt-smiling-posing-kitchen_23-2148414940.jpg", avatarAlt: "Ayşe Kaya", imageSrc: "http://img.b2bpic.net/free-photo/man-shirt-smiling-posing-kitchen_23-2148414940.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Mehmet Çelik, İşletmeci", date: "Date: 10 Aralık 2024", tag: "Gömme Reservoir", title: "Tuvaletim çalışmıyordu", quote: "Profesyonel bir tesisatçı aradığımda Hakan Bey tavsiye edildi. İşini çok iyi yapıyor, garantili çalışıyor.", avatarSrc: "http://img.b2bpic.net/free-photo/man-with-thumb-up_1368-6353.jpg", avatarAlt: "Mehmet Çelik", imageSrc: "http://img.b2bpic.net/free-photo/man-with-thumb-up_1368-6353.jpg"
|
||||
id: "2", name: "Mehmet Çelik, İşletmeci", date: "Date: 10 Aralık 2024", tag: "Gömbe Reservoir", title: "Tuvaletim çalışmıyordu", quote: "Profesyonel bir tesisatçı aradığımda Hakan Bey tavsiye edildi. İşini çok iyi yapıyor, garantili çalışıyor.", avatarSrc: "http://img.b2bpic.net/free-photo/man-with-thumb-up_1368-6353.jpg", avatarAlt: "Mehmet Çelik", imageSrc: "http://img.b2bpic.net/free-photo/man-with-thumb-up_1368-6353.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Fatma Demir, Öğrenci Annesi", date: "Date: 5 Aralık 2024", tag: "Öğrenci İndirimi", title: "Oğlumun evinin tesisatı kötü durumda", quote: "Hakan Bey öğrencilere indirim yaptı. Çalışmanı hızlı yaptı, sonuç mükemmel. Çok teşekkür ederim!", avatarSrc: "http://img.b2bpic.net/free-photo/person-drinking-beverage-while-break-time_23-2149256900.jpg", avatarAlt: "Fatma Demir", imageSrc: "http://img.b2bpic.net/free-photo/person-drinking-beverage-while-break-time_23-2149256900.jpg"
|
||||
@@ -221,7 +221,7 @@ export default function LandingPage() {
|
||||
columns={[
|
||||
{
|
||||
title: "Hizmetler", items: [
|
||||
{ label: "Gömme Reservoir", href: "#services" },
|
||||
{ label: "Gömbe Reservoir", href: "#services" },
|
||||
{ label: "Acil Tesisat", href: "#services" },
|
||||
{ label: "Genel Tesisat", href: "#services" }
|
||||
]
|
||||
|
||||
@@ -1,51 +1,38 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
fontSize = 24,
|
||||
fontFamily = 'Arial',
|
||||
fill = 'currentColor',
|
||||
className = '',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${text.length * fontSize} ${fontSize * 2}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
y={fontSize}
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
dominantBaseline="hanging"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user