|
@@ -48,6 +48,7 @@ const Ships: React.FC = () => {
|
|
|
src="https://images.unsplash.com/photo-1548291616-3c0f5f743538?q=80&w=1920&auto=format&fit=crop"
|
|
src="https://images.unsplash.com/photo-1548291616-3c0f5f743538?q=80&w=1920&auto=format&fit=crop"
|
|
|
alt="Ships Hero"
|
|
alt="Ships Hero"
|
|
|
className="absolute inset-0 w-full h-full object-cover animate-slow-zoom"
|
|
className="absolute inset-0 w-full h-full object-cover animate-slow-zoom"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
<div className="relative z-20 text-center text-white px-4 animate-fade-in-up">
|
|
<div className="relative z-20 text-center text-white px-4 animate-fade-in-up">
|
|
|
<span className="block text-sm md:text-base tracking-[0.3em] uppercase mb-4 text-vista-gold">{t.hero_sub}</span>
|
|
<span className="block text-sm md:text-base tracking-[0.3em] uppercase mb-4 text-vista-gold">{t.hero_sub}</span>
|
|
@@ -95,6 +96,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.lanyue[0]}
|
|
src={shipsPageImages.lanyue[0]}
|
|
|
alt="Lanyue"
|
|
alt="Lanyue"
|
|
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"
|
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent opacity-90 transition-opacity"></div>
|
|
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent opacity-90 transition-opacity"></div>
|
|
|
<div className="absolute bottom-8 left-8 text-white">
|
|
<div className="absolute bottom-8 left-8 text-white">
|
|
@@ -110,6 +112,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.aurora}
|
|
src={shipsPageImages.aurora}
|
|
|
alt="Aurora"
|
|
alt="Aurora"
|
|
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110 grayscale group-hover:grayscale-0"
|
|
className="w-full h-full object-cover transition-transform duration-700 group-hover:scale-110 grayscale group-hover:grayscale-0"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent opacity-90 transition-opacity"></div>
|
|
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-transparent to-transparent opacity-90 transition-opacity"></div>
|
|
|
<div className="absolute bottom-8 left-8 text-white">
|
|
<div className="absolute bottom-8 left-8 text-white">
|
|
@@ -167,6 +170,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.lanyue[0]}
|
|
src={shipsPageImages.lanyue[0]}
|
|
|
alt="Lanyue Exterior"
|
|
alt="Lanyue Exterior"
|
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
{/* Smaller Detail Images */}
|
|
{/* Smaller Detail Images */}
|
|
@@ -175,6 +179,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.lanyue[1]}
|
|
src={shipsPageImages.lanyue[1]}
|
|
|
alt="Lanyue Interior"
|
|
alt="Lanyue Interior"
|
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="lg:col-span-4 lg:row-span-1 relative group overflow-hidden shadow-lg">
|
|
<div className="lg:col-span-4 lg:row-span-1 relative group overflow-hidden shadow-lg">
|
|
@@ -182,6 +187,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.lanyue[2]}
|
|
src={shipsPageImages.lanyue[2]}
|
|
|
alt="Lanyue Deck"
|
|
alt="Lanyue Deck"
|
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
<div className="lg:col-span-12 lg:row-span-1 relative group overflow-hidden shadow-lg md:hidden lg:block">
|
|
<div className="lg:col-span-12 lg:row-span-1 relative group overflow-hidden shadow-lg md:hidden lg:block">
|
|
@@ -189,6 +195,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.lanyue[3]}
|
|
src={shipsPageImages.lanyue[3]}
|
|
|
alt="Lanyue Wide"
|
|
alt="Lanyue Wide"
|
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
className="w-full h-full object-cover transition-transform duration-1000 group-hover:scale-105"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -208,6 +215,7 @@ const Ships: React.FC = () => {
|
|
|
src={shipsPageImages.aurora}
|
|
src={shipsPageImages.aurora}
|
|
|
alt="Aurora"
|
|
alt="Aurora"
|
|
|
className="w-full h-full object-cover animate-slow-zoom"
|
|
className="w-full h-full object-cover animate-slow-zoom"
|
|
|
|
|
+ loading="lazy"
|
|
|
/>
|
|
/>
|
|
|
<div className="absolute inset-0 bg-gradient-to-b from-black via-transparent to-black"></div>
|
|
<div className="absolute inset-0 bg-gradient-to-b from-black via-transparent to-black"></div>
|
|
|
</div>
|
|
</div>
|