Initial commit

This commit is contained in:
2026-01-15 14:05:51 +02:00
commit e4640a5884
18 changed files with 2352 additions and 0 deletions

View File

@@ -0,0 +1,171 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
function CompaniesSection() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
const companies = [
{
name: "Sanofi",
logo: "https://www.jobs.nestjs.com/img/logos/sanofi.png",
url: "https://www.sanofi.com/"
},
{
name: "Adidas",
logo: "https://www.jobs.nestjs.com/img/logos/adidas.svg",
url: "https://adidas.com/"
},
{
name: "Autodesk",
logo: "https://www.jobs.nestjs.com/img/logos/autodesk.png",
url: "https://www.autodesk.com/"
},
{
name: "Mercedes",
logo: "https://www.jobs.nestjs.com/img/logos/mercedes.png",
url: "https://www.mercedes-benz.com/"
},
{
name: "Red Hat",
logo: "https://www.jobs.nestjs.com/img/logos/red-hat.svg",
url: "https://www.redhat.com/"
},
{
name: "Roche",
logo: "https://www.jobs.nestjs.com/img/logos/roche-logo.png",
url: "https://roche.com/"
},
{
name: "IBM",
logo: "https://www.jobs.nestjs.com/img/logos/ibm.svg",
url: "https://www.ibm.com/"
},
{
name: "Decathlon",
logo: "https://www.jobs.nestjs.com/img/logos/decathlon.png",
url: "https://www.decathlon.com/"
},
{
name: "BMW",
logo: "https://www.jobs.nestjs.com/img/logos/bmw.svg",
url: ""
},
{
name: "Société Générale",
logo: "https://www.jobs.nestjs.com/img/logos/societe-generale-logo.png",
url: "https://www.societegenerale.fr/"
},
{
name: "TotalEnergies",
logo: "https://www.jobs.nestjs.com/img/logos/totalenergies.svg",
url: "https://totalenergies.com/"
},
{
name: "REWE",
logo: "https://www.jobs.nestjs.com/img/logos/rewe.svg",
url: "https://www.rewe-digital.com/"
},
{
name: "Capgemini",
logo: "https://www.jobs.nestjs.com/img/logos/capgemini.svg",
url: "https://capgemini.com/"
},
{
name: "JetBrains",
logo: "https://www.jobs.nestjs.com/img/logos/jetbrains.svg",
url: "https://www.jetbrains.com/"
},
{
name: "GitLab",
logo: "https://www.jobs.nestjs.com/img/logos/gitlab.png",
url: "https://about.gitlab.com/"
}
];
const CompanyLogo = ({ company, index }) => {
const LogoComponent = shouldReduce ? 'div' : motion.div;
const logoProps = shouldReduce ? {} : fadeUpPreset(index * 0.05, 0.6);
const logoElement = (
<img
src={company.logo}
alt={company.name}
className="company-logo"
/>
);
return (
<LogoComponent
{...logoProps}
className="flex items-center justify-center p-4"
>
{company.url ? (
<a href={company.url} target="_blank" rel="noopener noreferrer">
{logoElement}
</a>
) : (
logoElement
)}
</LogoComponent>
);
};
if (shouldReduce) {
return (
<section className="py-20 bg-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center mb-12">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Who is using Nest?
</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Nest is proudly powering a large ecosystem of enterprises and products out there. Wanna see your logo here? <a href="#" className="text-nest-pink hover:underline">Find out more</a>.
</p>
</div>
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8">
{companies.map((company, index) => (
<CompanyLogo key={company.name} company={company} index={index} />
))}
</div>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="py-20 bg-white"
>
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<motion.div
{...fadeUpPreset(0.2, 1.0)}
className="text-center mb-12"
>
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Who is using Nest?
</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Nest is proudly powering a large ecosystem of enterprises and products out there. Wanna see your logo here? <a href="#" className="text-nest-pink hover:underline">Find out more</a>.
</p>
</motion.div>
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8">
{companies.map((company, index) => (
<CompanyLogo key={company.name} company={company} index={index} />
))}
</div>
</div>
</motion.section>
);
}
export default CompaniesSection;

