From 0d4b087601beaf39d9b436b6fc7d2bb97c9665c9 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Fri, 22 Aug 2025 17:55:31 +0200 Subject: [PATCH] OK --- src/components/Boat.jsx | 27 +++++++------- src/components/CallToAction.jsx | 2 +- src/components/ContactHero.jsx | 7 +++- src/components/Hero.jsx | 18 ++++----- src/components/PrimaryFeatures.jsx | 15 +++++++- src/components/SecondaryFeatures.jsx | 11 +++--- src/components/Team.jsx | 3 +- src/components/text.jsx | 56 ++++++++++++++++++++++++++++ 8 files changed, 105 insertions(+), 34 deletions(-) diff --git a/src/components/Boat.jsx b/src/components/Boat.jsx index 751f69f..cb5adc9 100644 --- a/src/components/Boat.jsx +++ b/src/components/Boat.jsx @@ -13,7 +13,8 @@ import { useCallback, useLayoutEffect, useRef, useState } from 'react' import useMeasure from 'react-use-measure' import { Container } from './Container' import { Link } from './link' -import { Heading, Subheading } from './text' +import { Heading, Subheading, H2, P, PS, H3} from './text' + const testimonials = [ { @@ -100,7 +101,7 @@ function TestimonialCard({ ref={ref} style={{ opacity }} {...props} - className="w-72 shrink-0 snap-start scroll-ml-(--scroll-padding) bg-[#fffefa] rounded-3xl shadow-lg overflow-hidden sm:w-80 lg:w-96" + className="w-72 shrink-0 snap-start scroll-ml-(--scroll-padding) bg-transparent shadow-sm overflow-hidden sm:w-80 lg:w-96" > {/* Image Section */}
@@ -112,16 +113,16 @@ function TestimonialCard({
{/* Content Section Below Image */} -
+
-

+

{children} -

+

-

+ {subtitle} -

+ +
{/* Text Content - Left Side */}
-

+

Dahabiyas -

-

- Discover peaceful platforms where every detail ensures a truly memorable stay. Our fleet of traditional dahabiyas combines authentic Nile heritage with modern comfort, offering intimate sailing experiences that connect you with Egypt's timeless river culture. -

+ + + Discover peaceful platforms where every detail ensures a truly memorable stay. +
{/* Carousel - Right Side */} diff --git a/src/components/CallToAction.jsx b/src/components/CallToAction.jsx index 20908cd..cc360ca 100644 --- a/src/components/CallToAction.jsx +++ b/src/components/CallToAction.jsx @@ -9,7 +9,7 @@ export function CallToAction() { return (
diff --git a/src/components/ContactHero.jsx b/src/components/ContactHero.jsx index f71fb26..362141b 100644 --- a/src/components/ContactHero.jsx +++ b/src/components/ContactHero.jsx @@ -1,6 +1,9 @@ 'use client' import { BuildingOffice2Icon, EnvelopeIcon } from '@heroicons/react/24/outline' +import { Button } from '@/components/Button' +import { Container } from '@/components/Container' +import { H2 } from '@/components/text' import { useState } from 'react' export function ContactHero() { @@ -46,9 +49,9 @@ export function ContactHero() { />
-

+

Get in Touch -

+

At VEDA, we welcome your questions, ideas, and collaborations. Whether you’re curious about our retreats, interested in hosting a private gathering, or exploring partnership opportunities, we’re here to connect. Reach out to us today and let’s create transformative experiences along the timeless Nile.

diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 329bd22..0bf5906 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -1,6 +1,8 @@ import { Button } from '@/components/Button' import { Container } from '@/components/Container' +import { H2 } from '@/components/text' +import { P } from '@/components/text' import Image from 'next/image' export function Hero() { @@ -18,18 +20,16 @@ export function Hero() {
-

+

Nile Cruises, Reimagined. -

-

+ +

Veda welcomes you into her home providing unique wellness cruises blending cultural authentic experiences with unparalleled freedom and privacy.
Our organic cuisine, cultural activities and dedicated warm hearted crew will make your veda cruise an unforgettable experience. -

- - +

+
) diff --git a/src/components/PrimaryFeatures.jsx b/src/components/PrimaryFeatures.jsx index edd2201..54c74e7 100644 --- a/src/components/PrimaryFeatures.jsx +++ b/src/components/PrimaryFeatures.jsx @@ -5,6 +5,17 @@ import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/react' import clsx from 'clsx' import { Container } from '@/components/Container' +import { PhoneFrame } from '@/components/PhoneFrame' +import { AppScreen } from '@/components/AppScreen' +import { H2 } from '@/components/text' +import logoBbc from '@/images/logos/bbc.svg' +import logoCbs from '@/images/logos/cbs.svg' +import logoCnn from '@/images/logos/cnn.svg' +import logoFastCompany from '@/images/logos/fast-company.svg' +import logoForbes from '@/images/logos/forbes.svg' +import logoHuffpost from '@/images/logos/huffpost.svg' +import logoTechcrunch from '@/images/logos/techcrunch.svg' +import logoWired from '@/images/logos/wired.svg' const features = [ { @@ -61,9 +72,9 @@ export function PrimaryFeatures() { />
-

+

What makes VEDA different? -

+

Well everything you need if you aren’t that picky about minor details like tax compliance. diff --git a/src/components/SecondaryFeatures.jsx b/src/components/SecondaryFeatures.jsx index 56a2ffb..da66890 100644 --- a/src/components/SecondaryFeatures.jsx +++ b/src/components/SecondaryFeatures.jsx @@ -2,9 +2,8 @@ import { useId } from 'react' import { Tab, TabGroup, TabList, TabPanel, TabPanels } from '@headlessui/react' -import clsx from 'clsx' -import { Button } from '@/components/Button' -import { Container } from '@/components/Container' + +import { H2 } from '@/components/text' const features = [ { @@ -264,10 +263,10 @@ export function SecondaryFeatures() { >

-

OUR OFFERS

-

+

OUR OFFERS

+

VEDA DAHABIYAS -

+

Discover peaceful platforms where every detail ensures a truly memorable stay.

diff --git a/src/components/Team.jsx b/src/components/Team.jsx index 3e69721..1bc9b8d 100644 --- a/src/components/Team.jsx +++ b/src/components/Team.jsx @@ -1,6 +1,7 @@ import React from 'react'; import { Button } from '@/components/Button' import { Container } from '@/components/Container' +import { H2 } from '@/components/text' const people = [ { @@ -31,7 +32,7 @@ const people = [
-

OUR PEOPLE

+

OUR PEOPLE

We are a dynamic family of individuals from diverse cultural backgrounds and varied expertise, united by our passion in spirituality and dedication delivering heartfelt and authentic Nile experiences for our guests.

diff --git a/src/components/text.jsx b/src/components/text.jsx index 3b5d39a..a0e655b 100644 --- a/src/components/text.jsx +++ b/src/components/text.jsx @@ -14,6 +14,62 @@ export function Heading({ as: Component = 'h1', className, children, ...props }) ) } +export function H2({ className, children, ...props }) { + return ( +

+ {children} +

+ ) +} + +export function H3({ className, children, ...props }) { + return ( +

+ {children} +

+ ) +} + +export function P({ className, children, ...props }) { + return ( +

+ {children} +

+ ) +} + +export function PS({ className, children, ...props }) { + return ( +

+ {children} +

+ ) +} + export function Subheading({ className, children, ...props }) { return (