feat: initial commit of WMOC CEO portfolio with cruise ship parallax and seafarer document compliance platform
This commit is contained in:
184
src/App.css
Normal file
184
src/App.css
Normal file
@@ -0,0 +1,184 @@
|
||||
.counter {
|
||||
font-size: 16px;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
color: var(--accent);
|
||||
background: var(--accent-bg);
|
||||
border: 2px solid transparent;
|
||||
transition: border-color 0.3s;
|
||||
margin-bottom: 24px;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--accent-border);
|
||||
}
|
||||
&:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.hero {
|
||||
position: relative;
|
||||
|
||||
.base,
|
||||
.framework,
|
||||
.vite {
|
||||
inset-inline: 0;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.base {
|
||||
width: 170px;
|
||||
position: relative;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.framework,
|
||||
.vite {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.framework {
|
||||
z-index: 1;
|
||||
top: 34px;
|
||||
height: 28px;
|
||||
transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
|
||||
scale(1.4);
|
||||
}
|
||||
|
||||
.vite {
|
||||
z-index: 0;
|
||||
top: 107px;
|
||||
height: 26px;
|
||||
width: auto;
|
||||
transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
|
||||
scale(0.8);
|
||||
}
|
||||
}
|
||||
|
||||
#center {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 25px;
|
||||
place-content: center;
|
||||
place-items: center;
|
||||
flex-grow: 1;
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
padding: 32px 20px 24px;
|
||||
gap: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
#next-steps {
|
||||
display: flex;
|
||||
border-top: 1px solid var(--border);
|
||||
text-align: left;
|
||||
|
||||
& > div {
|
||||
flex: 1 1 0;
|
||||
padding: 32px;
|
||||
@media (max-width: 1024px) {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-bottom: 16px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
#docs {
|
||||
border-right: 1px solid var(--border);
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
border-right: none;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
}
|
||||
|
||||
#next-steps ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin: 32px 0 0;
|
||||
|
||||
.logo {
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--text-h);
|
||||
font-size: 16px;
|
||||
border-radius: 6px;
|
||||
background: var(--social-bg);
|
||||
display: flex;
|
||||
padding: 6px 12px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
text-decoration: none;
|
||||
transition: box-shadow 0.3s;
|
||||
|
||||
&:hover {
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
.button-icon {
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
margin-top: 20px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
|
||||
li {
|
||||
flex: 1 1 calc(50% - 8px);
|
||||
}
|
||||
|
||||
a {
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#spacer {
|
||||
height: 88px;
|
||||
border-top: 1px solid var(--border);
|
||||
@media (max-width: 1024px) {
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
|
||||
.ticks {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -4.5px;
|
||||
border: 5px solid transparent;
|
||||
}
|
||||
|
||||
&::before {
|
||||
left: 0;
|
||||
border-left-color: var(--border);
|
||||
}
|
||||
&::after {
|
||||
right: 0;
|
||||
border-right-color: var(--border);
|
||||
}
|
||||
}
|
||||
50
src/App.tsx
Normal file
50
src/App.tsx
Normal file
@@ -0,0 +1,50 @@
|
||||
import { SmoothScroll } from './components/SmoothScroll';
|
||||
import { Navbar } from './components/Navbar';
|
||||
import { HeroSection } from './components/HeroSection';
|
||||
import { EditorialSection } from './components/EditorialSection';
|
||||
import { ProjectsShowcase } from './components/ProjectsShowcase';
|
||||
import { CruiseShipParallax } from './components/CruiseShipParallax';
|
||||
import { ProcessSection } from './components/ProcessSection';
|
||||
import { ResultsSection } from './components/ResultsSection';
|
||||
import { ContactSection } from './components/ContactSection';
|
||||
import { Footer } from './components/Footer';
|
||||
|
||||
export function App() {
|
||||
return (
|
||||
<SmoothScroll>
|
||||
{/* Subtle fixed physical film grain overlay */}
|
||||
<div className="grain-overlay" aria-hidden="true" />
|
||||
|
||||
{/* Primary site navigation */}
|
||||
<Navbar />
|
||||
|
||||
<main>
|
||||
{/* Section A: Opening / Hero with masked typography & layered parallax */}
|
||||
<HeroSection />
|
||||
|
||||
{/* Section B: Executive Mandate & 4 Maritime Compliance Pillars */}
|
||||
<EditorialSection />
|
||||
|
||||
{/* Section C: Flagship Deployments & Maritime Systems Case Studies */}
|
||||
<ProjectsShowcase />
|
||||
|
||||
{/* Section D: Cinematic Mega-Cruise Ship Parallax & Fleet Telemetry */}
|
||||
<CruiseShipParallax />
|
||||
|
||||
{/* Section E: 5-Stage Seafarer Document Lifecycle Protocol */}
|
||||
<ProcessSection />
|
||||
|
||||
{/* Section F: Fleet Compliance & Verifiable Maritime Metrics */}
|
||||
<ResultsSection />
|
||||
|
||||
{/* Section G: Executive Inquiry & Fleet Consultation */}
|
||||
<ContactSection />
|
||||
</main>
|
||||
|
||||
{/* WMOC Executive Office Footer */}
|
||||
<Footer />
|
||||
</SmoothScroll>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
BIN
src/assets/hero.png
Normal file
BIN
src/assets/hero.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
1
src/assets/react.svg
Normal file
1
src/assets/react.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
1
src/assets/vite.svg
Normal file
1
src/assets/vite.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 8.5 KiB |
431
src/components/ContactSection.tsx
Normal file
431
src/components/ContactSection.tsx
Normal file
@@ -0,0 +1,431 @@
|
||||
import { useState, useRef } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { Send, CheckCircle, Mail, MapPin, Globe, Clock } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
export const ContactSection = () => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
const [submitted, setSubmitted] = useState(false);
|
||||
const [formData, setFormData] = useState({
|
||||
name: '',
|
||||
email: '',
|
||||
projectType: 'Sales Funnel & Pages',
|
||||
budget: '$3k - $6k',
|
||||
message: '',
|
||||
});
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
gsap.from('.contact-reveal', {
|
||||
scrollTrigger: {
|
||||
trigger: containerRef.current,
|
||||
start: 'top 75%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 40,
|
||||
opacity: 0,
|
||||
duration: 0.9,
|
||||
stagger: 0.15,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
});
|
||||
},
|
||||
{ scope: containerRef }
|
||||
);
|
||||
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!formData.name || !formData.email) return;
|
||||
setSubmitted(true);
|
||||
};
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={containerRef}
|
||||
id="contact"
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingTop: 'var(--space-3xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
overflow: 'hidden',
|
||||
}}
|
||||
>
|
||||
{/* Background Volumetric Glow */}
|
||||
<div
|
||||
className="ambient-glow ambient-glow-crimson"
|
||||
style={{
|
||||
bottom: '-10%',
|
||||
right: '-5%',
|
||||
width: '600px',
|
||||
height: '600px',
|
||||
}}
|
||||
/>
|
||||
|
||||
<div className="container" style={{ position: 'relative', zIndex: 2 }}>
|
||||
{/* Massive Headline Statement */}
|
||||
<div className="contact-reveal" style={{ marginBottom: 'clamp(40px, 8vw, 72px)' }}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num">05</span>
|
||||
<span className="divider">/</span>
|
||||
<span>EXECUTIVE ENGAGEMENT</span>
|
||||
</div>
|
||||
|
||||
<h2
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-hero)',
|
||||
color: 'var(--text-primary)',
|
||||
textTransform: 'lowercase',
|
||||
lineHeight: 0.92,
|
||||
marginBottom: '1.25rem',
|
||||
}}
|
||||
>
|
||||
secure your fleet. <br />
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>protect every voyage.</span>
|
||||
</h2>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: 'var(--text-body-lg)',
|
||||
color: 'var(--text-muted)',
|
||||
maxWidth: '720px',
|
||||
fontWeight: 300,
|
||||
lineHeight: 1.6,
|
||||
}}
|
||||
>
|
||||
Direct executive access to Yanz Cruz, Chief Executive Officer of WMOC. Consultations available for cruise operators, ship managers, and international crewing authorities.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Contact Layout Grid */}
|
||||
<div
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'minmax(0, 1.3fr) minmax(0, 1fr)',
|
||||
gap: 'clamp(40px, 6vw, 80px)',
|
||||
alignItems: 'start',
|
||||
}}
|
||||
className="contact-grid"
|
||||
>
|
||||
{/* Interactive Inquiry Form */}
|
||||
<div
|
||||
className="contact-reveal"
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: 'clamp(28px, 5vw, 48px)',
|
||||
borderRadius: '3px',
|
||||
boxShadow: '0 25px 70px rgba(0,0,0,0.6)',
|
||||
}}
|
||||
>
|
||||
{submitted ? (
|
||||
<div style={{ textAlign: 'center', padding: '40px 20px' }}>
|
||||
<div
|
||||
style={{
|
||||
width: '64px',
|
||||
height: '64px',
|
||||
borderRadius: '50%',
|
||||
backgroundColor: 'rgba(56, 189, 248, 0.15)',
|
||||
border: '2px solid var(--accent-crimson-bright)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
margin: '0 auto 20px',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
}}
|
||||
>
|
||||
<CheckCircle size={32} />
|
||||
</div>
|
||||
<h3 className="font-display" style={{ fontSize: '2rem', marginBottom: '12px' }}>
|
||||
Inquiry Received.
|
||||
</h3>
|
||||
<p style={{ color: 'var(--text-muted)', lineHeight: 1.6, maxWidth: '420px', margin: '0 auto 24px' }}>
|
||||
Thank you, {formData.name}. I personally review every offer and brief within 24 hours. We’ll be in touch with next steps.
|
||||
</p>
|
||||
<button
|
||||
onClick={() => setSubmitted(false)}
|
||||
className="btn-outline"
|
||||
style={{ padding: '10px 24px', fontSize: '0.8rem' }}
|
||||
>
|
||||
Submit Another Brief
|
||||
</button>
|
||||
</div>
|
||||
) : (
|
||||
<form onSubmit={handleSubmit}>
|
||||
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(220px, 1fr))', gap: '20px', marginBottom: '20px' }}>
|
||||
<div>
|
||||
<label
|
||||
htmlFor="client-name"
|
||||
className="font-mono"
|
||||
style={{
|
||||
display: 'block',
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
Your Name *
|
||||
</label>
|
||||
<input
|
||||
id="client-name"
|
||||
type="text"
|
||||
required
|
||||
placeholder="e.g. Alex Morgan"
|
||||
value={formData.name}
|
||||
onChange={(e) => setFormData({ ...formData, name: e.target.value })}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label
|
||||
htmlFor="client-email"
|
||||
className="font-mono"
|
||||
style={{
|
||||
display: 'block',
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
Direct Email *
|
||||
</label>
|
||||
<input
|
||||
id="client-email"
|
||||
type="email"
|
||||
required
|
||||
placeholder="alex@brand.com"
|
||||
value={formData.email}
|
||||
onChange={(e) => setFormData({ ...formData, email: e.target.value })}
|
||||
style={inputStyle}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(220px, 1fr))', gap: '20px', marginBottom: '20px' }}>
|
||||
<div>
|
||||
<label
|
||||
htmlFor="project-type"
|
||||
className="font-mono"
|
||||
style={{
|
||||
display: 'block',
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
Fleet Inquiry Type
|
||||
</label>
|
||||
<select
|
||||
id="project-type"
|
||||
value={formData.projectType}
|
||||
onChange={(e) => setFormData({ ...formData, projectType: e.target.value })}
|
||||
style={inputStyle}
|
||||
>
|
||||
<option value="Cruise Line Seafarer Document Vault">Cruise Line Seafarer Document Vault</option>
|
||||
<option value="Flag State Consular Endorsements">Automated Flag State Endorsements (Panama/Bahamas/Liberia)</option>
|
||||
<option value="Port State Control (PSC) Readiness">Port State Control (PSC) Audit & Pre-Clearance</option>
|
||||
<option value="Enterprise Crew Manning Architecture">Enterprise Crew Manning & Manifest Automation</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label
|
||||
htmlFor="project-budget"
|
||||
className="font-mono"
|
||||
style={{
|
||||
display: 'block',
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
Managed Fleet Size
|
||||
</label>
|
||||
<select
|
||||
id="project-budget"
|
||||
value={formData.budget}
|
||||
onChange={(e) => setFormData({ ...formData, budget: e.target.value })}
|
||||
style={inputStyle}
|
||||
>
|
||||
<option value="1 - 5 Vessels (1,000+ Seafarers)">1 – 5 Vessels (1,000+ Seafarers)</option>
|
||||
<option value="6 - 20 Vessels (5,000+ Seafarers)">6 – 20 Vessels (5,000+ Seafarers)</option>
|
||||
<option value="20+ Mega-Cruise Fleet (15,000+ Seafarers)">20+ Mega-Cruise Fleet (15,000+ Seafarers)</option>
|
||||
<option value="Maritime Agency / Flag Registry">Maritime Agency / Flag Registry</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ marginBottom: '28px' }}>
|
||||
<label
|
||||
htmlFor="project-brief"
|
||||
className="font-mono"
|
||||
style={{
|
||||
display: 'block',
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
Fleet Profile, Flag States & Port Clearance Requirements
|
||||
</label>
|
||||
<textarea
|
||||
id="project-brief"
|
||||
rows={4}
|
||||
placeholder="Provide details on your current fleet itineraries, flag state endorsements, seafarer nationalities, and embarkation bottlenecks..."
|
||||
value={formData.message}
|
||||
onChange={(e) => setFormData({ ...formData, message: e.target.value })}
|
||||
style={{ ...inputStyle, resize: 'vertical' }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<button
|
||||
type="submit"
|
||||
className="btn-cinematic"
|
||||
style={{ width: '100%', padding: '18px', fontSize: '0.88rem' }}
|
||||
>
|
||||
<span>Transmit Executive Fleet Inquiry</span>
|
||||
<Send size={15} />
|
||||
</button>
|
||||
</form>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* Details & Worldwide Notice */}
|
||||
<div className="contact-reveal" style={{ display: 'flex', flexDirection: 'column', gap: '32px' }}>
|
||||
<div
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: '32px',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
<h3 className="font-display" style={{ fontSize: '1.4rem', marginBottom: '16px' }}>
|
||||
Executive Headquarters
|
||||
</h3>
|
||||
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: '16px' }}>
|
||||
<a
|
||||
href="mailto:ceo@wmoc.com"
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '12px',
|
||||
color: 'var(--text-primary)',
|
||||
textDecoration: 'none',
|
||||
fontSize: '0.95rem',
|
||||
}}
|
||||
>
|
||||
<Mail size={18} style={{ color: 'var(--accent-crimson-bright)' }} />
|
||||
<span>ceo@wmoc.com</span>
|
||||
</a>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '12px',
|
||||
color: 'var(--text-muted)',
|
||||
fontSize: '0.95rem',
|
||||
}}
|
||||
>
|
||||
<MapPin size={18} style={{ color: 'var(--accent-crimson-bright)' }} />
|
||||
<span>Manila Maritime Hub & Global Cruise Corridors</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '12px',
|
||||
color: 'var(--text-muted)',
|
||||
fontSize: '0.95rem',
|
||||
}}
|
||||
>
|
||||
<Globe size={18} style={{ color: 'var(--accent-crimson-bright)' }} />
|
||||
<span>Panama • Bahamas • Marshall Islands • USCG Operations</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '12px',
|
||||
color: 'var(--text-muted)',
|
||||
fontSize: '0.95rem',
|
||||
}}
|
||||
>
|
||||
<Clock size={18} style={{ color: 'var(--accent-crimson-bright)' }} />
|
||||
<span>Emergency Port State Response: 24/7/365</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Quality Commitment Card */}
|
||||
<div
|
||||
style={{
|
||||
borderLeft: '2px solid var(--accent-crimson-bright)',
|
||||
paddingLeft: '20px',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.72rem',
|
||||
letterSpacing: '0.14em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 700,
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
// EXECUTIVE STEWARDSHIP
|
||||
</div>
|
||||
<p style={{ fontSize: '0.9rem', color: 'var(--text-muted)', lineHeight: 1.6 }}>
|
||||
Every enterprise seafarer document architecture and cruise line partnership is personally supervised by <strong style={{ color: '#ffffff' }}>Yanz Cruz, CEO of WMOC</strong>, ensuring total legal compliance and operational continuity worldwide.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>{`
|
||||
@media (max-width: 900px) {
|
||||
.contact-grid {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
const inputStyle: React.CSSProperties = {
|
||||
width: '100%',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
color: 'var(--text-primary)',
|
||||
padding: '12px 16px',
|
||||
borderRadius: '2px',
|
||||
fontFamily: 'var(--font-body)',
|
||||
fontSize: '0.92rem',
|
||||
outline: 'none',
|
||||
transition: 'border-color 0.25s ease',
|
||||
};
|
||||
222
src/components/CruiseShipParallax.tsx
Normal file
222
src/components/CruiseShipParallax.tsx
Normal file
@@ -0,0 +1,222 @@
|
||||
import { useRef } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { Compass, ShieldAlert, Award, Radio } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
export const CruiseShipParallax = () => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
const shipImageRef = useRef<HTMLImageElement>(null);
|
||||
const headlineRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
// Deep cruise ship parallax scroll scrub
|
||||
if (shipImageRef.current && containerRef.current) {
|
||||
gsap.fromTo(
|
||||
shipImageRef.current,
|
||||
{ yPercent: -18, scale: 1.15 },
|
||||
{
|
||||
yPercent: 18,
|
||||
scale: 1.05,
|
||||
ease: 'none',
|
||||
scrollTrigger: {
|
||||
trigger: containerRef.current,
|
||||
start: 'top bottom',
|
||||
end: 'bottom top',
|
||||
scrub: 1.5,
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
// Headline entrance
|
||||
if (headlineRef.current && containerRef.current) {
|
||||
gsap.from(headlineRef.current, {
|
||||
scrollTrigger: {
|
||||
trigger: headlineRef.current,
|
||||
start: 'top 80%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 40,
|
||||
opacity: 0,
|
||||
duration: 1,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
{ scope: containerRef }
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={containerRef}
|
||||
style={{
|
||||
position: 'relative',
|
||||
minHeight: '110vh',
|
||||
backgroundColor: '#07090D',
|
||||
overflow: 'hidden',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'space-between',
|
||||
paddingTop: 'var(--space-2xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
borderBottom: '1px solid var(--border-subtle)',
|
||||
}}
|
||||
>
|
||||
{/* Dynamic Oceanic Ambient Background */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
inset: 0,
|
||||
background: 'radial-gradient(ellipse at 50% 30%, rgba(2, 132, 199, 0.18) 0%, rgba(7, 9, 13, 0.95) 75%)',
|
||||
zIndex: 1,
|
||||
pointerEvents: 'none',
|
||||
}}
|
||||
/>
|
||||
|
||||
{/* Top Narrative Header */}
|
||||
<div className="container" style={{ position: 'relative', zIndex: 5, marginBottom: '2rem' }}>
|
||||
<div ref={headlineRef}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num" style={{ color: 'var(--accent-crimson-bright)' }}>✦</span>
|
||||
<span className="divider">/</span>
|
||||
<span>CRUISE LINER COMPLIANCE IN MOTION</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'flex-end',
|
||||
flexWrap: 'wrap',
|
||||
gap: '24px',
|
||||
}}
|
||||
>
|
||||
<h2
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-h1)',
|
||||
textTransform: 'lowercase',
|
||||
maxWidth: '920px',
|
||||
lineHeight: 1.05,
|
||||
color: '#ffffff',
|
||||
}}
|
||||
>
|
||||
luxury on the surface.{' '}
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>unforgiving rigor below deck.</span>
|
||||
</h2>
|
||||
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.78rem',
|
||||
color: 'var(--text-muted)',
|
||||
letterSpacing: '0.12em',
|
||||
textTransform: 'uppercase',
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
gap: '8px',
|
||||
padding: '8px 16px',
|
||||
backgroundColor: 'rgba(56, 189, 248, 0.08)',
|
||||
border: '1px solid var(--border-accent)',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
<Radio size={14} style={{ color: 'var(--accent-crimson-bright)', animation: 'pulse 1.5s infinite' }} />
|
||||
<span>LIVE FLEET TELEMETRY: 42 CRUISE LINERS AT SEA</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Center Cinematic Stage: Colossal Cruise Ship with Parallax Scrub */}
|
||||
<div
|
||||
style={{
|
||||
position: 'relative',
|
||||
width: '100%',
|
||||
height: 'clamp(460px, 62vh, 750px)',
|
||||
overflow: 'hidden',
|
||||
zIndex: 2,
|
||||
margin: '2rem 0',
|
||||
}}
|
||||
>
|
||||
{/* Parallax Ship Image */}
|
||||
<img
|
||||
ref={shipImageRef}
|
||||
src="/assets/cruise-ship-ocean.jpg"
|
||||
alt="Luxury Mega Cruise Liner at Deep Sea Twilight"
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '-20%',
|
||||
left: '0',
|
||||
width: '100%',
|
||||
height: '140%',
|
||||
objectFit: 'cover',
|
||||
display: 'block',
|
||||
filter: 'contrast(108%) saturate(105%) brightness(92%)',
|
||||
}}
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
{/* Bottom Mission Rationale Band */}
|
||||
<div className="container" style={{ position: 'relative', zIndex: 5 }}>
|
||||
<div
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))',
|
||||
gap: '24px',
|
||||
backgroundColor: 'var(--bg-surface-elevated)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: 'clamp(24px, 3.5vw, 36px)',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
<div style={{ display: 'flex', gap: '14px', alignItems: 'flex-start' }}>
|
||||
<Award size={24} style={{ color: 'var(--accent-crimson-bright)', flexShrink: 0, marginTop: '2px' }} />
|
||||
<div>
|
||||
<div className="font-display" style={{ fontSize: '1.1rem', color: '#ffffff', marginBottom: '4px', fontWeight: 700 }}>
|
||||
100% Port State Inspection Pass
|
||||
</div>
|
||||
<p style={{ fontSize: '0.85rem', color: 'var(--text-muted)', lineHeight: 1.5 }}>
|
||||
Under Yanz Cruz’s leadership, every vessel managed under the WMOC platform has cleared USCG and Paris MoU audits without a single seafarer detention.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'flex', gap: '14px', alignItems: 'flex-start' }}>
|
||||
<ShieldAlert size={24} style={{ color: 'var(--accent-crimson-bright)', flexShrink: 0, marginTop: '2px' }} />
|
||||
<div>
|
||||
<div className="font-display" style={{ fontSize: '1.1rem', color: '#ffffff', marginBottom: '4px', fontWeight: 700 }}>
|
||||
Automated 90-Day Expiry Defense
|
||||
</div>
|
||||
<p style={{ fontSize: '0.85rem', color: 'var(--text-muted)', lineHeight: 1.5 }}>
|
||||
Predictive expiration alerts ensure seafarers renew medicals, passports, and STCW endorsements well before joining cruise rotations.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'flex', gap: '14px', alignItems: 'flex-start' }}>
|
||||
<Compass size={24} style={{ color: 'var(--accent-crimson-bright)', flexShrink: 0, marginTop: '2px' }} />
|
||||
<div>
|
||||
<div className="font-display" style={{ fontSize: '1.1rem', color: '#ffffff', marginBottom: '4px', fontWeight: 700 }}>
|
||||
Consular & Flag Administration Gateway
|
||||
</div>
|
||||
<p style={{ fontSize: '0.85rem', color: 'var(--text-muted)', lineHeight: 1.5 }}>
|
||||
Direct channels with Panama, Bahamas, and Marshall Islands maritime registries for immediate electronic crew endorsement issuance.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
323
src/components/EditorialSection.tsx
Normal file
323
src/components/EditorialSection.tsx
Normal file
@@ -0,0 +1,323 @@
|
||||
import { useRef } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { ShieldCheck, Ship, FileCheck2, Anchor, Award, CheckCircle2 } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
export const EditorialSection = () => {
|
||||
const sectionRef = useRef<HTMLDivElement>(null);
|
||||
const headlineRef = useRef<HTMLHeadingElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
// Headline scroll reveal
|
||||
gsap.from('.editorial-reveal', {
|
||||
scrollTrigger: {
|
||||
trigger: sectionRef.current,
|
||||
start: 'top 75%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 40,
|
||||
opacity: 0,
|
||||
duration: 1,
|
||||
stagger: 0.15,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
|
||||
// Staggered pillars reveal
|
||||
gsap.from('.decision-pillar', {
|
||||
scrollTrigger: {
|
||||
trigger: '.pillars-container',
|
||||
start: 'top 80%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 30,
|
||||
opacity: 0,
|
||||
duration: 0.8,
|
||||
stagger: 0.12,
|
||||
ease: 'power2.out',
|
||||
});
|
||||
});
|
||||
},
|
||||
{ scope: sectionRef }
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={sectionRef}
|
||||
id="behind"
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingTop: 'var(--space-2xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
borderBottom: '1px solid var(--border-subtle)',
|
||||
overflow: 'hidden',
|
||||
}}
|
||||
>
|
||||
<div className="container">
|
||||
{/* Section Header */}
|
||||
<div className="editorial-reveal" style={{ marginBottom: '2.5rem' }}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num">02</span>
|
||||
<span className="divider">/</span>
|
||||
<span>EXECUTIVE MANDATE</span>
|
||||
</div>
|
||||
|
||||
<h2
|
||||
ref={headlineRef}
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-h1)',
|
||||
color: 'var(--text-primary)',
|
||||
maxWidth: '1080px',
|
||||
textTransform: 'lowercase',
|
||||
marginBottom: '1rem',
|
||||
lineHeight: 1.05,
|
||||
}}
|
||||
>
|
||||
moving global cruise fleets without delay.{' '}
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>guaranteed seafarer compliance.</span>
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
{/* Longform Editorial Rationale */}
|
||||
<div
|
||||
className="editorial-reveal"
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'minmax(0, 1.25fr) minmax(0, 1fr)',
|
||||
gap: 'clamp(32px, 5vw, 64px)',
|
||||
alignItems: 'start',
|
||||
marginBottom: 'var(--space-xl)',
|
||||
}}
|
||||
id="editorial-manifesto-grid"
|
||||
>
|
||||
<div>
|
||||
<p
|
||||
style={{
|
||||
fontSize: 'var(--text-body-lg)',
|
||||
color: 'var(--text-muted)',
|
||||
lineHeight: 1.7,
|
||||
marginBottom: '1.5rem',
|
||||
}}
|
||||
>
|
||||
As Chief Executive Officer of <strong style={{ color: '#ffffff' }}>WMOC (Worldwide Maritime Operations & Compliance)</strong>, I lead the enterprise technology and operational architecture that keeps international shipping and luxury cruise lines sailing on schedule.
|
||||
</p>
|
||||
<p
|
||||
style={{
|
||||
fontSize: 'var(--text-body-lg)',
|
||||
color: 'var(--text-muted)',
|
||||
lineHeight: 1.7,
|
||||
marginBottom: '1.5rem',
|
||||
}}
|
||||
>
|
||||
When a luxury cruise ship docks with 1,800 crew members across 45 nationalities, a single expired flag endorsement or missing STCW certificate can trigger devastating Port State Control detentions. Under my executive stewardship, WMOC automates the full lifecycle of seaman credentials—from pre-joining verification to biometric visa readiness and real-time shipboard manifest audit.
|
||||
</p>
|
||||
|
||||
{/* Strategic KPI Tags */}
|
||||
<div style={{ display: 'flex', flexWrap: 'wrap', gap: '10px', marginTop: '1.5rem' }}>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.75rem',
|
||||
padding: '6px 14px',
|
||||
backgroundColor: 'rgba(56, 189, 248, 0.1)',
|
||||
border: '1px solid var(--border-accent)',
|
||||
borderRadius: '2px',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
fontWeight: 600,
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
gap: '6px',
|
||||
}}
|
||||
>
|
||||
<CheckCircle2 size={13} /> STCW 2010 COMPLIANT
|
||||
</span>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.75rem',
|
||||
padding: '6px 14px',
|
||||
backgroundColor: 'rgba(255, 255, 255, 0.04)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
borderRadius: '2px',
|
||||
color: 'var(--text-primary)',
|
||||
fontWeight: 600,
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
gap: '6px',
|
||||
}}
|
||||
>
|
||||
<Award size={13} style={{ color: 'var(--accent-crimson-bright)' }} /> MLC 2006 ACCREDITED
|
||||
</span>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.75rem',
|
||||
padding: '6px 14px',
|
||||
backgroundColor: 'rgba(255, 255, 255, 0.04)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
borderRadius: '2px',
|
||||
color: 'var(--text-primary)',
|
||||
fontWeight: 600,
|
||||
}}
|
||||
>
|
||||
IMO / MARINA VERIFIED
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Golden Rule Callout Box */}
|
||||
<div
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
border: '1px solid var(--border-accent)',
|
||||
padding: 'clamp(28px, 4.5vw, 44px)',
|
||||
borderRadius: '2px',
|
||||
position: 'relative',
|
||||
boxShadow: '0 20px 50px rgba(0,0,0,0.5)',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.72rem',
|
||||
letterSpacing: '0.18em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 700,
|
||||
marginBottom: '14px',
|
||||
}}
|
||||
>
|
||||
// THE WMOC ZERO-DEFECT STANDARD
|
||||
</div>
|
||||
<p
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'clamp(1.4rem, 2.4vw, 2.1rem)',
|
||||
color: 'var(--text-primary)',
|
||||
lineHeight: 1.25,
|
||||
fontWeight: 700,
|
||||
marginBottom: '20px',
|
||||
}}
|
||||
>
|
||||
"If a crew member's documentation cannot clear Port State Control in any harbor worldwide within 60 seconds, our deployment is incomplete."
|
||||
</p>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.76rem',
|
||||
color: 'var(--text-muted)',
|
||||
letterSpacing: '0.08em',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
paddingTop: '14px',
|
||||
}}
|
||||
>
|
||||
YANZ CRUZ — CEO & FOUNDER, WMOC
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* 4 Pillars of Maritime Document Architecture */}
|
||||
<div
|
||||
className="pillars-container"
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(260px, 1fr))',
|
||||
gap: '24px',
|
||||
}}
|
||||
>
|
||||
{pillars.map((pillar, idx) => {
|
||||
const Icon = pillar.icon;
|
||||
return (
|
||||
<div
|
||||
key={idx}
|
||||
className="decision-pillar"
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-surface-elevated)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: '32px 28px',
|
||||
borderRadius: '2px',
|
||||
transition: 'transform 0.3s ease, border-color 0.3s ease',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
width: '44px',
|
||||
height: '44px',
|
||||
borderRadius: '2px',
|
||||
backgroundColor: 'rgba(56, 189, 248, 0.12)',
|
||||
border: '1px solid var(--border-accent)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
marginBottom: '20px',
|
||||
}}
|
||||
>
|
||||
<Icon size={20} />
|
||||
</div>
|
||||
<h3
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '1.25rem',
|
||||
color: 'var(--text-primary)',
|
||||
marginBottom: '8px',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{pillar.title}
|
||||
</h3>
|
||||
<p
|
||||
style={{
|
||||
fontSize: '0.9rem',
|
||||
color: 'var(--text-muted)',
|
||||
lineHeight: 1.5,
|
||||
}}
|
||||
>
|
||||
{pillar.desc}
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>{`
|
||||
@media (max-width: 860px) {
|
||||
#editorial-manifesto-grid {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
const pillars = [
|
||||
{
|
||||
icon: ShieldCheck,
|
||||
title: 'STCW & Regulatory Rigor',
|
||||
desc: 'Automated validation against IMO STCW 2010 Manila Amendments, medical fitness, and flag state competencies.',
|
||||
},
|
||||
{
|
||||
icon: Ship,
|
||||
title: 'Cruise Line Integration',
|
||||
desc: 'Synchronizing real-time crew manifests directly into shipboard management systems across mega-cruise fleets.',
|
||||
},
|
||||
{
|
||||
icon: FileCheck2,
|
||||
title: 'Flag State Endorsements',
|
||||
desc: 'Direct electronic verification pipelines with Panama, Bahamas, Liberia, Malta, and Marshall Islands maritime administrations.',
|
||||
},
|
||||
{
|
||||
icon: Anchor,
|
||||
title: 'Zero PSC Detentions',
|
||||
desc: 'Maintaining a flawless 99.99% compliance record across US Coast Guard, Paris MoU, and Tokyo MoU port inspections.',
|
||||
},
|
||||
];
|
||||
183
src/components/Footer.tsx
Normal file
183
src/components/Footer.tsx
Normal file
@@ -0,0 +1,183 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
import { ArrowUp } from 'lucide-react';
|
||||
|
||||
export const Footer = () => {
|
||||
const [phTime, setPhTime] = useState('');
|
||||
|
||||
useEffect(() => {
|
||||
const updateTime = () => {
|
||||
const now = new Date();
|
||||
const options: Intl.DateTimeFormatOptions = {
|
||||
timeZone: 'Asia/Manila',
|
||||
hour: '2-digit',
|
||||
minute: '2-digit',
|
||||
second: '2-digit',
|
||||
hour12: true,
|
||||
};
|
||||
setPhTime(new Intl.DateTimeFormat('en-US', options).format(now));
|
||||
};
|
||||
|
||||
updateTime();
|
||||
const interval = setInterval(updateTime, 1000);
|
||||
return () => clearInterval(interval);
|
||||
}, []);
|
||||
|
||||
const scrollToTop = () => {
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
};
|
||||
|
||||
return (
|
||||
<footer
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
paddingTop: 'var(--space-xl)',
|
||||
paddingBottom: 'var(--space-lg)',
|
||||
position: 'relative',
|
||||
zIndex: 2,
|
||||
}}
|
||||
>
|
||||
<div className="container">
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'flex-start',
|
||||
flexWrap: 'wrap',
|
||||
gap: '32px',
|
||||
marginBottom: 'var(--space-lg)',
|
||||
}}
|
||||
>
|
||||
{/* Brand Col */}
|
||||
<div>
|
||||
<span
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '1.6rem',
|
||||
fontWeight: 800,
|
||||
color: 'var(--text-primary)',
|
||||
display: 'block',
|
||||
marginBottom: '4px',
|
||||
}}
|
||||
>
|
||||
WMOC
|
||||
</span>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.68rem',
|
||||
letterSpacing: '0.14em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 700,
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
OFFICE OF THE CHIEF EXECUTIVE OFFICER
|
||||
</div>
|
||||
<p
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.8rem',
|
||||
color: 'var(--text-muted)',
|
||||
letterSpacing: '0.04em',
|
||||
maxWidth: '380px',
|
||||
lineHeight: 1.5,
|
||||
}}
|
||||
>
|
||||
Enterprise Seafarer Document Management, STCW Regulatory Compliance & International Cruise Line Operations.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Social Links */}
|
||||
<div style={{ display: 'flex', gap: '28px', flexWrap: 'wrap' }}>
|
||||
{socials.map((s, idx) => (
|
||||
<a
|
||||
key={idx}
|
||||
href={s.url}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.82rem',
|
||||
letterSpacing: '0.1em',
|
||||
color: 'var(--text-muted)',
|
||||
textDecoration: 'none',
|
||||
textTransform: 'uppercase',
|
||||
transition: 'color 0.25s ease',
|
||||
}}
|
||||
onMouseEnter={(e) => (e.currentTarget.style.color = 'var(--accent-crimson-bright)')}
|
||||
onMouseLeave={(e) => (e.currentTarget.style.color = 'var(--text-muted)')}
|
||||
>
|
||||
{s.name}
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Time & Back to Top */}
|
||||
<div style={{ display: 'flex', alignItems: 'center', gap: '20px' }}>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.78rem',
|
||||
color: 'var(--text-dim)',
|
||||
letterSpacing: '0.08em',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '8px',
|
||||
}}
|
||||
>
|
||||
<span className="pulse-dot" style={{ width: '6px', height: '6px' }} />
|
||||
<span>MNL HUB: {phTime || '1:30 PM'}</span>
|
||||
</div>
|
||||
|
||||
<button
|
||||
onClick={scrollToTop}
|
||||
className="btn-outline"
|
||||
style={{
|
||||
padding: '10px 14px',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
}}
|
||||
aria-label="Back to top"
|
||||
>
|
||||
<ArrowUp size={16} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Bottom Rule */}
|
||||
<div
|
||||
style={{
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
paddingTop: '24px',
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'center',
|
||||
flexWrap: 'wrap',
|
||||
gap: '16px',
|
||||
fontSize: '0.75rem',
|
||||
color: 'var(--text-dim)',
|
||||
}}
|
||||
className="font-mono"
|
||||
>
|
||||
<div>
|
||||
© 2026 WMOC • YANZ CRUZ, CEO & FOUNDER. ALL RIGHTS RESERVED.
|
||||
</div>
|
||||
<div>
|
||||
STCW 2010 • MLC 2006 • MARITIME FLEET SYSTEMS
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
const socials = [
|
||||
{ name: 'Instagram', url: 'https://instagram.com/yrabellaa' },
|
||||
{ name: 'Website', url: 'https://www.yanzcruz.com' },
|
||||
{ name: 'LinkedIn', url: 'https://linkedin.com' },
|
||||
{ name: 'X / Twitter', url: 'https://x.com' },
|
||||
];
|
||||
368
src/components/HeroSection.tsx
Normal file
368
src/components/HeroSection.tsx
Normal file
@@ -0,0 +1,368 @@
|
||||
import { useRef } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { ArrowDown } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
export const HeroSection = () => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
const textBgRef = useRef<HTMLDivElement>(null);
|
||||
const portraitRef = useRef<HTMLImageElement>(null);
|
||||
const leftInfoRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const tl = gsap.timeline({ defaults: { ease: 'power4.out' } });
|
||||
|
||||
// Entrance animation sequence
|
||||
tl.from(textBgRef.current, {
|
||||
scale: 0.94,
|
||||
opacity: 0,
|
||||
filter: 'blur(20px)',
|
||||
duration: 1.6,
|
||||
})
|
||||
.from(
|
||||
portraitRef.current,
|
||||
{
|
||||
y: 70,
|
||||
opacity: 0,
|
||||
duration: 1.4,
|
||||
ease: 'power3.out',
|
||||
},
|
||||
'-=1.2'
|
||||
)
|
||||
.from(
|
||||
'.hero-left-anim',
|
||||
{
|
||||
y: 30,
|
||||
opacity: 0,
|
||||
stagger: 0.12,
|
||||
duration: 1,
|
||||
ease: 'power3.out',
|
||||
},
|
||||
'-=1.0'
|
||||
)
|
||||
|
||||
// Scroll-triggered differential parallax
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
if (textBgRef.current) {
|
||||
gsap.to(textBgRef.current, {
|
||||
y: 80,
|
||||
scale: 1.05,
|
||||
ease: 'none',
|
||||
scrollTrigger: {
|
||||
trigger: containerRef.current,
|
||||
start: 'top top',
|
||||
end: 'bottom top',
|
||||
scrub: 1.2,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (portraitRef.current) {
|
||||
gsap.to(portraitRef.current, {
|
||||
y: 40,
|
||||
ease: 'none',
|
||||
scrollTrigger: {
|
||||
trigger: containerRef.current,
|
||||
start: 'top top',
|
||||
end: 'bottom top',
|
||||
scrub: 1,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (leftInfoRef.current) {
|
||||
gsap.to(leftInfoRef.current, {
|
||||
y: -30,
|
||||
opacity: 0.8,
|
||||
ease: 'none',
|
||||
scrollTrigger: {
|
||||
trigger: containerRef.current,
|
||||
start: 'top top',
|
||||
end: '60% top',
|
||||
scrub: 0.8,
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
{ scope: containerRef }
|
||||
);
|
||||
|
||||
const scrollToNext = () => {
|
||||
const el = document.getElementById('behind');
|
||||
if (el) el.scrollIntoView({ behavior: 'smooth' });
|
||||
};
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={containerRef}
|
||||
id="top"
|
||||
style={{
|
||||
position: 'relative',
|
||||
minHeight: '100vh',
|
||||
backgroundColor: '#F5F2EB',
|
||||
color: '#11100F',
|
||||
overflow: 'hidden',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'space-between',
|
||||
paddingTop: 'clamp(80px, 12vh, 110px)',
|
||||
}}
|
||||
>
|
||||
|
||||
{/* Layer 1: Massive Background Text "PORTFOLIO" with Cinematic Vertical Motion Fadings */}
|
||||
<div
|
||||
ref={textBgRef}
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '32%',
|
||||
left: '50%',
|
||||
transform: 'translate(-50%, -50%)',
|
||||
width: '100%',
|
||||
textAlign: 'center',
|
||||
userSelect: 'none',
|
||||
pointerEvents: 'none',
|
||||
zIndex: 1,
|
||||
}}
|
||||
>
|
||||
{/* The Giant Red PORTFOLIO Letters with Bottom Edge Fading */}
|
||||
<div
|
||||
style={{
|
||||
fontFamily: "'Bebas Neue', 'Oswald', sans-serif",
|
||||
fontSize: 'clamp(8rem, 23.5vw, 28.5rem)',
|
||||
fontWeight: 900,
|
||||
lineHeight: 0.82,
|
||||
letterSpacing: '0.035em',
|
||||
background: 'linear-gradient(180deg, #38BDF8 0%, #0EA5E9 40%, #0284C7 75%, #0369A1 100%)',
|
||||
WebkitBackgroundClip: 'text',
|
||||
WebkitTextFillColor: 'transparent',
|
||||
textTransform: 'uppercase',
|
||||
whiteSpace: 'nowrap',
|
||||
display: 'inline-block',
|
||||
position: 'relative',
|
||||
// Smooth bottom fade-out dissolving the bottom of the letters into the canvas
|
||||
WebkitMaskImage: 'linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.58) 75%, rgba(0, 0, 0, 0.12) 90%, transparent 100%)',
|
||||
maskImage: 'linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.58) 75%, rgba(0, 0, 0, 0.12) 90%, transparent 100%)',
|
||||
}}
|
||||
>
|
||||
PORTFOLIO
|
||||
|
||||
{/* Cinematic Vertical Streaks & Light Motion Fading Overlay */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
inset: 0,
|
||||
background: `repeating-linear-gradient(
|
||||
90deg,
|
||||
rgba(245, 242, 235, 0) 0px,
|
||||
rgba(245, 242, 235, 0) 45px,
|
||||
rgba(245, 242, 235, 0.42) 75px,
|
||||
rgba(245, 242, 235, 0.08) 110px,
|
||||
rgba(245, 242, 235, 0.55) 150px,
|
||||
rgba(245, 242, 235, 0) 180px
|
||||
)`,
|
||||
mixBlendMode: 'soft-light',
|
||||
pointerEvents: 'none',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Ambient Warm Atmosphere Glow behind Portrait */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '50%',
|
||||
left: '50%',
|
||||
transform: 'translate(-50%, -50%)',
|
||||
width: 'clamp(450px, 60vw, 900px)',
|
||||
height: 'clamp(450px, 60vw, 900px)',
|
||||
background: 'radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(245, 242, 235, 0) 70%)',
|
||||
filter: 'blur(75px)',
|
||||
zIndex: -1,
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Layer 2: Center Cutout Portrait (In front of PORTFOLIO, behind UI text) */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
bottom: 'clamp(40px, 7vh, 80px)',
|
||||
left: '50%',
|
||||
transform: 'translateX(-50%)',
|
||||
height: 'clamp(520px, 84vh, 860px)',
|
||||
zIndex: 2,
|
||||
pointerEvents: 'none',
|
||||
display: 'flex',
|
||||
alignItems: 'flex-end',
|
||||
justifyContent: 'center',
|
||||
}}
|
||||
>
|
||||
<img
|
||||
ref={portraitRef}
|
||||
src="/assets/hero-cutout.png"
|
||||
alt="Yanz Cruz - Funnel Designer"
|
||||
style={{
|
||||
height: '100%',
|
||||
width: 'auto',
|
||||
maxHeight: '100%',
|
||||
objectFit: 'contain',
|
||||
display: 'block',
|
||||
// Soft subtle bottom fade so the chest/torso dissolves into bottom edge
|
||||
WebkitMaskImage: 'linear-gradient(to bottom, black 78%, transparent 100%)',
|
||||
maskImage: 'linear-gradient(to bottom, black 78%, transparent 100%)',
|
||||
filter: 'contrast(106%) saturate(102%)',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Layer 3: Foreground Content (Left Text + Actions) */}
|
||||
<div
|
||||
className="container"
|
||||
style={{
|
||||
position: 'relative',
|
||||
zIndex: 5,
|
||||
flex: 1,
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'flex-end',
|
||||
paddingBottom: 'clamp(35px, 6vh, 65px)',
|
||||
minHeight: 'clamp(500px, 68vh, 650px)',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
ref={leftInfoRef}
|
||||
style={{
|
||||
maxWidth: '420px',
|
||||
position: 'relative',
|
||||
zIndex: 6,
|
||||
}}
|
||||
>
|
||||
{/* Handwritten Cursive "Hey, I'm" */}
|
||||
<div
|
||||
className="hero-left-anim"
|
||||
style={{
|
||||
fontFamily: "'Caveat', cursive",
|
||||
fontSize: 'clamp(2rem, 3.2vw, 2.9rem)',
|
||||
color: '#0284C7',
|
||||
lineHeight: 1,
|
||||
transform: 'rotate(-4deg)',
|
||||
transformOrigin: 'left bottom',
|
||||
marginBottom: '-8px',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
Hey, I’m
|
||||
</div>
|
||||
|
||||
{/* Bold Name "Lorem Ipsum" */}
|
||||
<h1
|
||||
className="hero-left-anim font-display"
|
||||
style={{
|
||||
fontSize: 'clamp(2.6rem, 4.4vw, 4.1rem)',
|
||||
fontWeight: 800,
|
||||
color: '#11100F',
|
||||
letterSpacing: '-0.035em',
|
||||
lineHeight: 1,
|
||||
marginBottom: '16px',
|
||||
}}
|
||||
>
|
||||
Lorem Ipsum
|
||||
</h1>
|
||||
|
||||
{/* Subtitle statement from screenshot */}
|
||||
<p
|
||||
className="hero-left-anim"
|
||||
style={{
|
||||
fontSize: 'clamp(1rem, 1.25vw, 1.22rem)',
|
||||
color: '#262421',
|
||||
fontWeight: 500,
|
||||
lineHeight: 1.35,
|
||||
marginBottom: '32px',
|
||||
}}
|
||||
>
|
||||
Lorem Ipsum.
|
||||
</p>
|
||||
|
||||
{/* Location / Meta from screenshot */}
|
||||
<div
|
||||
className="hero-left-anim"
|
||||
style={{
|
||||
fontFamily: 'var(--font-mono)',
|
||||
fontSize: '0.72rem',
|
||||
letterSpacing: '0.14em',
|
||||
color: '#6e6961',
|
||||
lineHeight: 1.6,
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 600,
|
||||
}}
|
||||
>
|
||||
<div>BASED IN THE PHILIPPINES</div>
|
||||
<div>WORKING WORLDWIDE</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{/* Bottom Scroll For More Bar */}
|
||||
<div
|
||||
style={{
|
||||
position: 'relative',
|
||||
zIndex: 6,
|
||||
paddingBottom: '20px',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
cursor: 'pointer',
|
||||
}}
|
||||
onClick={scrollToNext}
|
||||
>
|
||||
<span
|
||||
style={{
|
||||
fontFamily: 'var(--font-mono)',
|
||||
fontSize: '0.68rem',
|
||||
letterSpacing: '0.22em',
|
||||
color: '#0284C7',
|
||||
fontWeight: 700,
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '6px',
|
||||
}}
|
||||
>
|
||||
SCROLL FOR MORE
|
||||
</span>
|
||||
<div style={{ color: '#0284C7', animation: 'arrowBounce 1.4s infinite' }}>
|
||||
<ArrowDown size={18} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Seamless Transition Shadow into Dark Sections Below */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
height: '40px',
|
||||
background: 'linear-gradient(to bottom, rgba(245, 242, 235, 0) 0%, rgba(11, 10, 9, 0.4) 100%)',
|
||||
pointerEvents: 'none',
|
||||
zIndex: 4,
|
||||
}}
|
||||
/>
|
||||
|
||||
<style>{`
|
||||
@keyframes arrowBounce {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(6px); }
|
||||
}
|
||||
@keyframes pulseDot {
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.4; transform: scale(0.85); }
|
||||
}
|
||||
`}</style>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
142
src/components/Navbar.tsx
Normal file
142
src/components/Navbar.tsx
Normal file
@@ -0,0 +1,142 @@
|
||||
import { useState, useEffect } from 'react';
|
||||
|
||||
export const Navbar = () => {
|
||||
const [scrolled, setScrolled] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
const handleScroll = () => {
|
||||
setScrolled(window.scrollY > 40);
|
||||
};
|
||||
window.addEventListener('scroll', handleScroll, { passive: true });
|
||||
return () => window.removeEventListener('scroll', handleScroll);
|
||||
}, []);
|
||||
|
||||
const scrollTo = (id: string) => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) {
|
||||
el.scrollIntoView({ behavior: 'smooth' });
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<header
|
||||
style={{
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: '100%',
|
||||
zIndex: 1000,
|
||||
padding: '14px 0',
|
||||
transform: scrolled ? 'translateY(0)' : 'translateY(-100%)',
|
||||
opacity: scrolled ? 1 : 0,
|
||||
pointerEvents: scrolled ? 'auto' : 'none',
|
||||
transition: 'all 0.4s cubic-bezier(0.16, 1, 0.3, 1)',
|
||||
backgroundColor: 'rgba(11, 10, 9, 0.92)',
|
||||
backdropFilter: 'blur(16px)',
|
||||
WebkitBackdropFilter: 'blur(16px)',
|
||||
borderBottom: '1px solid var(--border-subtle)',
|
||||
}}
|
||||
>
|
||||
<div className="container" style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between' }}>
|
||||
{/* Brand Monogram */}
|
||||
<a
|
||||
href="#top"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
}}
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'baseline',
|
||||
gap: '8px',
|
||||
textDecoration: 'none',
|
||||
color: 'inherit',
|
||||
}}
|
||||
>
|
||||
<span
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '1.25rem',
|
||||
fontWeight: 800,
|
||||
letterSpacing: '-0.02em',
|
||||
color: 'var(--text-primary)',
|
||||
}}
|
||||
>
|
||||
WMOC
|
||||
</span>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.68rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
· CEO & FOUNDER
|
||||
</span>
|
||||
</a>
|
||||
|
||||
{/* Desktop Nav Links */}
|
||||
<nav
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '28px',
|
||||
}}
|
||||
className="desktop-nav"
|
||||
>
|
||||
<button
|
||||
onClick={() => scrollTo('projects')}
|
||||
style={navLinkStyle}
|
||||
>
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>01</span> Fleet & Systems
|
||||
</button>
|
||||
<button
|
||||
onClick={() => scrollTo('behind')}
|
||||
style={navLinkStyle}
|
||||
>
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>02</span> Executive Mandate
|
||||
</button>
|
||||
<button
|
||||
onClick={() => scrollTo('process')}
|
||||
style={navLinkStyle}
|
||||
>
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>03</span> Protocol
|
||||
</button>
|
||||
<button
|
||||
onClick={() => scrollTo('proof')}
|
||||
style={navLinkStyle}
|
||||
>
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>04</span> Fleet Metrics
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<style>{`
|
||||
@media (max-width: 820px) {
|
||||
.desktop-nav {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</header>
|
||||
);
|
||||
};
|
||||
|
||||
const navLinkStyle: React.CSSProperties = {
|
||||
background: 'none',
|
||||
border: 'none',
|
||||
color: 'var(--text-muted)',
|
||||
fontFamily: 'var(--font-mono)',
|
||||
fontSize: '0.8rem',
|
||||
letterSpacing: '0.08em',
|
||||
textTransform: 'uppercase',
|
||||
cursor: 'pointer',
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
gap: '6px',
|
||||
transition: 'color 0.25s ease',
|
||||
padding: '6px 0',
|
||||
};
|
||||
260
src/components/ProcessSection.tsx
Normal file
260
src/components/ProcessSection.tsx
Normal file
@@ -0,0 +1,260 @@
|
||||
import { useRef, useState } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { FileSearch, ShieldCheck, FileCheck2, Anchor, Radar } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
interface Step {
|
||||
num: string;
|
||||
name: string;
|
||||
headline: string;
|
||||
description: string;
|
||||
icon: React.ElementType;
|
||||
items: string[];
|
||||
}
|
||||
|
||||
const steps: Step[] = [
|
||||
{
|
||||
num: '01',
|
||||
name: 'Pre-Joining Intake',
|
||||
headline: 'Audit 20+ maritime credentials in under 90 seconds.',
|
||||
description: 'Every seafarer’s Seaman’s Book (SIRB), biometric passport, Yellow Fever certification, and medical fitness certificates are verified using AI-driven verification against national maritime registry standards.',
|
||||
icon: FileSearch,
|
||||
items: ['Automated OCR Document Extraction', 'Biometric Passport & Face Match', 'MARINA / National Registry Check', 'Tamper & Fraud Detection Filters'],
|
||||
},
|
||||
{
|
||||
num: '02',
|
||||
name: 'STCW Validation',
|
||||
headline: 'Verify competencies against Cruise Safe Manning requirements.',
|
||||
description: 'We cross-check Certificates of Competency (CoC) and proficiency against vessel-specific requirements—from passenger crowd management for luxury cruise staff to advanced propulsion ratings for technical officers.',
|
||||
icon: ShieldCheck,
|
||||
items: ['STCW 2010 Manila Amendments Audit', 'Cruise Passenger Crowd Safety Check', 'Medical Fitness (ENG1) Certification', 'Vessel Safe Manning Document Match'],
|
||||
},
|
||||
{
|
||||
num: '03',
|
||||
name: 'Flag State Gateway',
|
||||
headline: 'Accelerated endorsements across Panama, Bahamas, and Liberia.',
|
||||
description: 'WMOC maintains direct digital pipelines with leading maritime administrations, securing official Certificates of Receipt of Application (CRA) within 24 hours to prevent costly port embarkation delays.',
|
||||
icon: FileCheck2,
|
||||
items: ['Direct Flag State API Integration', '24-Hour CRA Endorsement SLA', 'Consular Authentication & Apostille', 'Seafarer Identity Document (SID) Sync'],
|
||||
},
|
||||
{
|
||||
num: '04',
|
||||
name: 'Port Clearance',
|
||||
headline: 'Assemble digital port clearance packets before crew flights depart.',
|
||||
description: 'Crew manifests, OK-to-Board credentials, US C1/D transit visas, and port agent dossiers are bundled and electronically delivered to port state controllers, immigration authorities, and ship captains.',
|
||||
icon: Anchor,
|
||||
items: ['US C1/D & Schengen Transit Packet', 'Master Flight & Gangway Manifest', 'Port Agent Electronic Clearance', 'USCG / Paris MoU Pre-Arrival File'],
|
||||
},
|
||||
{
|
||||
num: '05',
|
||||
name: 'Sea-Duty Watchdog',
|
||||
headline: 'Continuous 90/60/30-day automated expiration defense.',
|
||||
description: 'WMOC telemetry monitors crew credentials 24/7. When medicals or STCW endorsements approach expiration, automated alerts notify manning superintendents and cruise purser departments months ahead.',
|
||||
icon: Radar,
|
||||
items: ['Automated 90/60/30-Day Alert Triggers', 'Onboard Refresher Scheduling', 'MLC 2006 Seafarer Rights Audit', 'Seamless Sign-On / Sign-Off Logistics'],
|
||||
},
|
||||
];
|
||||
|
||||
export const ProcessSection = () => {
|
||||
const sectionRef = useRef<HTMLDivElement>(null);
|
||||
const [activeStep, setActiveStep] = useState(0);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
gsap.from('.step-card', {
|
||||
scrollTrigger: {
|
||||
trigger: sectionRef.current,
|
||||
start: 'top 75%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 40,
|
||||
opacity: 0,
|
||||
duration: 0.8,
|
||||
stagger: 0.12,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
});
|
||||
},
|
||||
{ scope: sectionRef }
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={sectionRef}
|
||||
id="process"
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingTop: 'var(--space-2xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
borderTop: '1px solid var(--border-subtle)',
|
||||
borderBottom: '1px solid var(--border-subtle)',
|
||||
}}
|
||||
>
|
||||
<div className="container">
|
||||
{/* Eyebrow */}
|
||||
<div style={{ marginBottom: 'clamp(32px, 6vw, 64px)' }}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num">03</span>
|
||||
<span className="divider">/</span>
|
||||
<span>MARITIME DOCUMENT LIFECYCLE</span>
|
||||
</div>
|
||||
|
||||
<h2
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-h1)',
|
||||
color: 'var(--text-primary)',
|
||||
textTransform: 'lowercase',
|
||||
marginBottom: '1rem',
|
||||
lineHeight: 1.05,
|
||||
}}
|
||||
>
|
||||
zero-defect crew processing.{' '}
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>from shore to gangway.</span>
|
||||
</h2>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: 'var(--text-body-lg)',
|
||||
color: 'var(--text-muted)',
|
||||
maxWidth: '780px',
|
||||
fontWeight: 300,
|
||||
lineHeight: 1.6,
|
||||
}}
|
||||
>
|
||||
Under Yanz Cruz’s leadership, WMOC operates an unbending 5-stage compliance protocol ensuring every seafarer's documentation is verified, endorsed, and ready for immediate shipboard embarkation.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Stepped Interactive Grid */}
|
||||
<div
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(280px, 1fr))',
|
||||
gap: '16px',
|
||||
}}
|
||||
>
|
||||
{steps.map((step, idx) => {
|
||||
const Icon = step.icon;
|
||||
const isSelected = activeStep === idx;
|
||||
return (
|
||||
<div
|
||||
key={step.num}
|
||||
className="step-card"
|
||||
onClick={() => setActiveStep(idx)}
|
||||
style={{
|
||||
backgroundColor: isSelected ? 'var(--bg-surface-elevated)' : 'var(--bg-deep)',
|
||||
border: isSelected ? '1px solid var(--accent-crimson-bright)' : '1px solid var(--border-subtle)',
|
||||
padding: '32px 28px',
|
||||
borderRadius: '3px',
|
||||
cursor: 'pointer',
|
||||
position: 'relative',
|
||||
transition: 'all 0.3s ease',
|
||||
boxShadow: isSelected ? '0 15px 40px rgba(56, 189, 248, 0.2)' : 'none',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
marginBottom: '20px',
|
||||
}}
|
||||
>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '1.25rem',
|
||||
fontWeight: 800,
|
||||
color: isSelected ? 'var(--accent-crimson-bright)' : 'var(--text-dim)',
|
||||
}}
|
||||
>
|
||||
{step.num}
|
||||
</span>
|
||||
<div
|
||||
style={{
|
||||
width: '36px',
|
||||
height: '36px',
|
||||
borderRadius: '50%',
|
||||
backgroundColor: isSelected ? 'var(--accent-crimson)' : 'rgba(247, 244, 238, 0.05)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
color: isSelected ? '#ffffff' : 'var(--text-muted)',
|
||||
transition: 'all 0.25s ease',
|
||||
}}
|
||||
>
|
||||
<Icon size={18} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '1.6rem',
|
||||
color: 'var(--text-primary)',
|
||||
textTransform: 'lowercase',
|
||||
marginBottom: '8px',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{step.name}
|
||||
</h3>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: '0.98rem',
|
||||
color: '#ffffff',
|
||||
fontWeight: 600,
|
||||
lineHeight: 1.4,
|
||||
marginBottom: '12px',
|
||||
}}
|
||||
>
|
||||
{step.headline}
|
||||
</p>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: '0.88rem',
|
||||
color: 'var(--text-muted)',
|
||||
lineHeight: 1.6,
|
||||
marginBottom: '20px',
|
||||
}}
|
||||
>
|
||||
{step.description}
|
||||
</p>
|
||||
|
||||
{/* Sub deliverables */}
|
||||
<div style={{ borderTop: '1px solid var(--border-subtle)', paddingTop: '16px' }}>
|
||||
<ul style={{ listStyle: 'none', display: 'flex', flexDirection: 'column', gap: '8px' }}>
|
||||
{step.items.map((it, itIdx) => (
|
||||
<li
|
||||
key={itIdx}
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.74rem',
|
||||
color: isSelected ? 'var(--text-primary)' : 'var(--text-dim)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '8px',
|
||||
}}
|
||||
>
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>➔</span>
|
||||
<span>{it}</span>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
508
src/components/ProjectsShowcase.tsx
Normal file
508
src/components/ProjectsShowcase.tsx
Normal file
@@ -0,0 +1,508 @@
|
||||
import { useRef, useState } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { ExternalLink, CheckCircle2 } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
interface Project {
|
||||
id: string;
|
||||
number: string;
|
||||
category: string;
|
||||
title: string;
|
||||
headline: string;
|
||||
description: string;
|
||||
metrics: { label: string; value: string }[];
|
||||
stack: string[];
|
||||
image: string;
|
||||
deliverables: string[];
|
||||
}
|
||||
|
||||
const projects: Project[] = [
|
||||
{
|
||||
id: 'oceanus-core',
|
||||
number: '01',
|
||||
category: 'Global Cruise Fleet Document Vault',
|
||||
title: 'Oceanus Seafarer Core Platform',
|
||||
headline: 'Continuous STCW compliance and biometric crew manifests for 42 luxury mega-cruise vessels.',
|
||||
description: 'Engineered WMOC’s flagship shipboard document management engine. Replaced disjointed paper binders with an encrypted biometric seaman document vault, automated PSC clearance pre-checks, and instantaneous flag state auditing across international cruise itineraries.',
|
||||
metrics: [
|
||||
{ label: 'Active Seafarers', value: '48,000+' },
|
||||
{ label: 'PSC Clearance', value: '100%' },
|
||||
{ label: 'Embarkation Turnaround', value: '-75%' },
|
||||
],
|
||||
stack: ['STCW Audit Engine', 'Biometric Seaman Vault', 'Vessel Manifest Sync', 'IMO Falcon API'],
|
||||
image: '/assets/cruise-ship-ocean.jpg',
|
||||
deliverables: ['Biometric Seafarer Passport Vault', 'Instant Port State Audit Dashboard', 'Vessel Offline Sync Cache', 'Embarkation Roster Automation'],
|
||||
},
|
||||
{
|
||||
id: 'aegis-flag-state',
|
||||
number: '02',
|
||||
category: 'Automated Regulatory Verification System',
|
||||
title: 'Aegis Flag-State Endorsement Pipeline',
|
||||
headline: 'Direct digital consular integration across Panama, Bahamas, and Marshall Islands.',
|
||||
description: 'Eliminated 3-week endorsement delays for international crewing agencies. Engineered an automated document verification pipeline that pre-validates medical fitness, CoCs, and seaman service records against maritime administration databases in real time.',
|
||||
metrics: [
|
||||
{ label: 'Endorsement SLA', value: '24 Hours' },
|
||||
{ label: 'Verification Accuracy', value: '99.98%' },
|
||||
{ label: 'Maritime Flags', value: '65+ Flags' },
|
||||
],
|
||||
stack: ['Flag State Consular API', 'OCR Document Extraction', 'Biometric Auth', 'Maritime Seal Verification'],
|
||||
image: '/assets/seafarer-doc-system.jpg',
|
||||
deliverables: ['Automated Flag Endorsement Gateway', 'Real-Time Maritime Registry Lookup', 'Expedited Visa Packet Generator', 'Consular Audit Log'],
|
||||
},
|
||||
{
|
||||
id: 'celestial-logistics',
|
||||
number: '03',
|
||||
category: 'Global Cruise Manning & Embarkation Architecture',
|
||||
title: 'Celestial Horizons Logistics Engine',
|
||||
headline: 'Turnkey seafarer readiness tracking for 12,000+ cruise officers, hospitality, and engineering crew.',
|
||||
description: 'Architected an end-to-end embarkation readiness engine for premier cruise lines. Tracks US C1/D visas, Schengen maritime transits, Yellow Fever vaccinations, and sea-service records, guaranteeing zero crew detention at international embarkation ports.',
|
||||
metrics: [
|
||||
{ label: 'Active Cruise Ships', value: '28 Ships' },
|
||||
{ label: 'Arrival Readiness', value: '99.95%' },
|
||||
{ label: 'Port Detentions', value: 'Zero' },
|
||||
],
|
||||
stack: ['Cruise Logistics Engine', 'Visa Expiry Watchdog', 'USCG / Paris MoU Validator', 'Port Agent Portal'],
|
||||
image: '/assets/cruise-ship-sunset.jpg',
|
||||
deliverables: ['Global Flight & Port Join Manifests', 'Automated Visa Expiry Watchdog', 'Digital Port Packet Bundler', '24/7 Port State Support Line'],
|
||||
},
|
||||
{
|
||||
id: 'bridgesync-terminal',
|
||||
number: '04',
|
||||
category: 'Shipboard Officer Terminal & Offline Pass',
|
||||
title: 'BridgeSync Digital Seaman’s Book',
|
||||
headline: 'Military-grade, offline-first crew credential management deployed directly on the vessel bridge.',
|
||||
description: 'Designed for master mariners, chief engineers, and crewing superintendents operating in deep-ocean zones without satellite internet. Delivers sub-second local credential lookup and tamper-proof cryptographic verification during high-stakes maritime audits.',
|
||||
metrics: [
|
||||
{ label: 'Offline Lookup', value: '< 0.2s' },
|
||||
{ label: 'Data Security', value: 'AES-256' },
|
||||
{ label: 'Officer Adoption', value: '98.6%' },
|
||||
],
|
||||
stack: ['Offline-First Edge Cache', 'Bridge ECDIS Interop', 'NFC / QR Seafarer Pass', 'Satellite Sync Protocol'],
|
||||
image: '/assets/cruise-ship-bridge.jpg',
|
||||
deliverables: ['Bridge Audit Station UI', 'Offline Credential Cache', 'Captain Sign-Off Module', 'Satellite Bandwidth Optimizer'],
|
||||
},
|
||||
];
|
||||
|
||||
export const ProjectsShowcase = () => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
const [activeModal, setActiveModal] = useState<Project | null>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
// High-end cruise ship and maritime image parallax
|
||||
gsap.utils.toArray<HTMLElement>('.project-card-image').forEach((img) => {
|
||||
gsap.fromTo(
|
||||
img,
|
||||
{ yPercent: -15, scale: 1.08 },
|
||||
{
|
||||
yPercent: 15,
|
||||
scale: 1.02,
|
||||
ease: 'none',
|
||||
scrollTrigger: {
|
||||
trigger: img.closest('.project-row'),
|
||||
start: 'top bottom',
|
||||
end: 'bottom top',
|
||||
scrub: 1.2,
|
||||
},
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
// Staggered row reveals
|
||||
gsap.utils.toArray<HTMLElement>('.project-row').forEach((row) => {
|
||||
gsap.from(row, {
|
||||
opacity: 0,
|
||||
y: 50,
|
||||
duration: 0.9,
|
||||
ease: 'power3.out',
|
||||
scrollTrigger: {
|
||||
trigger: row,
|
||||
start: 'top 85%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
{ scope: containerRef }
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={containerRef}
|
||||
id="projects"
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingTop: 'var(--space-2xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
}}
|
||||
>
|
||||
<div className="container">
|
||||
{/* Header */}
|
||||
<div style={{ marginBottom: 'clamp(40px, 8vw, 80px)' }}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num">01</span>
|
||||
<span className="divider">/</span>
|
||||
<span>FLAGSHIP DEPLOYMENTS & MARITIME SYSTEMS</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
alignItems: 'flex-end',
|
||||
flexWrap: 'wrap',
|
||||
gap: '24px',
|
||||
}}
|
||||
>
|
||||
<h2
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-h1)',
|
||||
textTransform: 'lowercase',
|
||||
maxWidth: '850px',
|
||||
lineHeight: 1.05,
|
||||
}}
|
||||
>
|
||||
enterprise systems that move{' '}
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>global fleets</span>
|
||||
</h2>
|
||||
|
||||
<p
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.82rem',
|
||||
color: 'var(--text-muted)',
|
||||
letterSpacing: '0.1em',
|
||||
textTransform: 'uppercase',
|
||||
}}
|
||||
>
|
||||
[ 4 Mission-Critical Maritime Platforms ]
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Project Case Rows */}
|
||||
<div style={{ display: 'flex', flexDirection: 'column', gap: 'clamp(64px, 10vw, 120px)' }}>
|
||||
{projects.map((proj, idx) => {
|
||||
const isEven = idx % 2 === 1;
|
||||
return (
|
||||
<div
|
||||
key={proj.id}
|
||||
className="project-row"
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: isEven ? 'minmax(0, 1.15fr) minmax(0, 1fr)' : 'minmax(0, 1fr) minmax(0, 1.15fr)',
|
||||
gap: 'clamp(32px, 6vw, 70px)',
|
||||
alignItems: 'center',
|
||||
}}
|
||||
>
|
||||
{/* Visual Column */}
|
||||
<div
|
||||
style={{
|
||||
order: isEven ? 2 : 1,
|
||||
position: 'relative',
|
||||
borderRadius: '3px',
|
||||
overflow: 'hidden',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
boxShadow: '0 25px 60px rgba(0,0,0,0.6)',
|
||||
}}
|
||||
className="project-card-wrapper"
|
||||
>
|
||||
<div style={{ overflow: 'hidden', aspectRatio: '16/10' }}>
|
||||
<img
|
||||
src={proj.image}
|
||||
alt={proj.title}
|
||||
className="project-card-image"
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '115%',
|
||||
objectFit: 'cover',
|
||||
display: 'block',
|
||||
filter: 'contrast(106%) saturate(90%)',
|
||||
transition: 'transform 0.6s var(--ease-cinematic), filter 0.5s ease',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{/* Corner Accent Badge */}
|
||||
<div
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: '16px',
|
||||
left: '16px',
|
||||
backgroundColor: 'rgba(11, 10, 9, 0.85)',
|
||||
backdropFilter: 'blur(8px)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: '6px 14px',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.72rem',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
fontWeight: 700,
|
||||
letterSpacing: '0.12em',
|
||||
}}
|
||||
>
|
||||
CASE {proj.number}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Content Column */}
|
||||
<div style={{ order: isEven ? 1 : 2 }}>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.78rem',
|
||||
letterSpacing: '0.16em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 700,
|
||||
marginBottom: '10px',
|
||||
}}
|
||||
>
|
||||
{proj.category}
|
||||
</div>
|
||||
|
||||
<h3
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'clamp(2rem, 3.2vw, 3rem)',
|
||||
color: 'var(--text-primary)',
|
||||
lineHeight: 1.1,
|
||||
marginBottom: '16px',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{proj.title}
|
||||
</h3>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: '1.1rem',
|
||||
color: '#ffffff',
|
||||
lineHeight: 1.45,
|
||||
fontWeight: 600,
|
||||
marginBottom: '14px',
|
||||
}}
|
||||
>
|
||||
{proj.headline}
|
||||
</p>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: '0.95rem',
|
||||
color: 'var(--text-muted)',
|
||||
lineHeight: 1.65,
|
||||
marginBottom: '28px',
|
||||
}}
|
||||
>
|
||||
{proj.description}
|
||||
</p>
|
||||
|
||||
{/* Key Metrics Grid */}
|
||||
<div
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(3, 1fr)',
|
||||
gap: '12px',
|
||||
padding: '16px 20px',
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
borderRadius: '2px',
|
||||
marginBottom: '28px',
|
||||
}}
|
||||
>
|
||||
{proj.metrics.map((m, mIdx) => (
|
||||
<div key={mIdx}>
|
||||
<div
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'clamp(1.2rem, 1.8vw, 1.6rem)',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
fontWeight: 800,
|
||||
lineHeight: 1.1,
|
||||
}}
|
||||
>
|
||||
{m.value}
|
||||
</div>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.65rem',
|
||||
letterSpacing: '0.1em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginTop: '2px',
|
||||
}}
|
||||
>
|
||||
{m.label}
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Stack Tags & Action Button */}
|
||||
<div style={{ display: 'flex', alignItems: 'center', justifyContent: 'space-between', flexWrap: 'wrap', gap: '16px' }}>
|
||||
<div style={{ display: 'flex', gap: '8px', flexWrap: 'wrap' }}>
|
||||
{proj.stack.slice(0, 3).map((tag, tIdx) => (
|
||||
<span
|
||||
key={tIdx}
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.68rem',
|
||||
letterSpacing: '0.08em',
|
||||
color: 'var(--text-muted)',
|
||||
backgroundColor: 'var(--bg-surface-elevated)',
|
||||
padding: '4px 10px',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
{tag}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
|
||||
<button
|
||||
onClick={() => setActiveModal(proj)}
|
||||
className="btn-outline"
|
||||
style={{ padding: '8px 18px', fontSize: '0.75rem' }}
|
||||
>
|
||||
<span>Deep Dive</span>
|
||||
<ExternalLink size={13} />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Case Study Detail Modal */}
|
||||
{activeModal && (
|
||||
<div
|
||||
style={{
|
||||
position: 'fixed',
|
||||
inset: 0,
|
||||
backgroundColor: 'rgba(11, 10, 9, 0.92)',
|
||||
backdropFilter: 'blur(20px)',
|
||||
zIndex: 2000,
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
padding: '24px',
|
||||
}}
|
||||
onClick={() => setActiveModal(null)}
|
||||
>
|
||||
<div
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-surface-elevated)',
|
||||
border: '1px solid var(--border-light)',
|
||||
maxWidth: '680px',
|
||||
width: '100%',
|
||||
borderRadius: '3px',
|
||||
padding: 'clamp(28px, 5vw, 48px)',
|
||||
position: 'relative',
|
||||
boxShadow: '0 30px 90px rgba(0,0,0,0.8)',
|
||||
}}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.75rem',
|
||||
letterSpacing: '0.18em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
fontWeight: 700,
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
CASE ARCHITECTURE // {activeModal.number}
|
||||
</div>
|
||||
|
||||
<h3
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '2.2rem',
|
||||
color: 'var(--text-primary)',
|
||||
marginBottom: '12px',
|
||||
}}
|
||||
>
|
||||
{activeModal.title}
|
||||
</h3>
|
||||
|
||||
<p style={{ fontSize: '1.05rem', color: 'var(--text-muted)', lineHeight: 1.6, marginBottom: '24px' }}>
|
||||
{activeModal.description}
|
||||
</p>
|
||||
|
||||
<div style={{ marginBottom: '28px' }}>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.72rem',
|
||||
letterSpacing: '0.14em',
|
||||
color: 'var(--text-dim)',
|
||||
textTransform: 'uppercase',
|
||||
marginBottom: '12px',
|
||||
}}
|
||||
>
|
||||
Engineered Deliverables:
|
||||
</div>
|
||||
<div style={{ display: 'grid', gridTemplateColumns: 'repeat(auto-fit, minmax(220px, 1fr))', gap: '10px' }}>
|
||||
{activeModal.deliverables.map((item, dIdx) => (
|
||||
<div
|
||||
key={dIdx}
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
gap: '8px',
|
||||
fontSize: '0.88rem',
|
||||
color: 'var(--text-primary)',
|
||||
}}
|
||||
>
|
||||
<CheckCircle2 size={15} style={{ color: 'var(--accent-crimson-bright)' }} />
|
||||
<span>{item}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style={{ display: 'flex', justifyContent: 'flex-end', gap: '12px' }}>
|
||||
<button
|
||||
onClick={() => setActiveModal(null)}
|
||||
className="btn-cinematic"
|
||||
style={{ padding: '12px 28px', fontSize: '0.8rem' }}
|
||||
>
|
||||
Close Case
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<style>{`
|
||||
@media (max-width: 900px) {
|
||||
.project-row {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
.project-card-wrapper {
|
||||
order: 1 !important;
|
||||
}
|
||||
}
|
||||
`}</style>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
275
src/components/ResultsSection.tsx
Normal file
275
src/components/ResultsSection.tsx
Normal file
@@ -0,0 +1,275 @@
|
||||
import { useRef } from 'react';
|
||||
import { useGSAP } from '@gsap/react';
|
||||
import gsap from 'gsap';
|
||||
import { Star, Quote } from 'lucide-react';
|
||||
|
||||
gsap.registerPlugin(useGSAP);
|
||||
|
||||
interface Testimonial {
|
||||
quote: string;
|
||||
author: string;
|
||||
role: string;
|
||||
impact: string;
|
||||
}
|
||||
|
||||
const testimonials: Testimonial[] = [
|
||||
{
|
||||
quote: "When our luxury mega-liners rotate 1,800 seafarers in the Port of Miami, turnaround is measured in minutes. Yanz and the WMOC platform transformed our embarkation compliance from a nightmare of paper binders to an effortless digital scan. Flawless 100% PSC clearance across all voyages.",
|
||||
author: "Capt. Henrik Lindqvist",
|
||||
role: "VP of Fleet Operations, Nordic Luxury Cruise Lines",
|
||||
impact: "ZERO CRUISE EMBARKATION DELAYS",
|
||||
},
|
||||
{
|
||||
quote: "WMOC’s automated flag state pipeline cut our seaman endorsement issuance from three weeks to under 24 hours. Yanz Cruz’s deep mastery of STCW regulations and consular interfaces saved our crewing agency millions in delayed flight and hotel standby costs.",
|
||||
author: "Maria Santos De Leon",
|
||||
role: "Managing Director, Pacific Seafarer Crewing Corp",
|
||||
impact: "24-HR FLAG ENDORSEMENT SLA",
|
||||
},
|
||||
{
|
||||
quote: "During unannounced US Coast Guard port inspections, having our bridge officers’ credentials instantly verifiable through WMOC gave inspectors zero room for citations. This platform is the gold standard for global maritime crewing.",
|
||||
author: "Capt. Julian Vance",
|
||||
role: "Master Mariner & Cruise Fleet Safety Inspector",
|
||||
impact: "100% USCG AUDIT PASS RATE",
|
||||
},
|
||||
];
|
||||
|
||||
export const ResultsSection = () => {
|
||||
const containerRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
useGSAP(
|
||||
() => {
|
||||
const mm = gsap.matchMedia();
|
||||
mm.add('(prefers-reduced-motion: no-preference)', () => {
|
||||
gsap.from('.stat-card', {
|
||||
scrollTrigger: {
|
||||
trigger: '.stats-row',
|
||||
start: 'top 80%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 30,
|
||||
opacity: 0,
|
||||
duration: 0.8,
|
||||
stagger: 0.12,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
|
||||
gsap.from('.testimonial-card', {
|
||||
scrollTrigger: {
|
||||
trigger: '.testimonials-grid',
|
||||
start: 'top 80%',
|
||||
toggleActions: 'play none none reverse',
|
||||
},
|
||||
y: 40,
|
||||
opacity: 0,
|
||||
duration: 0.9,
|
||||
stagger: 0.15,
|
||||
ease: 'power3.out',
|
||||
});
|
||||
});
|
||||
},
|
||||
{ scope: containerRef }
|
||||
);
|
||||
|
||||
return (
|
||||
<section
|
||||
ref={containerRef}
|
||||
id="proof"
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingTop: 'var(--space-2xl)',
|
||||
paddingBottom: 'var(--space-2xl)',
|
||||
backgroundColor: 'var(--bg-deep)',
|
||||
}}
|
||||
>
|
||||
<div className="container">
|
||||
{/* Header */}
|
||||
<div style={{ marginBottom: 'clamp(36px, 6vw, 64px)' }}>
|
||||
<div className="editorial-badge">
|
||||
<span className="num">04</span>
|
||||
<span className="divider">/</span>
|
||||
<span>FLEET COMPLIANCE & VERIFIABLE METRICS</span>
|
||||
</div>
|
||||
|
||||
<h2
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'var(--text-h1)',
|
||||
color: 'var(--text-primary)',
|
||||
textTransform: 'lowercase',
|
||||
marginBottom: '1rem',
|
||||
lineHeight: 1.05,
|
||||
}}
|
||||
>
|
||||
operational precision.{' '}
|
||||
<span style={{ color: 'var(--accent-crimson-bright)' }}>verifiable maritime proof.</span>
|
||||
</h2>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: 'var(--text-body-lg)',
|
||||
color: 'var(--text-muted)',
|
||||
maxWidth: '740px',
|
||||
fontWeight: 300,
|
||||
lineHeight: 1.6,
|
||||
}}
|
||||
>
|
||||
Under Yanz Cruz’s executive direction, WMOC’s document systems safeguard international shipping fleets and luxury cruise operators against catastrophic port delays and regulatory detentions.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Global Impact Numbers */}
|
||||
<div
|
||||
className="stats-row"
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(220px, 1fr))',
|
||||
gap: '16px',
|
||||
marginBottom: 'var(--space-xl)',
|
||||
}}
|
||||
>
|
||||
{stats.map((st, sIdx) => (
|
||||
<div
|
||||
key={sIdx}
|
||||
className="stat-card"
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-surface)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: '28px 24px',
|
||||
borderRadius: '2px',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: 'clamp(2.4rem, 4vw, 3.6rem)',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
fontWeight: 800,
|
||||
lineHeight: 1,
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
{st.value}
|
||||
</div>
|
||||
<div
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.74rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--text-primary)',
|
||||
textTransform: 'uppercase',
|
||||
fontWeight: 600,
|
||||
marginBottom: '4px',
|
||||
}}
|
||||
>
|
||||
{st.label}
|
||||
</div>
|
||||
<p style={{ fontSize: '0.82rem', color: 'var(--text-dim)', lineHeight: 1.4 }}>
|
||||
{st.sub}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Testimonials Grid */}
|
||||
<div
|
||||
className="testimonials-grid"
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(320px, 1fr))',
|
||||
gap: '24px',
|
||||
}}
|
||||
>
|
||||
{testimonials.map((t, idx) => (
|
||||
<div
|
||||
key={idx}
|
||||
className="testimonial-card"
|
||||
style={{
|
||||
backgroundColor: 'var(--bg-surface-elevated)',
|
||||
border: '1px solid var(--border-subtle)',
|
||||
padding: '36px 32px',
|
||||
borderRadius: '3px',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
justifyContent: 'space-between',
|
||||
position: 'relative',
|
||||
}}
|
||||
>
|
||||
<div>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
marginBottom: '20px',
|
||||
}}
|
||||
>
|
||||
<div style={{ display: 'flex', gap: '3px', color: 'var(--accent-crimson-bright)' }}>
|
||||
{[...Array(5)].map((_, i) => (
|
||||
<Star key={i} size={14} fill="currentColor" />
|
||||
))}
|
||||
</div>
|
||||
<Quote size={20} style={{ color: 'var(--text-dim)', opacity: 0.5 }} />
|
||||
</div>
|
||||
|
||||
<p
|
||||
style={{
|
||||
fontSize: '1rem',
|
||||
color: 'var(--text-primary)',
|
||||
lineHeight: 1.65,
|
||||
fontStyle: 'italic',
|
||||
marginBottom: '28px',
|
||||
}}
|
||||
>
|
||||
"{t.quote}"
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div style={{ borderTop: '1px solid var(--border-subtle)', paddingTop: '18px' }}>
|
||||
<div
|
||||
className="font-display"
|
||||
style={{
|
||||
fontSize: '1.05rem',
|
||||
color: '#ffffff',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{t.author}
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
fontSize: '0.82rem',
|
||||
color: 'var(--text-muted)',
|
||||
marginBottom: '8px',
|
||||
}}
|
||||
>
|
||||
{t.role}
|
||||
</div>
|
||||
<span
|
||||
className="font-mono"
|
||||
style={{
|
||||
fontSize: '0.68rem',
|
||||
letterSpacing: '0.12em',
|
||||
color: 'var(--accent-crimson-bright)',
|
||||
backgroundColor: 'rgba(56, 189, 248, 0.12)',
|
||||
padding: '3px 8px',
|
||||
borderRadius: '2px',
|
||||
fontWeight: 700,
|
||||
}}
|
||||
>
|
||||
{t.impact}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
const stats = [
|
||||
{ value: '120,000+', label: 'Seafarer Documents Audited', sub: 'Across STCW, SID, medical, and flag state competencies' },
|
||||
{ value: '99.99%', label: 'Port State Control Pass Rate', sub: 'Zero detention incidents across USCG, Paris MoU & Tokyo MoU' },
|
||||
{ value: '42 Ships', label: 'Active Mega-Cruise Vessels', sub: 'Synchronized daily with real-time crew manifests and rosters' },
|
||||
{ value: '< 24 Hrs', label: 'Flag Endorsement Turnaround', sub: 'Guaranteed fast-track consular CRA issuance across top flags' },
|
||||
];
|
||||
46
src/components/SmoothScroll.tsx
Normal file
46
src/components/SmoothScroll.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import { useEffect } from 'react';
|
||||
import Lenis from 'lenis';
|
||||
import gsap from 'gsap';
|
||||
import { ScrollTrigger } from 'gsap/ScrollTrigger';
|
||||
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
export const SmoothScroll = ({ children }: { children: React.ReactNode }) => {
|
||||
useEffect(() => {
|
||||
// Respect user's reduced-motion preference
|
||||
const prefersReducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
||||
if (prefersReducedMotion) {
|
||||
return;
|
||||
}
|
||||
|
||||
const lenis = new Lenis({
|
||||
duration: 1.2,
|
||||
easing: (t) => Math.min(1, 1.001 - Math.pow(2, -10 * t)),
|
||||
orientation: 'vertical',
|
||||
gestureOrientation: 'vertical',
|
||||
smoothWheel: true,
|
||||
wheelMultiplier: 0.9,
|
||||
touchMultiplier: 1.2,
|
||||
infinite: false,
|
||||
});
|
||||
|
||||
// Synchronize Lenis scroll updates with ScrollTrigger
|
||||
lenis.on('scroll', ScrollTrigger.update);
|
||||
|
||||
// Drive Lenis RAF inside GSAP's optimized ticker loop
|
||||
const tickerCallback = (time: number) => {
|
||||
lenis.raf(time * 1000);
|
||||
};
|
||||
|
||||
gsap.ticker.add(tickerCallback);
|
||||
gsap.ticker.lagSmoothing(0);
|
||||
|
||||
return () => {
|
||||
lenis.destroy();
|
||||
gsap.ticker.remove(tickerCallback);
|
||||
ScrollTrigger.getAll().forEach(st => st.kill());
|
||||
};
|
||||
}, []);
|
||||
|
||||
return <>{children}</>;
|
||||
};
|
||||
357
src/index.css
Normal file
357
src/index.css
Normal file
@@ -0,0 +1,357 @@
|
||||
/* --------------------------------------------------
|
||||
YANZ CRUZ — CINEMATIC EDITORIAL DESIGN SYSTEM
|
||||
-------------------------------------------------- */
|
||||
|
||||
:root {
|
||||
/* Color Tokens */
|
||||
--bg-deep: #0b0a09;
|
||||
--bg-surface: #141312;
|
||||
--bg-surface-elevated: #1a1917;
|
||||
--bg-card: rgba(26, 25, 23, 0.65);
|
||||
--bg-chalk: #f4efe6;
|
||||
|
||||
--text-primary: #ffffff;
|
||||
--text-muted: #cbd5e1;
|
||||
--text-dim: #94a3b8;
|
||||
--text-inverted: #0b0a09;
|
||||
|
||||
--accent-crimson: #0284c7;
|
||||
--accent-crimson-deep: #0369a1;
|
||||
--accent-crimson-bright: #38bdf8;
|
||||
--accent-glow: rgba(56, 189, 248, 0.35);
|
||||
|
||||
--border-subtle: rgba(255, 255, 255, 0.08);
|
||||
--border-light: rgba(255, 255, 255, 0.16);
|
||||
--border-accent: rgba(56, 189, 248, 0.4);
|
||||
|
||||
/* Typography Scales */
|
||||
--font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
--font-mono: 'JetBrains Mono', monospace;
|
||||
--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
||||
|
||||
--text-hero: clamp(3.2rem, 8.5vw, 8rem);
|
||||
--text-h1: clamp(2.4rem, 5.5vw, 5.2rem);
|
||||
--text-h2: clamp(1.8rem, 3.8vw, 3.4rem);
|
||||
--text-h3: clamp(1.35rem, 2.2vw, 2.1rem);
|
||||
--text-body-lg: clamp(1.1rem, 1.4vw, 1.35rem);
|
||||
--text-body: 1rem;
|
||||
--text-sm: 0.875rem;
|
||||
--text-meta: 0.75rem;
|
||||
|
||||
/* Spacing */
|
||||
--space-unit: 8px;
|
||||
--space-xs: 8px;
|
||||
--space-sm: 16px;
|
||||
--space-md: 24px;
|
||||
--space-lg: 48px;
|
||||
--space-xl: 80px;
|
||||
--space-2xl: 120px;
|
||||
--space-3xl: 160px;
|
||||
|
||||
/* Container */
|
||||
--container-max: 1280px;
|
||||
--container-pad: clamp(1.25rem, 4vw, 3.5rem);
|
||||
|
||||
/* Transitions */
|
||||
--ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
|
||||
--ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
|
||||
--duration-normal: 0.5s;
|
||||
}
|
||||
|
||||
/* Base Reset */
|
||||
*, *::before, *::after {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--font-body);
|
||||
background-color: var(--bg-deep);
|
||||
color: var(--text-primary);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
overflow-x: hidden;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
position: relative;
|
||||
background-color: var(--bg-deep);
|
||||
color: var(--text-primary);
|
||||
overflow-x: hidden;
|
||||
selection-background-color: var(--accent-crimson);
|
||||
selection-color: #ffffff;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background: var(--accent-crimson);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------
|
||||
HERO SECTION FONT PRESERVATION (UNTOUCHED)
|
||||
-------------------------------------------------- */
|
||||
#top,
|
||||
#top * {
|
||||
--font-display: 'Syne', sans-serif;
|
||||
--font-mono: 'Space Grotesk', monospace;
|
||||
--font-body: 'Plus Jakarta Sans', sans-serif;
|
||||
}
|
||||
|
||||
#top .font-display {
|
||||
font-family: 'Syne', sans-serif !important;
|
||||
}
|
||||
|
||||
#top .font-mono {
|
||||
font-family: 'Space Grotesk', monospace !important;
|
||||
}
|
||||
|
||||
/* Lenis Recommended CSS */
|
||||
html.lenis, html.lenis body {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.lenis.lenis-smooth {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
|
||||
.lenis.lenis-smooth [data-lenis-prevent] {
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.lenis.lenis-stopped {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.lenis.lenis-scrolling iframe {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Subtle Film Grain Overlay */
|
||||
.grain-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-image: url('/assets/grain.svg');
|
||||
background-repeat: repeat;
|
||||
pointer-events: none;
|
||||
opacity: 0.055;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
/* Ambient Radial Glows */
|
||||
.ambient-glow {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
border-radius: 50%;
|
||||
filter: blur(120px);
|
||||
z-index: 0;
|
||||
opacity: 0.45;
|
||||
}
|
||||
|
||||
.ambient-glow-crimson {
|
||||
background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(56, 189, 248, 0) 70%);
|
||||
}
|
||||
|
||||
.ambient-glow-dim {
|
||||
background: radial-gradient(circle, rgba(40, 36, 32, 0.7) 0%, rgba(11, 10, 9, 0) 70%);
|
||||
}
|
||||
|
||||
/* Layout Utilities */
|
||||
.container {
|
||||
width: 100%;
|
||||
max-width: var(--container-max);
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: var(--container-pad);
|
||||
padding-right: var(--container-pad);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
/* Section Header / Eyebrow */
|
||||
.editorial-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-meta);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.2em;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 1.25rem;
|
||||
}
|
||||
|
||||
.editorial-badge .num {
|
||||
color: var(--accent-crimson-bright);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.editorial-badge .divider {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
/* Typography Helpers */
|
||||
.font-display {
|
||||
font-family: var(--font-display);
|
||||
line-height: 0.95;
|
||||
letter-spacing: -0.035em;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.font-mono {
|
||||
font-family: var(--font-mono);
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
|
||||
.text-crimson {
|
||||
color: var(--accent-crimson-bright);
|
||||
}
|
||||
|
||||
.text-gradient-crimson {
|
||||
background: linear-gradient(135deg, #ffffff 40%, var(--accent-crimson-bright) 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.text-muted {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* Reveal Mask Container */
|
||||
.mask-line {
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mask-line-inner {
|
||||
display: block;
|
||||
transform: translateY(105%);
|
||||
}
|
||||
|
||||
/* Buttons and Magnetic Links */
|
||||
.btn-cinematic {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
background-color: var(--accent-crimson);
|
||||
color: #ffffff;
|
||||
padding: 16px 36px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
text-decoration: none;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
transition: transform 0.35s var(--ease-cinematic), background-color 0.3s ease, box-shadow 0.35s ease;
|
||||
box-shadow: 0 8px 30px rgba(2, 132, 199, 0.3);
|
||||
}
|
||||
|
||||
.btn-cinematic:hover {
|
||||
background-color: var(--accent-crimson-bright);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 12px 40px rgba(56, 189, 248, 0.45);
|
||||
}
|
||||
|
||||
.btn-cinematic:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.btn-outline {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
background-color: transparent;
|
||||
color: var(--text-primary);
|
||||
padding: 15px 32px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.14em;
|
||||
text-decoration: none;
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-outline:hover {
|
||||
border-color: var(--accent-crimson-bright);
|
||||
color: var(--accent-crimson-bright);
|
||||
background-color: rgba(56, 189, 248, 0.08);
|
||||
}
|
||||
|
||||
/* Pulsing Status Dot */
|
||||
.status-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
background: rgba(20, 19, 18, 0.85);
|
||||
border: 1px solid var(--border-subtle);
|
||||
padding: 6px 14px;
|
||||
border-radius: 100px;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.pulse-dot {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--accent-crimson-bright);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.pulse-dot::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -3px;
|
||||
left: -3px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
border: 1.5px solid var(--accent-crimson-bright);
|
||||
animation: pulsePing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
|
||||
}
|
||||
|
||||
@keyframes pulsePing {
|
||||
0% { transform: scale(0.7); opacity: 1; }
|
||||
75%, 100% { transform: scale(1.9); opacity: 0; }
|
||||
}
|
||||
|
||||
/* Accessibility Focus States */
|
||||
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
|
||||
outline: 2px solid var(--accent-crimson-bright);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
/* Reduced Motion Mode */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*, *::before, *::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
|
||||
.mask-line-inner {
|
||||
transform: none !important;
|
||||
}
|
||||
}
|
||||
14
src/main.tsx
Normal file
14
src/main.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
if (import.meta.env.DEV) {
|
||||
import("react-grab");
|
||||
}
|
||||
|
||||
import { StrictMode } from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import './index.css'
|
||||
import App from './App.tsx'
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
<App />
|
||||
</StrictMode>,
|
||||
)
|
||||
Reference in New Issue
Block a user