43
src/components/Footer.js Normal file
View File

@@ -0,0 +1,43 @@
import React from 'react';
import { Github } from 'lucide-react';
function Footer() {
return (
<footer className="bg-white py-12 border-t border-gray-200">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center space-y-4">
<div className="flex items-center justify-center space-x-4 text-gray-400">
<Github className="w-5 h-5" />
<span>𝕏</span>
</div>
<div className="text-sm text-gray-600">
<p>
Official NestJS Consulting <a href="https://trilon.io" className="text-nest-pink hover:underline">Trilon.io</a>
</p>
</div>
<div className="text-sm text-gray-600">
<p>
Copyright © 2017-2026 <a href="#" className="text-nest-pink hover:underline">Kamil Mysliwiec</a>
</p>
</div>
<div className="flex items-center justify-center space-x-4 text-sm">
<a href="#" className="text-nest-pink hover:underline">Terms of Service</a>
<span className="text-gray-400">|</span>
<a href="#" className="text-nest-pink hover:underline">Privacy Policy</a>
</div>
<div className="text-sm text-gray-500">
<p>
Designed by <a href="#" className="text-nest-pink hover:underline">Jakub Staron</a>
</p>
</div>
</div>
</div>
</footer>
);
}
export default Footer;

73
src/components/Header.js Normal file
View File

@@ -0,0 +1,73 @@
import React, { useState } from 'react';
import { Menu, X, ChevronDown, Github } from 'lucide-react';
function Header() {
const [isMenuOpen, setIsMenuOpen] = useState(false);
const [isResourcesOpen, setIsResourcesOpen] = useState(false);
return (
<header className="fixed top-0 left-0 right-0 z-50 bg-black text-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex items-center justify-between h-16">
{/* Logo */}
<div className="flex items-center">
<a href="/" className="flex items-center">
<img
src="https://www.jobs.nestjs.com/img/logo-small-gradient.svg"
alt="NestJS - A progressive Node.js framework"
className="h-8 w-8"
/>
</a>
</div>
{/* Desktop Navigation */}
<nav className="hidden md:flex items-center space-x-8">
<a href="/" className="text-white hover:text-gray-300 transition-colors">HOME</a>
<a href="/jobs" className="text-white hover:text-gray-300 transition-colors">JOBS</a>
<a href="/signin" className="text-white hover:text-gray-300 transition-colors">SIGN IN</a>
<div className="relative">
<button
onClick={() => setIsResourcesOpen(!isResourcesOpen)}
className="flex items-center text-white hover:text-gray-300 transition-colors"
>
RESOURCES
<ChevronDown className="ml-1 w-4 h-4" />
</button>
</div>
<a href="https://github.com/nestjs" className="text-white hover:text-gray-300 transition-colors">
<Github className="w-5 h-5" />
</a>
<span className="text-white">𝕏</span>
</nav>
{/* Mobile menu button */}
<div className="md:hidden">
<button
onClick={() => setIsMenuOpen(!isMenuOpen)}
className="text-white hover:text-gray-300"
>
{isMenuOpen ? <X className="w-6 h-6" /> : <Menu className="w-6 h-6" />}
</button>
</div>
</div>
</div>
{/* Mobile Navigation */}
{isMenuOpen && (
<div className="md:hidden bg-black border-t border-gray-800">
<div className="px-2 pt-2 pb-3 space-y-1">
<a href="/" className="block px-3 py-2 text-white hover:text-gray-300">HOME</a>
<a href="/jobs" className="block px-3 py-2 text-white hover:text-gray-300">JOBS</a>
<a href="/signin" className="block px-3 py-2 text-white hover:text-gray-300">SIGN IN</a>
<a href="/resources" className="block px-3 py-2 text-white hover:text-gray-300">RESOURCES</a>
</div>
</div>
)}
</header>
);
}
export default Header;

