caroousel

This commit is contained in:
2025-08-22 18:04:48 +02:00
parent 0d4b087601
commit cda80f878e
3 changed files with 17 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ import useMeasure from 'react-use-measure'
import { Container } from './Container' import { Container } from './Container'
import { Link } from './link' import { Link } from './link'
import { Heading, Subheading, H2, P, PS, H3} from './text' import { Heading, Subheading, H2, P, PS, H3} from './text'
import { Button } from './Button'
const testimonials = [ const testimonials = [
{ {
@@ -99,7 +99,6 @@ function TestimonialCard({
return ( return (
<motion.div <motion.div
ref={ref} ref={ref}
style={{ opacity }}
{...props} {...props}
className="w-72 shrink-0 snap-start scroll-ml-(--scroll-padding) bg-transparent shadow-sm 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"
> >
@@ -120,17 +119,18 @@ function TestimonialCard({
</H3> </H3>
</blockquote> </blockquote>
<PS className="mt-2 lg:text-base text-sm text-gray-600 leading-6"> <PS className="mt-2 mb-4a">
{subtitle} {subtitle}
</PS> </PS>
<Link <Button
href={href} href={href}
className="mt-2 mb-2 inline-flex items-center gap-2 text-sm font-semibold text-gold-700 hover:text-gold-700" variant="link"
color="darkgr"
className="mt-2 mb-2 "
> >
Learn More Learn More
<ArrowLongRightIcon className="h-4 w-4" /> </Button>
</Link>
</div> </div>
</motion.div> </motion.div>
) )
@@ -166,6 +166,12 @@ export function Boat() {
<PS className="mt-4"> <PS className="mt-4">
Discover peaceful platforms where every detail ensures a truly memorable stay. Discover peaceful platforms where every detail ensures a truly memorable stay.
</PS> </PS>
<PS className="mt-2 mb-6">
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.
</PS>
<Button href="/dahabiyas" variant="link" color="darkgr" className="mt-6">
Learn More
</Button>
</div> </div>
{/* Carousel - Right Side */} {/* Carousel - Right Side */}

View File

@@ -35,7 +35,7 @@ const variantStyles = {
white: white:
'text-white hover:text-slate-300 focus-visible:outline-white border-b border-white hover:border-slate-300', 'text-white hover:text-slate-300 focus-visible:outline-white border-b border-white hover:border-slate-300',
darkgr: darkgr:
'text-darkgr-900 hover:text-darkgr-700 focus-visible:outline-darkgr-600 border-b border-darkgr-900 hover:border-darkgr-700', 'text-sm tracking-wide text-darkgr-900 hover:text-darkgr-700 focus-visible:outline-darkgr-600 border-b border-darkgr-900 hover:border-darkgr-700',
}, },
} }

View File

@@ -23,13 +23,13 @@ export function Hero() {
<H2 className="mt-8"> <H2 className="mt-8">
Nile Cruises, Reimagined. Nile Cruises, Reimagined.
</H2> </H2>
<P className="mt-4"> <P className="mt-4 mb-6">
Veda welcomes you into her home providing unique wellness cruises blending cultural authentic experiences with unparalleled freedom and privacy.<br/> Veda welcomes you into her home providing unique wellness cruises blending cultural authentic experiences with unparalleled freedom and privacy.<br/>
Our organic cuisine, cultural activities and dedicated warm hearted crew will make your veda cruise an unforgettable experience. Our organic cuisine, cultural activities and dedicated warm hearted crew will make your veda cruise an unforgettable experience.
</P> </P>
<button className="mt-6 text-sm lg:text-sm tracking-wide" variant="link" color="darkgr"> <Button href="/story" variant="link" color="darkgr">
Learn More Learn More
</button> </Button>
</div> </div>
</div> </div>
) )