Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 17:49:37 +00:00
2 changed files with 36 additions and 44 deletions

View File

@@ -9,7 +9,7 @@ import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCa
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { AlertCircle, Star, Award, ThumbsUp, Camera, Pipe, Wrench, Droplets, Zap, CheckCircle, Quote } from 'lucide-react';
import { AlertCircle, Star, Award, ThumbsUp, Camera, Wrench, Droplets, Zap, CheckCircle, Quote } from 'lucide-react';
export default function LandingPage() {
return (
@@ -19,7 +19,7 @@ export default function LandingPage() {
borderRadius="soft"
contentWidth="medium"
sizing="largeSmall"
background="blurBottom"
background="circleGradient"
cardStyle="outline"
primaryButtonStyle="radial-glow"
secondaryButtonStyle="radial-glow"
@@ -40,14 +40,14 @@ export default function LandingPage() {
<HeroBillboard
title="24/7 Güvenilir Tesisat Hizmetleri"
description="Tekirdağ'da 10+ yıl deneyimle acil tesisatçı hizmetleri. Kameralı su kaçağı tespiti, tıkanıklık açma ve genel sıhhi tesisat çözümleri."
background={{ variant: "blurBottom" }}
background={{ variant: "sparkles-gradient" }}
tag="Acil Hizmet"
tagIcon={AlertCircle}
buttons={[
{ text: "Hemen Ara: 0551 120 42 69", href: "tel:+905511204269" },
{ text: "Ücretsiz Konsültasyon", href: "contact" }
]}
imageSrc="http://img.b2bpic.net/free-photo/modern-bathroom-with-smart-home-technology_9975-33208.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/modern-bathroom-with-smart-home-technology_9975-33208.jpg"
imageAlt="Profesyonel tesisatçı hizmetleri"
mediaAnimation="slide-up"
ariaLabel="Ahmet Tesisat - Ana sayfa"
@@ -87,7 +87,7 @@ export default function LandingPage() {
title: "Kameralı Su Kaçağı Tespiti", description: "Yıllarca çözemediğiniz kaçakları buluyoruz. En son teknoloji kamera sistemleriyle hızlı ve güvenilir tespit."
},
{
icon: Pipe,
icon: Wrench,
title: "Tıkanıklık Açma", description: "Daire, apartman ve ticari tesisatlar için profesyonel tıkanıklık açma ve temizleme hizmetleri."
},
{
@@ -120,7 +120,7 @@ export default function LandingPage() {
description="Eren Önür"
subdescription="Müşteri - Google Değerlendirmesi"
icon={Quote}
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-visiting-factory-plant-examining-manufactured-products-with-facility-worker_637285-4150.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-visiting-factory-plant-examining-manufactured-products-with-facility-worker_637285-4150.jpg"
imageAlt="Ahmet Tesisat profesyonel ekibi"
mediaAnimation="slide-up"
useInvertedBackground={false}
@@ -143,7 +143,7 @@ export default function LandingPage() {
id: "3", name: "Alican Erken, Ticari İşletme", date: "Date: 2 Kasım 2024", title: "İşletmem için en güvenilir seçim", quote: "Restaurant olarak tesisatımız çok önemli. Ahmet Tesisat'ın ekibi acil durumlarda hızlı gelip sorunu çözerler. Fiyat-performans oranı mükemmel.", tag: "Ticari Hizmet", avatarSrc: "http://img.b2bpic.net/free-photo/young-beautiful-girl-black-turtleneck-glasses-making-grimace-being-confused_141793-55024.jpg", avatarAlt: "Alican Erken", imageSrc: "http://img.b2bpic.net/free-photo/couple-collects-garbage-garbage-bags-park_1157-27358.jpg", imageAlt: "Ticari tesisat temizliği"
},
{
id: "4", name: "Ayşe DEMIR, Ev Sahibi", date: "Date: 25 Ekim 2024", title: "Samimi ve profesyonel hizmet", quote: "Ahmet Bey sorunu net bir şekilde anlattı, gereksiz işi dayatmadı ve sadece gerekli onarımı yaptı. Çok nadir bulduğum dürüst bir tesisatçı.", tag: "Güvenilen Hizmet", avatarSrc: "http://img.b2bpic.net/free-photo/young-co-worker-spending-time-office_23-2149328287.jpg", avatarAlt: "Ayşe DEMIR", imageSrc: "http://img.b2bpic.net/free-photo/modern-bathroom-with-smart-home-technology_9975-33208.jpg?_wi=2", imageAlt: "Profesyonel tesisatçı"
id: "4", name: "Ayşe DEMIR, Ev Sahibi", date: "Date: 25 Ekim 2024", title: "Samimi ve profesyonel hizmet", quote: "Ahmet Bey sorunu net bir şekilde anlattı, gereksiz işi dayatmadı ve sadece gerekli onarımı yaptı. Çok nadir bulduğum dürüst bir tesisatçı.", tag: "Güvenilen Hizmet", avatarSrc: "http://img.b2bpic.net/free-photo/young-co-worker-spending-time-office_23-2149328287.jpg", avatarAlt: "Ayşe DEMIR", imageSrc: "http://img.b2bpic.net/free-photo/modern-bathroom-with-smart-home-technology_9975-33208.jpg", imageAlt: "Profesyonel tesisatçı"
}
]}
textboxLayout="default"
@@ -165,7 +165,7 @@ export default function LandingPage() {
required: true
}}
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-visiting-factory-plant-examining-manufactured-products-with-facility-worker_637285-4150.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/senior-businessman-visiting-factory-plant-examining-manufactured-products-with-facility-worker_637285-4150.jpg"
imageAlt="İletişim"
mediaAnimation="slide-up"
mediaPosition="right"

View File

@@ -1,51 +1,43 @@
"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;
textAnchor?: 'start' | 'middle' | 'end';
dominantBaseline?: SVGAttributes<SVGTextElement>['dominantBaseline'];
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 = '#000',
textAnchor = 'middle',
dominantBaseline = 'central',
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 200 100"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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"
}}
x="100"
y="50"
fontSize={fontSize}
fontFamily={fontFamily}
fill={fill}
textAnchor={textAnchor}
dominantBaseline={dominantBaseline}
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;