89
src/components/Hero.js Normal file
View File

@@ -0,0 +1,89 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
function Hero() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
if (shouldReduce) {
return (
<section className="relative min-h-screen bg-black text-white overflow-hidden">
<div className="absolute inset-0">
<div className="absolute inset-0 bg-gradient-to-r from-black via-black to-transparent z-10"></div>
<div className="absolute right-0 top-0 w-1/2 h-full">
<div className="w-full h-full bg-gradient-to-l from-gray-900 to-transparent opacity-50"></div>
</div>
</div>
<div className="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-32 pb-20">
<div className="max-w-2xl">
<h1 className="text-4xl md:text-6xl font-bold mb-6 leading-tight">
Official NestJS job board
</h1>
<p className="text-xl md:text-2xl text-gray-300 mb-8 leading-relaxed">
Discover companies looking for developers with NestJS experience and find your next role.
</p>
<div className="flex flex-col sm:flex-row gap-4">
<button className="btn-primary">
Post a job
</button>
<button className="btn-secondary">
Browse open positions
</button>
</div>
</div>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="relative min-h-screen bg-black text-white overflow-hidden"
>
<div className="absolute inset-0">
<div className="absolute inset-0 bg-gradient-to-r from-black via-black to-transparent z-10"></div>
<div className="absolute right-0 top-0 w-1/2 h-full">
<div className="w-full h-full bg-gradient-to-l from-gray-900 to-transparent opacity-50"></div>
</div>
</div>
<div className="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-32 pb-20">
<div className="max-w-2xl">
<motion.h1
{...fadeUpPreset(0.2, 1.0)}
className="text-4xl md:text-6xl font-bold mb-6 leading-tight"
>
Official NestJS job board
</motion.h1>
<motion.p
{...fadeUpPreset(0.3, 1.0)}
className="text-xl md:text-2xl text-gray-300 mb-8 leading-relaxed"
>
Discover companies looking for developers with NestJS experience and find your next role.
</motion.p>
<motion.div
{...fadeUpPreset(0.4, 1.0)}
className="flex flex-col sm:flex-row gap-4"
>
<button className="btn-primary">
Post a job
</button>
<button className="btn-secondary">
Browse open positions
</button>
</motion.div>
</div>
</div>
</motion.section>
);
}
export default Hero;

View File

