Initial commit
This commit is contained in:
1
.env.production
Normal file
1
.env.production
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DISABLE_ESLINT_PLUGIN=true
|
||||||
62
.gitea/workflows/build.yml
Normal file
62
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
branch:
|
||||||
|
description: 'Branch to build'
|
||||||
|
required: true
|
||||||
|
default: 'main'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: ${{ gitea.event.inputs.branch }}
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 24
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
npm install --no-audit --silent 2>&1 | tee install.log
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: '--max-old-space-size=4096'
|
||||||
|
|
||||||
|
- name: Build (react-scripts build)
|
||||||
|
env:
|
||||||
|
CI: 'false'
|
||||||
|
NODE_OPTIONS: '--max-old-space-size=4096'
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
npm run build 2>&1 | tee build.log
|
||||||
|
timeout-minutes: 5
|
||||||
|
|
||||||
|
- name: Verify build folder exists
|
||||||
|
run: test -d build || (echo "No build folder. Check build logs above."; exit 1)
|
||||||
|
|
||||||
|
- name: Upload logs on failure
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: build-logs
|
||||||
|
path: |
|
||||||
|
install.log
|
||||||
|
build.log
|
||||||
|
npm-debug.log*
|
||||||
|
if-no-files-found: ignore
|
||||||
|
|
||||||
|
- name: Build completed
|
||||||
|
if: success()
|
||||||
|
run: echo "Build completed successfully"
|
||||||
41
package.json
Normal file
41
package.json
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"name": "nestjs-jobs-website",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"private": true,
|
||||||
|
"dependencies": {
|
||||||
|
"react": "^18.3.1",
|
||||||
|
"react-dom": "^18.3.1",
|
||||||
|
"react-scripts": "^5.0.1",
|
||||||
|
"lucide-react": "^0.400.0",
|
||||||
|
"framer-motion": "^11.0.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"tailwindcss": "^3.4.0",
|
||||||
|
"postcss": "^8.4.0",
|
||||||
|
"autoprefixer": "^10.4.0"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"start": "react-scripts start",
|
||||||
|
"build": "react-scripts build",
|
||||||
|
"test": "react-scripts test",
|
||||||
|
"eject": "react-scripts eject"
|
||||||
|
},
|
||||||
|
"eslintConfig": {
|
||||||
|
"extends": [
|
||||||
|
"react-app",
|
||||||
|
"react-app/jest"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"browserslist": {
|
||||||
|
"production": [
|
||||||
|
">0.2%",
|
||||||
|
"not dead",
|
||||||
|
"not op_mini all"
|
||||||
|
],
|
||||||
|
"development": [
|
||||||
|
"last 1 chrome version",
|
||||||
|
"last 1 firefox version",
|
||||||
|
"last 1 safari version"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
6
postcss.config.js
Normal file
6
postcss.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {}
|
||||||
|
}
|
||||||
|
}
|
||||||
1235
public/index.html
Normal file
1235
public/index.html
Normal file
File diff suppressed because it is too large
Load Diff
26
src/App.js
Normal file
26
src/App.js
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import Header from './components/Header';
|
||||||
|
import Hero from './components/Hero';
|
||||||
|
import JobsSection from './components/JobsSection';
|
||||||
|
import TeamAugmentation from './components/TeamAugmentation';
|
||||||
|
import CompaniesSection from './components/CompaniesSection';
|
||||||
|
import SupportSection from './components/SupportSection';
|
||||||
|
import NewsletterSection from './components/NewsletterSection';
|
||||||
|
import Footer from './components/Footer';
|
||||||
|
|
||||||
|
function App() {
|
||||||
|
return (
|
||||||
|
<div className="min-h-screen bg-background text-foreground">
|
||||||
|
<Header />
|
||||||
|
<Hero />
|
||||||
|
<JobsSection />
|
||||||
|
<TeamAugmentation />
|
||||||
|
<CompaniesSection />
|
||||||
|
<SupportSection />
|
||||||
|
<NewsletterSection />
|
||||||
|
<Footer />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default App;
|
||||||
83
src/components/CompaniesSection.js
Normal file
83
src/components/CompaniesSection.js
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
|
const CompaniesSection = () => {
|
||||||
|
const companies = [
|
||||||
|
{ name: 'Sanofi', logo: 'https://www.jobs.nestjs.com/img/logos/sanofi.png', url: 'https://www.sanofi.com/' },
|
||||||
|
{ name: 'IBM', logo: 'https://www.jobs.nestjs.com/img/logos/ibm.svg', url: 'https://www.ibm.com/' },
|
||||||
|
{ name: 'BMW', logo: 'https://www.jobs.nestjs.com/img/logos/bmw.svg' },
|
||||||
|
{ name: 'Mercedes', logo: 'https://www.jobs.nestjs.com/img/logos/mercedes.png', url: 'https://www.mercedes-benz.com/' },
|
||||||
|
{ name: 'Société Générale', logo: 'https://www.jobs.nestjs.com/img/logos/societe-generale-logo.png', url: 'https://www.societegenerale.fr/' },
|
||||||
|
{ name: 'Decathlon', logo: 'https://www.jobs.nestjs.com/img/logos/decathlon.png', url: 'https://www.decathlon.com/' },
|
||||||
|
{ name: 'GitLab', logo: 'https://www.jobs.nestjs.com/img/logos/gitlab.png', url: 'https://about.gitlab.com/' },
|
||||||
|
{ name: 'Roche', logo: 'https://www.jobs.nestjs.com/img/logos/roche-logo.png', url: 'https://roche.com/' },
|
||||||
|
{ name: 'Adidas', logo: 'https://www.jobs.nestjs.com/img/logos/adidas.svg', url: 'https://adidas.com/' },
|
||||||
|
{ name: 'JetBrains', logo: 'https://www.jobs.nestjs.com/img/logos/jetbrains.svg', url: 'https://www.jetbrains.com/' },
|
||||||
|
{ name: 'TotalEnergies', logo: 'https://www.jobs.nestjs.com/img/logos/totalenergies.svg', url: 'https://totalenergies.com/' },
|
||||||
|
{ name: 'Autodesk', logo: 'https://www.jobs.nestjs.com/img/logos/autodesk.png', url: 'https://www.autodesk.com/' },
|
||||||
|
{ name: 'Red Hat', logo: 'https://www.jobs.nestjs.com/img/logos/red-hat.svg', url: 'https://www.redhat.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/' }
|
||||||
|
];
|
||||||
|
|
||||||
|
const CompanyLogo = ({ company }) => {
|
||||||
|
const logoElement = (
|
||||||
|
<img
|
||||||
|
src={company.logo}
|
||||||
|
alt={`${company.name} logo`}
|
||||||
|
className="company-logo"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (company.url) {
|
||||||
|
return (
|
||||||
|
<a href={company.url} target="_blank" rel="noopener noreferrer" className="block">
|
||||||
|
{logoElement}
|
||||||
|
</a>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return logoElement;
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section className="py-20 bg-card">
|
||||||
|
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="text-center mb-12"
|
||||||
|
>
|
||||||
|
<h2 className="text-3xl sm:text-4xl font-bold text-foreground mb-4">
|
||||||
|
Who is using Nest?
|
||||||
|
</h2>
|
||||||
|
<p className="text-lg text-foreground/70 max-w-2xl mx-auto">
|
||||||
|
Nest is proudly powering a large ecosystem of enterprises and products out there. Wanna see your logo here? Find out more.
|
||||||
|
</p>
|
||||||
|
</motion.div>
|
||||||
|
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8 items-center justify-items-center"
|
||||||
|
>
|
||||||
|
{companies.map((company, index) => (
|
||||||
|
<motion.div
|
||||||
|
key={company.name}
|
||||||
|
initial={{ opacity: 0, scale: 0.8 }}
|
||||||
|
whileInView={{ opacity: 1, scale: 1 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: index * 0.1 }}
|
||||||
|
>
|
||||||
|
<CompanyLogo company={company} />
|
||||||
|
</motion.div>
|
||||||
|
))}
|
||||||
|
</motion.div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default CompaniesSection;
|
||||||
53
src/components/Footer.js
Normal file
53
src/components/Footer.js
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { Github } from 'lucide-react';
|
||||||
|
|
||||||
|
const Footer = () => {
|
||||||
|
return (
|
||||||
|
<footer className="bg-background border-t border-accent py-12">
|
||||||
|
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<div className="text-center space-y-4">
|
||||||
|
{/* Social Links */}
|
||||||
|
<div className="flex items-center justify-center gap-6">
|
||||||
|
<a href="https://github.com/nestjs" className="text-foreground/60 hover:text-foreground transition-colors">
|
||||||
|
<Github className="h-5 w-5" />
|
||||||
|
</a>
|
||||||
|
<span className="text-foreground/60">X</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Links */}
|
||||||
|
<div className="space-y-2">
|
||||||
|
<p className="text-foreground/70">
|
||||||
|
Official NestJS Consulting{' '}
|
||||||
|
<a href="https://trilon.io" className="text-primary-cta hover:underline">
|
||||||
|
Trilon.io
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<p className="text-foreground/70">
|
||||||
|
Copyright © 2017-2026{' '}
|
||||||
|
<a href="#" className="text-primary-cta hover:underline">
|
||||||
|
Kamil Mysliwiec
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<div className="flex items-center justify-center gap-4 text-sm">
|
||||||
|
<a href="#" className="text-primary-cta hover:underline">
|
||||||
|
Terms of Service
|
||||||
|
</a>
|
||||||
|
<span className="text-foreground/40">|</span>
|
||||||
|
<a href="#" className="text-primary-cta hover:underline">
|
||||||
|
Privacy Policy
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p className="text-foreground/60 text-sm">
|
||||||
|
Designed by{' '}
|
||||||
|
<a href="#" className="text-primary-cta hover:underline">
|
||||||
|
Jakub Staron
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Footer;
|
||||||
70
src/components/Header.js
Normal file
70
src/components/Header.js
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
import React, { useState } from 'react';
|
||||||
|
import { Menu, X, Github } from 'lucide-react';
|
||||||
|
|
||||||
|
const Header = () => {
|
||||||
|
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<header className="fixed top-0 left-0 right-0 z-50 bg-black/90 backdrop-blur-sm">
|
||||||
|
<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-auto"
|
||||||
|
/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Desktop Navigation */}
|
||||||
|
<nav className="hidden md:flex items-center space-x-8">
|
||||||
|
<a href="#" className="text-white hover:text-primary-cta transition-colors">HOME</a>
|
||||||
|
<a href="#jobs" className="text-white hover:text-primary-cta transition-colors">JOBS</a>
|
||||||
|
<a href="#" className="text-white hover:text-primary-cta transition-colors">SIGN IN</a>
|
||||||
|
<div className="relative group">
|
||||||
|
<button className="text-white hover:text-primary-cta transition-colors flex items-center">
|
||||||
|
RESOURCES
|
||||||
|
<svg className="ml-1 h-4 w-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||||
|
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M19 9l-7 7-7-7" />
|
||||||
|
</svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<a href="https://github.com/nestjs" className="text-white hover:text-primary-cta transition-colors">
|
||||||
|
<Github className="h-5 w-5" />
|
||||||
|
</a>
|
||||||
|
<button className="text-white hover:text-primary-cta transition-colors">
|
||||||
|
<X className="h-5 w-5" />
|
||||||
|
</button>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
{/* Mobile menu button */}
|
||||||
|
<div className="md:hidden">
|
||||||
|
<button
|
||||||
|
onClick={() => setIsMenuOpen(!isMenuOpen)}
|
||||||
|
className="text-white hover:text-primary-cta transition-colors"
|
||||||
|
>
|
||||||
|
{isMenuOpen ? <X className="h-6 w-6" /> : <Menu className="h-6 w-6" />}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Mobile Navigation */}
|
||||||
|
{isMenuOpen && (
|
||||||
|
<div className="md:hidden">
|
||||||
|
<div className="px-2 pt-2 pb-3 space-y-1 bg-black/95 rounded-b-lg">
|
||||||
|
<a href="#" className="block px-3 py-2 text-white hover:text-primary-cta transition-colors">HOME</a>
|
||||||
|
<a href="#jobs" className="block px-3 py-2 text-white hover:text-primary-cta transition-colors">JOBS</a>
|
||||||
|
<a href="#" className="block px-3 py-2 text-white hover:text-primary-cta transition-colors">SIGN IN</a>
|
||||||
|
<a href="#" className="block px-3 py-2 text-white hover:text-primary-cta transition-colors">RESOURCES</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Header;
|
||||||
48
src/components/Hero.js
Normal file
48
src/components/Hero.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
|
const Hero = () => {
|
||||||
|
return (
|
||||||
|
<section className="relative min-h-screen flex items-center justify-center hero-bg">
|
||||||
|
{/* Dark overlay */}
|
||||||
|
<div className="absolute inset-0 bg-black/60"></div>
|
||||||
|
|
||||||
|
{/* Content */}
|
||||||
|
<div className="relative z-10 text-center px-4 sm:px-6 lg:px-8 max-w-4xl mx-auto">
|
||||||
|
<motion.h1
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
animate={{ opacity: 1, y: 0 }}
|
||||||
|
transition={{ duration: 0.8 }}
|
||||||
|
className="text-4xl sm:text-5xl lg:text-6xl font-bold text-white mb-6"
|
||||||
|
>
|
||||||
|
Official NestJS job board
|
||||||
|
</motion.h1>
|
||||||
|
|
||||||
|
<motion.p
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
animate={{ opacity: 1, y: 0 }}
|
||||||
|
transition={{ duration: 0.8, delay: 0.2 }}
|
||||||
|
className="text-lg sm:text-xl text-white/90 mb-8 max-w-2xl mx-auto"
|
||||||
|
>
|
||||||
|
Discover companies looking for developers with NestJS experience and find your next role.
|
||||||
|
</motion.p>
|
||||||
|
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
animate={{ opacity: 1, y: 0 }}
|
||||||
|
transition={{ duration: 0.8, delay: 0.4 }}
|
||||||
|
className="flex flex-col sm:flex-row gap-4 justify-center items-center"
|
||||||
|
>
|
||||||
|
<button className="btn-primary">
|
||||||
|
Post a job
|
||||||
|
</button>
|
||||||
|
<button className="btn-secondary">
|
||||||
|
Browse open positions
|
||||||
|
</button>
|
||||||
|
</motion.div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Hero;
|
||||||
190
src/components/JobsSection.js
Normal file
190
src/components/JobsSection.js
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
import { Search, Globe, MapPin, DollarSign } from 'lucide-react';
|
||||||
|
|
||||||
|
const JobsSection = () => {
|
||||||
|
const jobs = [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
title: "Senior Software Engineer",
|
||||||
|
company: "Trilon",
|
||||||
|
location: "Remote",
|
||||||
|
region: "🌏 Worldwide",
|
||||||
|
featured: true,
|
||||||
|
timeAgo: "a month ago",
|
||||||
|
logo: "https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/65dc7731-a4bb-4bbe-bc20-7401691a9ec5.png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 2,
|
||||||
|
title: "Senior Product Engineer",
|
||||||
|
company: "Pandektes",
|
||||||
|
location: "Remote",
|
||||||
|
region: "🇩🇰 Denmark",
|
||||||
|
salary: "$120k - $150k",
|
||||||
|
timeAgo: "a day ago",
|
||||||
|
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",
|
||||||
|
region: "🇺🇸 United States, Continental...",
|
||||||
|
salary: "$100k - $130k",
|
||||||
|
timeAgo: "a month ago"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 4,
|
||||||
|
title: "Full Stack Typescript Developer (NextJs, NestJs)",
|
||||||
|
company: "ClickTech",
|
||||||
|
location: "Remote",
|
||||||
|
region: "🌏 Worldwide",
|
||||||
|
salary: "$40k - $50k",
|
||||||
|
timeAgo: "2 months ago"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 5,
|
||||||
|
title: "NestJS Testing Specialist (Freelancer/Consultant)",
|
||||||
|
company: "Kapital",
|
||||||
|
location: "🌏 Worldwide",
|
||||||
|
timeAgo: "2 months ago"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: 6,
|
||||||
|
title: "Full-Stack Engineer (Mid-Senior) [NestJS, NextJS]",
|
||||||
|
company: "OASYS NOW",
|
||||||
|
location: "🇳🇱 Netherlands, Delft",
|
||||||
|
salary: "$60k - $80k",
|
||||||
|
timeAgo: "2 months ago"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
const JobCard = ({ job, isExpired = false }) => (
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 20 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className={`job-card ${isExpired ? 'opacity-60' : ''}`}
|
||||||
|
>
|
||||||
|
<div className="flex items-start gap-4">
|
||||||
|
{job.logo && (
|
||||||
|
<img
|
||||||
|
src={job.logo}
|
||||||
|
alt={`${job.company} logo`}
|
||||||
|
className="w-12 h-12 rounded object-contain bg-white p-1"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
<div className="flex-1">
|
||||||
|
<div className="flex items-center gap-2 mb-2">
|
||||||
|
<h3 className="font-semibold text-foreground">{job.title}</h3>
|
||||||
|
{job.featured && (
|
||||||
|
<span className="bg-primary-cta text-white px-2 py-1 text-xs rounded font-medium">
|
||||||
|
✨ FEATURED
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
<p className="text-sm text-foreground/70 mb-2">at {job.company}</p>
|
||||||
|
<div className="flex flex-wrap items-center gap-4 text-sm text-foreground/60">
|
||||||
|
<span className="flex items-center gap-1">
|
||||||
|
<MapPin className="h-4 w-4" />
|
||||||
|
{job.location}
|
||||||
|
</span>
|
||||||
|
<span>{job.region}</span>
|
||||||
|
{job.salary && (
|
||||||
|
<span className="flex items-center gap-1 text-green-600">
|
||||||
|
<DollarSign className="h-4 w-4" />
|
||||||
|
{job.salary}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
|
<span className="ml-auto">{job.timeAgo}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section id="jobs" className="py-20 bg-background">
|
||||||
|
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
{/* Header */}
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="text-center mb-12"
|
||||||
|
>
|
||||||
|
<h2 className="text-3xl sm:text-4xl font-bold text-foreground mb-4">
|
||||||
|
Find your next opportunity
|
||||||
|
</h2>
|
||||||
|
<p className="text-lg text-foreground/70 max-w-2xl mx-auto">
|
||||||
|
Browse through our list of NestJS jobs, find your perfect match and apply. Use filters for more accurate results!
|
||||||
|
</p>
|
||||||
|
</motion.div>
|
||||||
|
|
||||||
|
{/* Newsletter Signup */}
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="bg-primary-cta rounded-theme p-6 mb-12"
|
||||||
|
>
|
||||||
|
<div className="flex flex-col md:flex-row items-center justify-between gap-4">
|
||||||
|
<div className="text-white">
|
||||||
|
<h3 className="font-semibold mb-1">Get NestJS jobs right to your inbox</h3>
|
||||||
|
<p className="text-white/80">Subscribe to our newsletter to get notified.</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex gap-2 w-full md:w-auto">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
placeholder="Enter your email"
|
||||||
|
className="px-4 py-2 rounded-theme border-0 flex-1 md:w-64"
|
||||||
|
/>
|
||||||
|
<button className="bg-white text-primary-cta px-6 py-2 rounded-theme font-medium hover:bg-gray-100 transition-colors">
|
||||||
|
Subscribe
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</motion.div>
|
||||||
|
|
||||||
|
{/* Filter Icons */}
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 20 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="flex items-center justify-center gap-8 mb-8"
|
||||||
|
>
|
||||||
|
<Search className="h-6 w-6 text-foreground/40" />
|
||||||
|
<Globe className="h-6 w-6 text-foreground/40" />
|
||||||
|
<span className="text-2xl">🥁</span>
|
||||||
|
<span className="text-2xl">📈</span>
|
||||||
|
</motion.div>
|
||||||
|
|
||||||
|
{/* Active Jobs */}
|
||||||
|
<div className="space-y-4 mb-12">
|
||||||
|
{jobs.map((job) => (
|
||||||
|
<JobCard key={job.id} job={job} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Expired Jobs */}
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
>
|
||||||
|
<h3 className="text-xl font-semibold text-foreground mb-6">Expired listings</h3>
|
||||||
|
<div className="space-y-4">
|
||||||
|
{expiredJobs.map((job) => (
|
||||||
|
<JobCard key={job.id} job={job} isExpired={true} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</motion.div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default JobsSection;
|
||||||
48
src/components/NewsletterSection.js
Normal file
48
src/components/NewsletterSection.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
|
const NewsletterSection = () => {
|
||||||
|
return (
|
||||||
|
<section className="py-20 bg-card">
|
||||||
|
<div className="max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||||
|
<motion.h2
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="text-3xl sm:text-4xl font-bold text-foreground mb-4"
|
||||||
|
>
|
||||||
|
Join our Newsletter
|
||||||
|
</motion.h2>
|
||||||
|
|
||||||
|
<motion.p
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.2 }}
|
||||||
|
className="text-lg text-foreground/70 mb-8"
|
||||||
|
>
|
||||||
|
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||||
|
</motion.p>
|
||||||
|
|
||||||
|
<motion.div
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.4 }}
|
||||||
|
className="flex flex-col sm:flex-row gap-4 max-w-md mx-auto"
|
||||||
|
>
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
placeholder="Enter your email"
|
||||||
|
className="px-4 py-3 rounded-theme border border-accent flex-1 focus:outline-none focus:ring-2 focus:ring-primary-cta"
|
||||||
|
/>
|
||||||
|
<button className="bg-primary-cta text-white px-6 py-3 rounded-theme font-medium hover:opacity-90 transition-opacity">
|
||||||
|
Subscribe
|
||||||
|
</button>
|
||||||
|
</motion.div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default NewsletterSection;
|
||||||
41
src/components/SupportSection.js
Normal file
41
src/components/SupportSection.js
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
|
const SupportSection = () => {
|
||||||
|
return (
|
||||||
|
<section className="py-20 bg-black text-white">
|
||||||
|
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||||
|
<motion.h2
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="text-3xl sm:text-4xl font-bold mb-6"
|
||||||
|
>
|
||||||
|
Does your team need additional support?
|
||||||
|
</motion.h2>
|
||||||
|
|
||||||
|
<motion.p
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.2 }}
|
||||||
|
className="text-lg text-white/90 mb-8 max-w-3xl mx-auto"
|
||||||
|
>
|
||||||
|
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
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.4 }}
|
||||||
|
className="bg-primary-cta text-white px-8 py-3 rounded-theme font-medium hover:opacity-90 transition-opacity"
|
||||||
|
>
|
||||||
|
Contact us
|
||||||
|
</motion.button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SupportSection;
|
||||||
44
src/components/TeamAugmentation.js
Normal file
44
src/components/TeamAugmentation.js
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion } from 'framer-motion';
|
||||||
|
|
||||||
|
const TeamAugmentation = () => {
|
||||||
|
return (
|
||||||
|
<section className="py-20 bg-primary-cta support-bg relative">
|
||||||
|
{/* Dark overlay */}
|
||||||
|
<div className="absolute inset-0 bg-primary-cta/90"></div>
|
||||||
|
|
||||||
|
<div className="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||||
|
<motion.h2
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
className="text-3xl sm:text-4xl font-bold text-white mb-6"
|
||||||
|
>
|
||||||
|
Team augmentation. By your side at every step
|
||||||
|
</motion.h2>
|
||||||
|
|
||||||
|
<motion.p
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.2 }}
|
||||||
|
className="text-lg text-white/90 mb-8 max-w-3xl mx-auto"
|
||||||
|
>
|
||||||
|
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
|
||||||
|
initial={{ opacity: 0, y: 30 }}
|
||||||
|
whileInView={{ opacity: 1, y: 0 }}
|
||||||
|
viewport={{ once: true }}
|
||||||
|
transition={{ delay: 0.4 }}
|
||||||
|
className="bg-white text-primary-cta px-8 py-3 rounded-theme font-medium hover:bg-gray-100 transition-colors"
|
||||||
|
>
|
||||||
|
Contact us to learn more
|
||||||
|
</motion.button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TeamAugmentation;
|
||||||
56
src/index.css
Normal file
56
src/index.css
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
:root {
|
||||||
|
--background: #ffffff;
|
||||||
|
--card: #f9f9f9;
|
||||||
|
--foreground: #000612e6;
|
||||||
|
--primary-cta: #e91e63;
|
||||||
|
--secondary-cta: #f9f9f9;
|
||||||
|
--accent: #e2e2e2;
|
||||||
|
--background-accent: #c4c4c4;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
||||||
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
||||||
|
sans-serif;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary {
|
||||||
|
@apply bg-primary-cta text-white px-6 py-3 rounded-theme font-medium hover:opacity-90 transition-opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-secondary {
|
||||||
|
@apply bg-transparent border border-white text-white px-6 py-3 rounded-theme font-medium hover:bg-white hover:text-foreground transition-colors;
|
||||||
|
}
|
||||||
|
|
||||||
|
.job-card {
|
||||||
|
@apply bg-card border border-accent rounded-theme p-4 hover:shadow-lg transition-shadow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company-logo {
|
||||||
|
@apply w-24 h-12 object-contain grayscale hover:grayscale-0 transition-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero-bg {
|
||||||
|
background-image: url('https://www.jobs.nestjs.com/assets/header-2-CGRpDzPN.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.support-bg {
|
||||||
|
background-image: url('https://www.jobs.nestjs.com/assets/support-ChYF6me3.jpg');
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
13
src/index.js
Normal file
13
src/index.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { createRoot } from 'react-dom/client';
|
||||||
|
import './index.css';
|
||||||
|
import App from './App';
|
||||||
|
|
||||||
|
const container = document.getElementById('root');
|
||||||
|
const root = createRoot(container);
|
||||||
|
|
||||||
|
root.render(
|
||||||
|
<React.StrictMode>
|
||||||
|
<App />
|
||||||
|
</React.StrictMode>
|
||||||
|
);
|
||||||
35
tailwind.config.js
Normal file
35
tailwind.config.js
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: [
|
||||||
|
"./src/**/*.{js,jsx,ts,tsx}",
|
||||||
|
"./public/index.html"
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
background: 'var(--background)',
|
||||||
|
card: 'var(--card)',
|
||||||
|
foreground: 'var(--foreground)',
|
||||||
|
'primary-cta': 'var(--primary-cta)',
|
||||||
|
'secondary-cta': 'var(--secondary-cta)',
|
||||||
|
accent: 'var(--accent)',
|
||||||
|
'background-accent': 'var(--background-accent)'
|
||||||
|
},
|
||||||
|
fontFamily: {
|
||||||
|
sans: ['Inter', 'system-ui', 'sans-serif']
|
||||||
|
},
|
||||||
|
borderRadius: {
|
||||||
|
'theme': '0.5rem',
|
||||||
|
'theme-capped': '1rem'
|
||||||
|
},
|
||||||
|
spacing: {
|
||||||
|
'18': '4.5rem',
|
||||||
|
'88': '22rem',
|
||||||
|
'100': '25rem',
|
||||||
|
'112': '28rem',
|
||||||
|
'128': '32rem'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
plugins: []
|
||||||
|
}
|
||||||
5
vercel.json
Normal file
5
vercel.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"installCommand": "npm install",
|
||||||
|
"buildCommand": "CI=false npm run build",
|
||||||
|
"outputDirectory": "build"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user