mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-08-08 17:49:13 +00:00
Fix section sizes
This commit is contained in:
@@ -7,7 +7,7 @@ export default function HeroSection() {
|
||||
const t = useTranslations("home");
|
||||
|
||||
return (
|
||||
<section className="relative overflow-hidden border-b-3 border-[#1F5673]">
|
||||
<section className="relative h-[569px] overflow-hidden border-b-3 border-[#1F5673]">
|
||||
{/* Background image */}
|
||||
<Image
|
||||
src="/images/landing/main_teaser.jpg"
|
||||
@@ -20,7 +20,7 @@ export default function HeroSection() {
|
||||
<div className="absolute inset-0 bg-[#0E0F19]/75" />
|
||||
|
||||
{/* Content */}
|
||||
<div className="relative grid grid-cols-1 md:grid-cols-[3fr_2fr] items-center gap-8 px-8 py-10 md:px-12 md:py-14">
|
||||
<div className="relative h-full grid grid-cols-1 md:grid-cols-[3fr_2fr] items-center gap-8 px-8 md:px-12">
|
||||
{/* Left: logo + info + CTA */}
|
||||
<div className="flex flex-col gap-5">
|
||||
<Image
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function TeaserCarousel() {
|
||||
return (
|
||||
<div className="border-b-3 border-[#1F5673]">
|
||||
{/* Card */}
|
||||
<div className="relative min-h-[400px] overflow-hidden">
|
||||
<div className="relative h-[729px] overflow-hidden">
|
||||
{/* Background image */}
|
||||
<Image
|
||||
src={slide.image}
|
||||
@@ -43,7 +43,7 @@ export default function TeaserCarousel() {
|
||||
<div className="absolute inset-0 bg-[#0E0F19]/70" />
|
||||
|
||||
{/* Content grid */}
|
||||
<div className="relative grid grid-cols-1 md:grid-cols-[1fr_1fr] min-h-[400px]">
|
||||
<div className="relative grid grid-cols-1 md:grid-cols-[1fr_1fr] h-full">
|
||||
{/* Left: text */}
|
||||
<div className="flex flex-col justify-between gap-4 px-8 py-8 md:px-12 md:py-10">
|
||||
<div className="flex flex-col gap-3">
|
||||
|
||||
Reference in New Issue
Block a user