@@ -0,0 +1,309 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
import { Search, Globe, MapPin, Clock } from 'lucide-react';
function JobsSection() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
const jobs = [
{
id: 1,
title: "Senior Product Engineer",
company: "Pandektes",
location: "Remote",
country: "🇩🇰 Denmark",
salary: "$120k - $150k",
time: "4 hours ago",
featured: false,
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/65dc7731-a4bb-4bbe-bc20-7401691a9ec5.png"
},
{
id: 2,
title: "Senior Software Engineer",
company: "Trilon",
location: "Remote",
country: "🌏 Worldwide",
salary: "",
time: "25 days ago",
featured: true,
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/612b8b42-9610-43b1-92bd-15373110159f.png"
}
];
const expiredJobs = [
{
id: 3,
title: "Full-Stack Developer Angular/NestJS/PHP/MySQL",
company: "Nylon Technology",
location: "Remote",
country: "🇺🇸 United States, Continental...",
salary: "$100k - $130k",
time: "a month ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/c54da9a9-c7aa-4d9a-838d-1021b684d957.jpeg"
},
{
id: 4,
title: "Full Stack Typescript Developer (NextJs, NestJs)",
company: "ClickTech",
location: "Remote",
country: "🌏 Worldwide",
salary: "$40k - $50k",
time: "2 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/3e62a3bc-0bae-4f8b-8e5a-4b14db5ef4ab.jpeg"
},
{
id: 5,
title: "NestJS Testing Specialist (Freelancer/Consultant)",
company: "Kapital",
location: "🌏 Worldwide",
country: "",
salary: "",
time: "2 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/6e1385c3-7fd6-4444-8fc4-908d4aef24be.png"
},
{
id: 6,
title: "Full-Stack Engineer (Mid-Senior) [NestJS, NextJS]",
company: "OASYS NOW",
location: "🇳🇱 Netherlands, Delft",
country: "",
salary: "$60k - $80k",
time: "2 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/696a0fcf-7bdb-44e2-bb03-dbdb0fb2e18b.jpeg"
},
{
id: 7,
title: "Senior Backend Engineer",
company: "Pandektes",
location: "Remote",
country: "🇩🇰 Denmark, Copenhagen",
salary: "$110k - $140k",
time: "2 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/65dc7731-a4bb-4bbe-bc20-7401691a9ec5.png"
},
{
id: 8,
title: "Backend NestJS Developer",
company: "ClickTech",
location: "Remote",
country: "🌏 Worldwide",
salary: "$40k - $60k",
time: "6 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/3e62a3bc-0bae-4f8b-8e5a-4b14db5ef4ab.jpeg"
},
{
id: 9,
title: "Senior Software Engineer",
company: "Pippen AI",
location: "Remote",
country: "🇨🇦 Canada, Toronto",
salary: "$70k - $100k",
time: "6 months ago",
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/69388f1e-2dff-444b-9fc4-9f035bbf654f.jpeg"
}
];
const JobCard = ({ job, index, isExpired = false }) => {
const CardComponent = shouldReduce ? 'div' : motion.div;
const cardProps = shouldReduce ? {} : fadeUpPreset(index * 0.08, 0.6);
return (
<CardComponent
{...cardProps}
className={`job-card ${job.featured ? 'featured-job' : ''} ${isExpired ? 'opacity-75' : ''}`}
>
<div className="flex items-start justify-between">
<div className="flex items-start space-x-4">
<div className="w-12 h-12 bg-gray-100 rounded-lg flex items-center justify-center overflow-hidden">
<img src={job.logo} alt={job.company} className="w-full h-full object-contain" />
</div>
<div className="flex-1">
<div className="flex items-center gap-2 mb-1">
<h3 className="font-semibold text-gray-900">{job.title}</h3>
{job.featured && (
<span className="bg-nest-pink text-white text-xs px-2 py-1 rounded-full"> FEATURED</span>
)}
</div>
<p className="text-gray-600 mb-2">at {job.company}</p>
<div className="flex flex-wrap items-center gap-4 text-sm text-gray-500">
<span className="flex items-center gap-1">
<Globe className="w-4 h-4" />
{job.location}
</span>
{job.country && (
<span className="flex items-center gap-1">
<MapPin className="w-4 h-4" />
{job.country}
</span>
)}
{job.salary && (
<span className="text-green-600 font-medium">
💰 {job.salary}
</span>
)}
</div>
</div>
</div>
<div className="text-sm text-gray-400 flex items-center gap-1">
<Clock className="w-4 h-4" />
{job.time}
</div>
</div>
</CardComponent>
);
};
if (shouldReduce) {
return (
<section className="py-20 bg-gray-50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center mb-12">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Find your next opportunity
</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Browse through our list of NestJS jobs, find your perfect match and apply. Use filters for more accurate results!
</p>
</div>
<div className="bg-nest-pink text-white p-6 rounded-lg mb-8">
<h3 className="text-lg font-semibold mb-2">Get NestJS jobs right to your inbox</h3>
<p className="mb-4">Subscribe to our newsletter to get notified.</p>
<div className="flex gap-2">
<input
type="email"
placeholder="Enter your email"
className="flex-1 px-4 py-2 rounded text-gray-900"
/>
<button className="bg-white text-nest-pink px-6 py-2 rounded font-medium hover:bg-gray-100 transition-colors">
Subscribe
</button>
</div>
</div>
<div className="mb-8">
<div className="flex flex-wrap gap-4 mb-6">
<div className="flex items-center gap-2">
<Search className="w-5 h-5 text-gray-400" />
<span className="text-gray-600">Search</span>
</div>
<div className="flex items-center gap-2">
<Globe className="w-5 h-5 text-gray-400" />
<span className="text-gray-600">Location</span>
</div>
<div className="flex items-center gap-2">
<span className="text-gray-600">🥁 Remote</span>
</div>
<div className="flex items-center gap-2">
<span className="text-gray-600">📈 Salary</span>
</div>
</div>
</div>
<div className="space-y-4 mb-12">
{jobs.map((job, index) => (
<JobCard key={job.id} job={job} index={index} />
))}
</div>
<div className="mb-8">
<h3 className="text-xl font-semibold text-gray-900 mb-6">Expired listings</h3>
<div className="space-y-4">
{expiredJobs.map((job, index) => (
<JobCard key={job.id} job={job} index={index} isExpired={true} />
))}
</div>
</div>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="py-20 bg-gray-50"
>
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<motion.div
{...fadeUpPreset(0.2, 1.0)}
className="text-center mb-12"
>
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Find your next opportunity
</h2>
<p className="text-xl text-gray-600 max-w-3xl mx-auto">
Browse through our list of NestJS jobs, find your perfect match and apply. Use filters for more accurate results!
</p>
</motion.div>
<motion.div
{...fadeUpPreset(0.3, 1.0)}
className="bg-nest-pink text-white p-6 rounded-lg mb-8"
>
<h3 className="text-lg font-semibold mb-2">Get NestJS jobs right to your inbox</h3>
<p className="mb-4">Subscribe to our newsletter to get notified.</p>
<div className="flex gap-2">
<input
type="email"
placeholder="Enter your email"
className="flex-1 px-4 py-2 rounded text-gray-900"
/>
<button className="bg-white text-nest-pink px-6 py-2 rounded font-medium hover:bg-gray-100 transition-colors">
Subscribe
</button>
</div>
</motion.div>
<motion.div
{...fadeUpPreset(0.4, 1.0)}
className="mb-8"
>
<div className="flex flex-wrap gap-4 mb-6">
<div className="flex items-center gap-2">
<Search className="w-5 h-5 text-gray-400" />
<span className="text-gray-600">Search</span>
</div>
<div className="flex items-center gap-2">
<Globe className="w-5 h-5 text-gray-400" />
<span className="text-gray-600">Location</span>
</div>
<div className="flex items-center gap-2">
<span className="text-gray-600">🥁 Remote</span>
</div>
<div className="flex items-center gap-2">
<span className="text-gray-600">📈 Salary</span>
</div>
</div>
</motion.div>
<div className="space-y-4 mb-12">
{jobs.map((job, index) => (
<JobCard key={job.id} job={job} index={index} />
))}
</div>
<motion.div
{...fadeUpPreset(0.5, 1.0)}
className="mb-8"
>
<h3 className="text-xl font-semibold text-gray-900 mb-6">Expired listings</h3>
<div className="space-y-4">
{expiredJobs.map((job, index) => (
<JobCard key={job.id} job={job} index={index} isExpired={true} />
))}
</div>
</motion.div>
</div>
</motion.section>
);
}
export default JobsSection;

