Доработки по главной странице, итерация 13

This commit is contained in:
Sergey Bolshakov 2025-10-28 15:33:13 +03:00
parent 2b7c336239
commit 4af814d42d
5 changed files with 74 additions and 71 deletions

View File

@ -139,7 +139,11 @@ export default function FeaturedYacht() {
{/* Promoted badge */} {/* Promoted badge */}
{yacht.isPromoted && ( {yacht.isPromoted && (
<div className="flex items-center gap-2 text-sm text-gray-400"> <div className="flex items-center gap-2 text-sm text-gray-400">
<Icon className="min-w-[21px] min-h-[21px]" size={21} name="ad" /> <Icon
className="min-w-[21px] min-h-[21px]"
size={21}
name="ad"
/>
<span> <span>
Это объявление продвигается.{" "} Это объявление продвигается.{" "}
<span className="underline cursor-pointer"> <span className="underline cursor-pointer">
@ -182,12 +186,9 @@ export default function FeaturedYacht() {
{/* Booking form */} {/* Booking form */}
<div className="mb-8"> <div className="mb-8">
<div>
<GuestDatePicker /> <GuestDatePicker />
</div> </div>
</div>
{/* Book button */} {/* Book button */}
<Button <Button
variant="gradient" variant="gradient"

View File

@ -38,7 +38,7 @@ export default function Hero() {
</div> </div>
{/* Поисковая форма - скрыта на мобильных устройствах */} {/* Поисковая форма - скрыта на мобильных устройствах */}
<Card className="bg-white shadow-lg s hidden md:block rounded-full"> <Card className="bg-white shadow-lg s md:block rounded-full">
<CardContent className="p-2"> <CardContent className="p-2">
{/* Основные поля поиска */} {/* Основные поля поиска */}
<div className="flex flex-col md:flex-row gap-4"> <div className="flex flex-col md:flex-row gap-4">

View File

@ -1,4 +1,4 @@
import Image from 'next/image' import Image from "next/image";
export default function VideoSection() { export default function VideoSection() {
return ( return (
@ -10,12 +10,14 @@ export default function VideoSection() {
Откройте мир морских прогулок Откройте мир морских прогулок
</h2> </h2>
<p className="text-lg text-gray-700 leading-relaxed"> <p className="text-lg text-gray-700 leading-relaxed">
Романтическая прогулка, отдых с семьей, вечеринка с друзьями, спорт и развлечения, элитный отдых, девичник & морская фотосессия. Романтическая прогулка, отдых с семьёй, вечеринка
с друзьями, cпорт и развлечения, элитный отдых, девичник
& морская фотосессия.
</p> </p>
</div> </div>
{/* Правая колонка с изображением */} {/* Правая колонка с изображением */}
<div className="lg:w-1/2 relative"> <div className="w-full lg:w-1/2 relative">
<div className="relative rounded-[40px] overflow-hidden"> <div className="relative rounded-[40px] overflow-hidden">
<Image <Image
src="/images/video/video1.jpg" src="/images/video/video1.jpg"
@ -28,5 +30,5 @@ export default function VideoSection() {
</div> </div>
</div> </div>
</section> </section>
) );
} }

View File

@ -53,9 +53,9 @@ const CommonPopoverContent: React.FC<CommonPopoverContentProps> = ({
handleApply, handleApply,
}) => { }) => {
return ( return (
<PopoverContent className="rounded-[20px] p-6 pb-4 w-[374px]"> <PopoverContent className="rounded-[20px] p-6 pb-4 w-[324px]">
{/* Календарь */} {/* Календарь */}
<div className="min-h-fit">
<Calendar <Calendar
mode="single" mode="single"
selected={date} selected={date}
@ -87,7 +87,7 @@ const CommonPopoverContent: React.FC<CommonPopoverContentProps> = ({
"rounded-full border-none outline-none !bg-brand text-white", "rounded-full border-none outline-none !bg-brand text-white",
}} }}
/> />
</div>
{/* Счетчики гостей */} {/* Счетчики гостей */}
<div className="mb-[24px] flex gap-3"> <div className="mb-[24px] flex gap-3">

View File

@ -46,7 +46,7 @@ export const Counter: React.FC<CounterProps> = ({
> >
<Minus className="w-4 h-4" /> <Minus className="w-4 h-4" />
</button> </button>
<span className="mx-4 text-gray-800 font-medium min-w-[20px] text-center"> <span className="mx-2 text-gray-800 font-medium min-w-[20px] text-center">
{value} {value}
</span> </span>
<button <button