Merge version_1 into main #2
@@ -10,7 +10,7 @@ import MetricCardTen from "@/components/sections/metrics/MetricCardTen";
|
||||
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
|
||||
import FaqBase from "@/components/sections/faq/FaqBase";
|
||||
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
|
||||
import { Cube, Image, Wand2, RefreshCw, Star } from "lucide-react";
|
||||
import { Image, Wand2, RefreshCw, Star } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -61,13 +61,13 @@ export default function LandingPage() {
|
||||
tag="Services"
|
||||
features={[
|
||||
{
|
||||
title: "3D Grundrisse", description: "Moderne Grundriss-Visualisierungen für bessere Verständlichkeit und Käuferengagement", icon: Cube,
|
||||
title: "3D Grundrisse", description: "Moderne Grundriss-Visualisierungen für bessere Verständlichkeit und Käuferengagement", icon: Image,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-vector/isometric-view-modern-home-interior_23-2147914316.jpg", imageAlt: "3D floor plan visualization apartment layout"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg?_wi=1", imageAlt: "immobilien visualization modern apartment interior"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg", imageAlt: "immobilien visualization modern apartment interior"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -75,10 +75,10 @@ export default function LandingPage() {
|
||||
title: "Immobilien-Visualisierung", description: "Realistische Raumdarstellungen ideal für Neubau und Renovierungsprojekte", icon: Image,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg?_wi=2", imageAlt: "Professionelle Immobilien Visualisierung"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg", imageAlt: "Professionelle Immobilien Visualisierung"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/business-executives-discussing-blueprint_107420-63897.jpg?_wi=1", imageAlt: "Fotorealistisches Rendering"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/business-executives-discussing-blueprint_107420-63897.jpg", imageAlt: "Fotorealistisches Rendering"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -86,10 +86,10 @@ export default function LandingPage() {
|
||||
title: "Bildbearbeitung", description: "Professionelle Aufbereitung von Immobilienfotos für ansprechende Exposés", icon: Wand2,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/business-executives-discussing-blueprint_107420-63897.jpg?_wi=2", imageAlt: "Professionelle Foto-Bearbeitung"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/business-executives-discussing-blueprint_107420-63897.jpg", imageAlt: "Professionelle Foto-Bearbeitung"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-phone-plan_23-2148819858.jpg?_wi=1", imageAlt: "Bildbearbeitung Beispiel"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-phone-plan_23-2148819858.jpg", imageAlt: "Bildbearbeitung Beispiel"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -97,10 +97,10 @@ export default function LandingPage() {
|
||||
title: "Virtuelles Renovieren", description: "Räume digital modernisieren damit Käufer das Potenzial erkennen", icon: RefreshCw,
|
||||
mediaItems: [
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-phone-plan_23-2148819858.jpg?_wi=2", imageAlt: "Virtuelle Renovierung Vorher-Nachher"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-phone-plan_23-2148819858.jpg", imageAlt: "Virtuelle Renovierung Vorher-Nachher"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg?_wi=3", imageAlt: "Digitale Raumgestaltung"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-using-laptop-minimal-decorated-room_23-2150407610.jpg", imageAlt: "Digitale Raumgestaltung"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
className?: string;
|
||||
textClassName?: 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,
|
||||
className = '',
|
||||
textClassName = '',
|
||||
}) => {
|
||||
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 1200 400"
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<defs>
|
||||
<linearGradient id="textGradient" x1="0%" y1="0%" x2="100%" y2="0%">
|
||||
<stop offset="0%" style={{ stopColor: 'rgb(59, 130, 246)', stopOpacity: 1 }} />
|
||||
<stop offset="100%" style={{ stopColor: 'rgb(139, 92, 246)', stopOpacity: 1 }} />
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<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="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
className={textClassName}
|
||||
fill="url(#textGradient)"
|
||||
fontSize="120"
|
||||
fontWeight="bold"
|
||||
fontFamily="-apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user