design: split 'Güçlü Yapılar' into two lines for better visual rhythm
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
import Image from "next/image";
|
||||
import { motion } from "framer-motion";
|
||||
import {
|
||||
Phone,
|
||||
MessageSquare,
|
||||
import {
|
||||
Phone,
|
||||
MessageSquare,
|
||||
ArrowUpRight
|
||||
} from "lucide-react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
@@ -45,7 +45,7 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
/>
|
||||
<div className="absolute inset-0 bg-gradient-to-r from-[#1A1C1C] via-[#1A1C1C]/40 to-transparent" />
|
||||
</div>
|
||||
|
||||
|
||||
<div className="relative z-10 px-5 md:px-12 lg:px-24 w-full max-w-7xl mx-auto">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, x: -50 }}
|
||||
@@ -56,7 +56,8 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
<h1 className="text-[clamp(2.5rem,8vw,8rem)] font-inter font-black text-white leading-[0.95] uppercase mb-8 break-words hyphens-auto overflow-hidden">
|
||||
Modern<br />
|
||||
<span className="text-white border-t border-b border-white/20 block sm:inline-block py-2 md:py-4 my-2 font-inter tracking-tighter w-fit">Mühendislik</span><br />
|
||||
Güçlü Yapılar
|
||||
Güçlü<br />
|
||||
Yapılar
|
||||
</h1>
|
||||
<div className="flex flex-col sm:flex-row gap-6 mt-12">
|
||||
<a href="/projeler">
|
||||
@@ -92,28 +93,28 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
|
||||
<div className="lg:col-span-7 space-y-1 relative z-0">
|
||||
{[
|
||||
{
|
||||
{
|
||||
id: "01",
|
||||
title: "Statik Proje Tasarımı",
|
||||
title: "Statik Proje Tasarımı",
|
||||
desc: "Maksimum dayanıklılık için ileri düzey mühendislik hesaplamaları ve deprem yönetmeliğine tam uyumlu taşıyıcı sistem analizleri.",
|
||||
img: "https://images.unsplash.com/photo-1503387762-592deb58ef4e?q=80&w=2062"
|
||||
},
|
||||
{
|
||||
{
|
||||
id: "02",
|
||||
title: "Müteahhitlik Hizmetleri",
|
||||
title: "Müteahhitlik Hizmetleri",
|
||||
desc: "A'dan Z'ye anahtar teslim inşaat süreçleri. Kaliteli malzeme ve usta işçiliği mühendislik denetimiyle birleştiriyoruz.",
|
||||
img: "https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070"
|
||||
},
|
||||
{
|
||||
{
|
||||
id: "03",
|
||||
title: "Teknik Danışmanlık",
|
||||
title: "Teknik Danışmanlık",
|
||||
desc: "İnşaat yatırım süreçlerinizde risk yönetimi, bütçe optimizasyonu ve yasal mevzuat uyumu konusunda profesyonel destek.",
|
||||
img: "https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1974"
|
||||
}
|
||||
].map((s, i) => (
|
||||
<motion.div
|
||||
key={i}
|
||||
{...fadeInUp}
|
||||
<motion.div
|
||||
key={i}
|
||||
{...fadeInUp}
|
||||
transition={{ delay: i * 0.2 }}
|
||||
className="group relative bg-[#F3F3F3] p-8 md:p-12 overflow-hidden hover:bg-[#FFFFFF] transition-all duration-500"
|
||||
>
|
||||
@@ -149,18 +150,18 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 md:gap-12">
|
||||
{projects.length > 0 ? projects.map((p, i) => (
|
||||
<motion.div
|
||||
key={p.id}
|
||||
<motion.div
|
||||
key={p.id}
|
||||
{...fadeInUp}
|
||||
transition={{ delay: i * 0.1 }}
|
||||
className="group cursor-pointer"
|
||||
>
|
||||
<Link href={`/projeler/${p.id}`}>
|
||||
<div className="relative aspect-[4/5] overflow-hidden bg-gray-100 mb-8">
|
||||
<Image
|
||||
src={p.images[0] || "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070"}
|
||||
alt={p.title}
|
||||
fill
|
||||
<Image
|
||||
src={p.images[0] || "https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=2070"}
|
||||
alt={p.title}
|
||||
fill
|
||||
className="object-cover grayscale translate-y-3 group-hover:translate-y-0 group-hover:grayscale-0 transition-all duration-700"
|
||||
sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
|
||||
/>
|
||||
@@ -183,9 +184,9 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
"https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070",
|
||||
"https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1974"
|
||||
].map((url, i) => (
|
||||
<div key={i} className="aspect-[4/5] bg-gray-100 relative grayscale opacity-50 overflow-hidden" tabIndex={0}>
|
||||
<Image src={url} alt="Fallback" fill className="object-cover" sizes="(max-width: 768px) 100vw, 33vw" />
|
||||
</div>
|
||||
<div key={i} className="aspect-[4/5] bg-gray-100 relative grayscale opacity-50 overflow-hidden" tabIndex={0}>
|
||||
<Image src={url} alt="Fallback" fill className="object-cover" sizes="(max-width: 768px) 100vw, 33vw" />
|
||||
</div>
|
||||
))
|
||||
)}
|
||||
</div>
|
||||
@@ -197,17 +198,17 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
<div className="max-w-7xl mx-auto grid grid-cols-1 lg:grid-cols-2 gap-12 md:gap-24 items-center">
|
||||
<motion.div {...fadeInUp} className="relative aspect-square bg-[#FFFFFF] p-4 shadow-2xl">
|
||||
<div className="relative w-full h-full overflow-hidden">
|
||||
<Image
|
||||
src="https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1974"
|
||||
alt="Office"
|
||||
fill
|
||||
<Image
|
||||
src="https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1974"
|
||||
alt="Office"
|
||||
fill
|
||||
className="object-cover grayscale"
|
||||
sizes="(max-width: 1024px) 100vw, 50vw"
|
||||
/>
|
||||
</div>
|
||||
<div className="absolute -bottom-6 -left-6 md:-bottom-10 md:-left-10 bg-[#FFBF00] p-8 md:p-12 text-[#1A1C1C] shadow-xl">
|
||||
<span className="text-5xl md:text-7xl font-inter font-black">10+</span>
|
||||
<p className="label-editorial text-xs md:text-base">Yıllık Güven</p>
|
||||
<span className="text-5xl md:text-7xl font-inter font-black">10+</span>
|
||||
<p className="label-editorial text-xs md:text-base">Yıllık Güven</p>
|
||||
</div>
|
||||
</motion.div>
|
||||
<motion.div {...fadeInUp}>
|
||||
@@ -276,7 +277,7 @@ export function LandingPage({ projects }: { projects: Project[] }) {
|
||||
<Textarea className="border-0 border-b border-gray-200 rounded-none bg-transparent px-0 focus-visible:ring-0 focus-visible:border-[#FFBF00] min-h-[120px] resize-none transition-all" placeholder="PROJENİZ HAKKINDA KISA BİLGİ..." />
|
||||
</div>
|
||||
<Button className="w-full bg-[#1A1C1C] hover:bg-[#795900] text-white font-bold h-20 rounded-none uppercase transition-all shadow-xl group">
|
||||
Formu Gönder <ArrowUpRight className="ml-4 group-hover:translate-x-2 group-hover:-translate-y-2 transition-transform" />
|
||||
Formu Gönder <ArrowUpRight className="ml-4 group-hover:translate-x-2 group-hover:-translate-y-2 transition-transform" />
|
||||
</Button>
|
||||
</form>
|
||||
</motion.div>
|
||||
|
||||
Reference in New Issue
Block a user