View File

@@ -0,0 +1,85 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
import { Send } from 'lucide-react';
function Newsletter() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
if (shouldReduce) {
return (
<section className="py-20 bg-gray-50">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="text-center mb-8">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Join our Newsletter
</h2>
<p className="text-xl text-gray-600">
Subscribe to stay up to date with the latest Nest updates, features, and videos!
</p>
</div>
<div className="max-w-md mx-auto">
<div className="flex gap-2">
<input
type="email"
placeholder="Enter your email"
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-nest-pink"
/>
<button className="bg-nest-pink text-white px-6 py-3 rounded-lg hover:bg-red-600 transition-colors flex items-center gap-2">
<Send className="w-4 h-4" />
Subscribe
</button>
</div>
</div>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="py-20 bg-gray-50"
>
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<motion.div
{...fadeUpPreset(0.2, 1.0)}
className="text-center mb-8"
>
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
Join our Newsletter
</h2>
<p className="text-xl text-gray-600">
Subscribe to stay up to date with the latest Nest updates, features, and videos!
</p>
</motion.div>
<motion.div
{...fadeUpPreset(0.3, 1.0)}
className="max-w-md mx-auto"
>
<div className="flex gap-2">
<input
type="email"
placeholder="Enter your email"
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-nest-pink"
/>
<button className="bg-nest-pink text-white px-6 py-3 rounded-lg hover:bg-red-600 transition-colors flex items-center gap-2">
<Send className="w-4 h-4" />
Subscribe
</button>
</div>
</motion.div>
</div>
</motion.section>
);
}
export default Newsletter;

View File

@@ -0,0 +1,61 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
function SupportSection() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
if (shouldReduce) {
return (
<section className="py-20 bg-black text-white">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 className="text-3xl md:text-4xl font-bold mb-6">
Does your team need additional support?
</h2>
<p className="text-xl text-gray-300 max-w-4xl mx-auto mb-8">
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
</p>
<button className="btn-primary">
Contact us
</button>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="py-20 bg-black text-white"
>
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<motion.h2
{...fadeUpPreset(0.2, 1.0)}
className="text-3xl md:text-4xl font-bold mb-6"
>
Does your team need additional support?
</motion.h2>
<motion.p
{...fadeUpPreset(0.3, 1.0)}
className="text-xl text-gray-300 max-w-4xl mx-auto mb-8"
>
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
</motion.p>
<motion.button
{...fadeUpPreset(0.4, 1.0)}
className="btn-primary"
>
Contact us
</motion.button>
</div>
</motion.section>
);
}
export default SupportSection;

View File

@@ -0,0 +1,77 @@
import React from 'react';
import { motion, useReducedMotion } from 'framer-motion';
function TeamAugmentation() {
const shouldReduce = useReducedMotion();
const fadeUpPreset = (delay = 0, duration = 1.2) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, amount: 0.2 },
transition: { delay, duration, ease: "easeOut" }
});
if (shouldReduce) {
return (
<section className="py-20 bg-nest-pink text-white relative overflow-hidden">
<div className="absolute inset-0">
<div className="absolute inset-0 bg-gradient-to-r from-nest-pink to-red-600"></div>
</div>
<div className="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid lg:grid-cols-2 gap-12 items-center">
<div>
<h2 className="text-3xl md:text-4xl font-bold mb-6">
Team augmentation. By your side at every step
</h2>
<p className="text-xl mb-8 text-pink-100">
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
</p>
<button className="bg-white text-nest-pink px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition-colors">
Contact us to learn more
</button>
</div>
<div className="relative">
<div className="w-full h-96 bg-gradient-to-br from-pink-400 to-red-500 rounded-lg opacity-20"></div>
</div>
</div>
</div>
</section>
);
}
return (
<motion.section
{...fadeUpPreset(0.1, 1.0)}
className="py-20 bg-nest-pink text-white relative overflow-hidden"
>
<div className="absolute inset-0">
<div className="absolute inset-0 bg-gradient-to-r from-nest-pink to-red-600"></div>
</div>
<div className="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid lg:grid-cols-2 gap-12 items-center">
<motion.div {...fadeUpPreset(0.2, 1.0)}>
<h2 className="text-3xl md:text-4xl font-bold mb-6">
Team augmentation. By your side at every step
</h2>
<p className="text-xl mb-8 text-pink-100">
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
</p>
<button className="bg-white text-nest-pink px-8 py-3 rounded-full font-semibold hover:bg-gray-100 transition-colors">
Contact us to learn more
</button>
</motion.div>
<motion.div
{...fadeUpPreset(0.3, 1.0)}
className="relative"
>
<div className="w-full h-96 bg-gradient-to-br from-pink-400 to-red-500 rounded-lg opacity-20"></div>
</motion.div>
</div>
</div>
</motion.section>
);
}
export default TeamAugmentation;