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",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-scripts": "^5.0.1",
|
||||
"framer-motion": "^11.0.0",
|
||||
"lucide-react": "^0.400.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 Newsletter from './components/Newsletter';
|
||||
import Footer from './components/Footer';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Header />
|
||||
<Hero />
|
||||
<JobsSection />
|
||||
<TeamAugmentation />
|
||||
<CompaniesSection />
|
||||
<SupportSection />
|
||||
<Newsletter />
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
157
src/components/CompaniesSection.js
Normal file
157
src/components/CompaniesSection.js
Normal file
@@ -0,0 +1,157 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
|
||||
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 CompaniesSection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
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: 'BMW',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/bmw.svg',
|
||||
url: '#'
|
||||
},
|
||||
{
|
||||
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: '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: 'JetBrains',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/jetbrains.svg',
|
||||
url: 'https://www.jetbrains.com/'
|
||||
},
|
||||
{
|
||||
name: 'REWE',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/rewe.svg',
|
||||
url: 'https://www.rewe-digital.com/'
|
||||
},
|
||||
{
|
||||
name: 'TotalEnergies',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/totalenergies.svg',
|
||||
url: 'https://totalenergies.com/'
|
||||
},
|
||||
{
|
||||
name: 'GitLab',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/gitlab.png',
|
||||
url: 'https://about.gitlab.com/'
|
||||
},
|
||||
{
|
||||
name: 'Capgemini',
|
||||
logo: 'https://www.jobs.nestjs.com/img/logos/capgemini.svg',
|
||||
url: 'https://capgemini.com/'
|
||||
}
|
||||
];
|
||||
|
||||
const CompanyLogo = ({ company, index }) => {
|
||||
const logoContent = (
|
||||
<div className="flex items-center justify-center p-6 bg-white rounded-lg shadow-sm hover:shadow-md transition-shadow duration-200">
|
||||
{company.url && company.url !== '#' ? (
|
||||
<a href={company.url} target="_blank" rel="noopener noreferrer">
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="company-logo max-w-full max-h-12"
|
||||
/>
|
||||
</a>
|
||||
) : (
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="company-logo max-w-full max-h-12"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return logoContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(index * 0.05, 0.6)}>
|
||||
{logoContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
const sectionContent = (
|
||||
<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-16">
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-gray-900 mb-6">
|
||||
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-brand-pink hover:underline ml-1">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>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return sectionContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
{sectionContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export default CompaniesSection;
|
||||
88
src/components/Footer.js
Normal file
88
src/components/Footer.js
Normal file
@@ -0,0 +1,88 @@
|
||||
import React from 'react';
|
||||
import { Github } from 'lucide-react';
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer className="bg-white border-t border-gray-200 py-12">
|
||||
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div className="text-center">
|
||||
{/* Social Links */}
|
||||
<div className="flex justify-center space-x-6 mb-8">
|
||||
<a
|
||||
href="https://github.com/nestjs"
|
||||
className="text-gray-400 hover:text-gray-600 transition-colors duration-200"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<Github className="w-6 h-6" />
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/nestframework"
|
||||
className="text-gray-400 hover:text-gray-600 transition-colors duration-200"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<svg className="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/* Links */}
|
||||
<div className="mb-8">
|
||||
<p className="text-gray-600 mb-2">
|
||||
Official NestJS Consulting{' '}
|
||||
<a
|
||||
href="https://trilon.io"
|
||||
className="text-brand-pink hover:underline"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Trilon.io
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* Copyright and Legal */}
|
||||
<div className="text-sm text-gray-500 space-y-2">
|
||||
<p>
|
||||
Copyright © 2017-2026{' '}
|
||||
<a
|
||||
href="#"
|
||||
className="text-brand-pink hover:underline"
|
||||
>
|
||||
Kamil Mysliwiec
|
||||
</a>
|
||||
</p>
|
||||
<div className="flex justify-center space-x-4">
|
||||
<a
|
||||
href="#"
|
||||
className="text-brand-pink hover:underline"
|
||||
>
|
||||
Terms of Service
|
||||
</a>
|
||||
<span>|</span>
|
||||
<a
|
||||
href="#"
|
||||
className="text-brand-pink hover:underline"
|
||||
>
|
||||
Privacy Policy
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
Designed by{' '}
|
||||
<a
|
||||
href="#"
|
||||
className="text-brand-pink hover:underline"
|
||||
>
|
||||
Jakub Staron
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
94
src/components/Header.js
Normal file
94
src/components/Header.js
Normal file
@@ -0,0 +1,94 @@
|
||||
import React, { useState } from 'react';
|
||||
import { Menu, X, ChevronDown, Github } from 'lucide-react';
|
||||
|
||||
const 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/90 backdrop-blur-sm border-b border-gray-800">
|
||||
<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-shrink-0">
|
||||
<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-brand-pink transition-colors duration-200 font-medium">
|
||||
HOME
|
||||
</a>
|
||||
<a href="/jobs" className="text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
JOBS
|
||||
</a>
|
||||
<a href="/signin" className="text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
SIGN IN
|
||||
</a>
|
||||
<div className="relative">
|
||||
<button
|
||||
className="flex items-center text-white hover:text-brand-pink transition-colors duration-200 font-medium"
|
||||
onClick={() => setIsResourcesOpen(!isResourcesOpen)}
|
||||
>
|
||||
RESOURCES
|
||||
<ChevronDown className="ml-1 h-4 w-4" />
|
||||
</button>
|
||||
</div>
|
||||
<a href="https://github.com/nestjs" className="text-white hover:text-brand-pink transition-colors duration-200">
|
||||
<Github className="h-5 w-5" />
|
||||
</a>
|
||||
<a href="https://twitter.com/nestframework" className="text-white hover:text-brand-pink transition-colors duration-200">
|
||||
<X className="h-5 w-5" />
|
||||
</a>
|
||||
</nav>
|
||||
|
||||
{/* Mobile menu button */}
|
||||
<div className="md:hidden">
|
||||
<button
|
||||
onClick={() => setIsMenuOpen(!isMenuOpen)}
|
||||
className="text-white hover:text-brand-pink transition-colors duration-200"
|
||||
>
|
||||
{isMenuOpen ? <X className="h-6 w-6" /> : <Menu className="h-6 w-6" />}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Mobile Navigation */}
|
||||
{isMenuOpen && (
|
||||
<div className="md:hidden bg-black/95 backdrop-blur-sm border-t border-gray-800">
|
||||
<div className="px-4 py-4 space-y-4">
|
||||
<a href="/" className="block text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
HOME
|
||||
</a>
|
||||
<a href="/jobs" className="block text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
JOBS
|
||||
</a>
|
||||
<a href="/signin" className="block text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
SIGN IN
|
||||
</a>
|
||||
<a href="/resources" className="block text-white hover:text-brand-pink transition-colors duration-200 font-medium">
|
||||
RESOURCES
|
||||
</a>
|
||||
<div className="flex space-x-4 pt-2">
|
||||
<a href="https://github.com/nestjs" className="text-white hover:text-brand-pink transition-colors duration-200">
|
||||
<Github className="h-5 w-5" />
|
||||
</a>
|
||||
<a href="https://twitter.com/nestframework" className="text-white hover:text-brand-pink transition-colors duration-200">
|
||||
<X className="h-5 w-5" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</header>
|
||||
);
|
||||
};
|
||||
|
||||
export default Header;
|
||||
73
src/components/Hero.js
Normal file
73
src/components/Hero.js
Normal file
@@ -0,0 +1,73 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
|
||||
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 Hero = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="relative min-h-screen flex items-center justify-center bg-hero-pattern bg-cover bg-center bg-no-repeat">
|
||||
<div className="absolute inset-0 bg-black/70"></div>
|
||||
<div className="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<h1 className="text-4xl md:text-6xl lg:text-7xl font-bold text-white mb-6">
|
||||
Official NestJS job board
|
||||
</h1>
|
||||
<p className="text-xl md:text-2xl text-gray-200 mb-12 max-w-3xl mx-auto 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 justify-center items-center">
|
||||
<button className="btn-primary text-lg px-8 py-4">
|
||||
Post a job
|
||||
</button>
|
||||
<button className="btn-secondary text-lg px-8 py-4">
|
||||
Browse open positions
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="relative min-h-screen flex items-center justify-center bg-hero-pattern bg-cover bg-center bg-no-repeat"
|
||||
>
|
||||
<div className="absolute inset-0 bg-black/70"></div>
|
||||
<div className="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<motion.h1
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-4xl md:text-6xl lg:text-7xl font-bold text-white mb-6"
|
||||
>
|
||||
Official NestJS job board
|
||||
</motion.h1>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.4, 0.8)}
|
||||
className="text-xl md:text-2xl text-gray-200 mb-12 max-w-3xl mx-auto leading-relaxed"
|
||||
>
|
||||
Discover companies looking for developers with NestJS experience and find your next role.
|
||||
</motion.p>
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.6, 0.8)}
|
||||
className="flex flex-col sm:flex-row gap-4 justify-center items-center"
|
||||
>
|
||||
<button className="btn-primary text-lg px-8 py-4">
|
||||
Post a job
|
||||
</button>
|
||||
<button className="btn-secondary text-lg px-8 py-4">
|
||||
Browse open positions
|
||||
</button>
|
||||
</motion.div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Hero;
|
||||
266
src/components/JobsSection.js
Normal file
266
src/components/JobsSection.js
Normal file
@@ -0,0 +1,266 @@
|
||||
import React, { useState } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { Search, MapPin, Globe, Star } from 'lucide-react';
|
||||
|
||||
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 JobsSection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
const [searchTerm, setSearchTerm] = useState('');
|
||||
|
||||
const jobs = [
|
||||
{
|
||||
id: 1,
|
||||
title: 'Senior Product Engineer',
|
||||
company: 'Pandektes',
|
||||
location: 'Remote',
|
||||
country: '🇩🇰 Denmark',
|
||||
salary: '$120k - $150k',
|
||||
timeAgo: '4 hours ago',
|
||||
logo: 'https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/65dc7731-a4bb-4bbe-bc20-7401691a9ec5.png',
|
||||
featured: false
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: 'Senior Software Engineer',
|
||||
company: 'Trilon',
|
||||
location: 'Remote',
|
||||
country: '🌏 Worldwide',
|
||||
salary: null,
|
||||
timeAgo: '25 days ago',
|
||||
logo: 'https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/612b8b42-9610-43b1-92bd-15373110159f.png',
|
||||
featured: true
|
||||
}
|
||||
];
|
||||
|
||||
const expiredJobs = [
|
||||
{
|
||||
id: 3,
|
||||
title: 'Full-Stack Developer Angular/NestJS/PHP/MySQL',
|
||||
company: 'Nylon Technology',
|
||||
location: 'Remote',
|
||||
country: '🇺🇸 United States, Continental...',
|
||||
salary: '$100k - $130k',
|
||||
timeAgo: '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',
|
||||
timeAgo: '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: null,
|
||||
timeAgo: '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',
|
||||
timeAgo: '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',
|
||||
timeAgo: '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',
|
||||
timeAgo: '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',
|
||||
timeAgo: '6 months ago',
|
||||
logo: 'https://nestjs-jobs-bucket-localhost.s3.amazonaws.com/69388f1e-2dff-444b-9fc4-9f035bbf654f.jpeg'
|
||||
}
|
||||
];
|
||||
|
||||
const JobCard = ({ job, index }) => {
|
||||
const cardContent = (
|
||||
<div className={`job-card ${job.featured ? 'job-card-featured' : ''} relative`}>
|
||||
{job.featured && (
|
||||
<div className="absolute top-4 right-4">
|
||||
<span className="bg-gradient-to-r from-purple-500 to-pink-500 text-white text-xs font-bold px-3 py-1 rounded-full flex items-center">
|
||||
<Star className="w-3 h-3 mr-1" />
|
||||
FEATURED
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex items-start space-x-4">
|
||||
<div className="flex-shrink-0">
|
||||
<img
|
||||
src={job.logo}
|
||||
alt={`${job.company} logo`}
|
||||
className="w-12 h-12 rounded-lg object-cover"
|
||||
/>
|
||||
</div>
|
||||
<div className="flex-1 min-w-0">
|
||||
<h3 className="text-lg font-semibold text-gray-900 mb-1">{job.title}</h3>
|
||||
<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">
|
||||
<div className="flex items-center">
|
||||
<MapPin className="w-4 h-4 mr-1" />
|
||||
{job.location}
|
||||
</div>
|
||||
{job.country && (
|
||||
<div className="flex items-center">
|
||||
<Globe className="w-4 h-4 mr-1" />
|
||||
{job.country}
|
||||
</div>
|
||||
)}
|
||||
{job.salary && (
|
||||
<div className="font-medium text-green-600">
|
||||
💰 {job.salary}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="mt-3 text-sm text-gray-400">
|
||||
{job.timeAgo}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return cardContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(index * 0.1, 0.6)}>
|
||||
{cardContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
const sectionContent = (
|
||||
<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-16">
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-gray-900 mb-6">
|
||||
Find your next opportunity
|
||||
</h2>
|
||||
<p className="text-xl text-gray-600 max-w-3xl mx-auto mb-8">
|
||||
Browse through our list of NestJS jobs, find your perfect match and apply. Use filters for more accurate results!
|
||||
</p>
|
||||
|
||||
{/* Newsletter Signup */}
|
||||
<div className="bg-brand-pink rounded-lg p-6 max-w-2xl mx-auto mb-12">
|
||||
<h3 className="text-white font-semibold mb-4">
|
||||
Get NestJS jobs right to your inbox
|
||||
</h3>
|
||||
<p className="text-pink-100 mb-4">Subscribe to our newsletter to get notified.</p>
|
||||
<div className="flex flex-col sm:flex-row gap-3">
|
||||
<input
|
||||
type="email"
|
||||
placeholder="Enter your email"
|
||||
className="flex-1 px-4 py-3 rounded-lg border-0 focus:ring-2 focus:ring-white focus:outline-none"
|
||||
/>
|
||||
<button className="bg-white text-brand-pink font-semibold px-6 py-3 rounded-lg hover:bg-gray-100 transition-colors">
|
||||
Subscribe
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Search and Filters */}
|
||||
<div className="flex flex-col md:flex-row gap-4 items-center justify-center mb-8">
|
||||
<div className="relative">
|
||||
<Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5" />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Search jobs..."
|
||||
value={searchTerm}
|
||||
onChange={(e) => setSearchTerm(e.target.value)}
|
||||
className="pl-10 pr-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-pink focus:border-transparent outline-none w-80"
|
||||
/>
|
||||
</div>
|
||||
<div className="flex gap-2">
|
||||
<select className="px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-pink focus:border-transparent outline-none">
|
||||
<option>🌎 Location</option>
|
||||
<option>Remote</option>
|
||||
<option>On-site</option>
|
||||
</select>
|
||||
<select className="px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-pink focus:border-transparent outline-none">
|
||||
<option>🥁 Seniority</option>
|
||||
<option>Junior</option>
|
||||
<option>Mid</option>
|
||||
<option>Senior</option>
|
||||
</select>
|
||||
<select className="px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-pink focus:border-transparent outline-none">
|
||||
<option>📈 Salary</option>
|
||||
<option>$0 - $50k</option>
|
||||
<option>$50k - $100k</option>
|
||||
<option>$100k+</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Active Jobs */}
|
||||
<div className="space-y-6 mb-16">
|
||||
{jobs.map((job, index) => (
|
||||
<JobCard key={job.id} job={job} index={index} />
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Expired Jobs */}
|
||||
<div>
|
||||
<h3 className="text-2xl font-bold text-gray-900 mb-8">Expired listings</h3>
|
||||
<div className="space-y-4">
|
||||
{expiredJobs.map((job, index) => (
|
||||
<JobCard key={job.id} job={job} index={index} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return sectionContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
{sectionContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export default JobsSection;
|
||||
64
src/components/Newsletter.js
Normal file
64
src/components/Newsletter.js
Normal file
@@ -0,0 +1,64 @@
|
||||
import React, { useState } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
|
||||
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 Newsletter = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
const [email, setEmail] = useState('');
|
||||
|
||||
const handleSubmit = (e) => {
|
||||
e.preventDefault();
|
||||
// Handle newsletter signup
|
||||
console.log('Newsletter signup:', email);
|
||||
};
|
||||
|
||||
const sectionContent = (
|
||||
<section className="py-20 bg-gray-50">
|
||||
<div className="max-w-2xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
|
||||
Join our Newsletter
|
||||
</h2>
|
||||
<p className="text-lg text-gray-600 mb-8">
|
||||
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||
</p>
|
||||
|
||||
<form onSubmit={handleSubmit} className="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
|
||||
<input
|
||||
type="email"
|
||||
placeholder="Enter your email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-brand-pink focus:border-transparent outline-none"
|
||||
required
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-brand-pink hover:bg-brand-pink-dark text-white font-semibold px-6 py-3 rounded-lg transition-colors duration-200 flex items-center justify-center"
|
||||
>
|
||||
Subscribe
|
||||
<ArrowRight className="ml-2 w-4 h-4" />
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return sectionContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
{sectionContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Newsletter;
|
||||
41
src/components/SupportSection.js
Normal file
41
src/components/SupportSection.js
Normal file
@@ -0,0 +1,41 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
|
||||
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 SupportSection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const sectionContent = (
|
||||
<section className="py-20 bg-gray-900">
|
||||
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-white mb-6">
|
||||
Does your team need additional support?
|
||||
</h2>
|
||||
<p className="text-xl text-gray-300 mb-12 max-w-3xl mx-auto leading-relaxed">
|
||||
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-brand-pink hover:bg-brand-pink-dark text-white font-semibold px-8 py-4 rounded-full transition-colors duration-200 text-lg">
|
||||
Contact us
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return sectionContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
{sectionContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export default SupportSection;
|
||||
42
src/components/TeamAugmentation.js
Normal file
42
src/components/TeamAugmentation.js
Normal file
@@ -0,0 +1,42 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
|
||||
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 TeamAugmentation = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const sectionContent = (
|
||||
<section className="py-20 bg-brand-pink bg-support-pattern bg-cover bg-center bg-no-repeat relative">
|
||||
<div className="absolute inset-0 bg-brand-pink/90"></div>
|
||||
<div className="relative z-10 max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-white mb-6">
|
||||
Team augmentation. By your side at every step
|
||||
</h2>
|
||||
<p className="text-xl text-pink-100 mb-12 max-w-3xl mx-auto leading-relaxed">
|
||||
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-brand-pink font-semibold px-8 py-4 rounded-full hover:bg-gray-100 transition-colors duration-200 text-lg">
|
||||
Contact us to learn more
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return sectionContent;
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
{sectionContent}
|
||||
</motion.div>
|
||||
);
|
||||
};
|
||||
|
||||
export default TeamAugmentation;
|
||||
41
src/index.css
Normal file
41
src/index.css
Normal file
@@ -0,0 +1,41 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply box-border;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply font-sans antialiased;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply bg-brand-pink hover:bg-brand-pink-dark text-white font-medium px-6 py-3 rounded-full transition-colors duration-200;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply border-2 border-white text-white hover:bg-white hover:text-gray-900 font-medium px-6 py-3 rounded-full transition-all duration-200;
|
||||
}
|
||||
|
||||
.job-card {
|
||||
@apply bg-white rounded-lg border border-gray-200 p-6 hover:shadow-lg transition-shadow duration-200;
|
||||
}
|
||||
|
||||
.job-card-featured {
|
||||
@apply bg-gradient-to-r from-purple-50 to-pink-50 border-purple-200;
|
||||
}
|
||||
|
||||
.company-logo {
|
||||
@apply w-12 h-12 object-contain grayscale hover:grayscale-0 transition-all duration-300;
|
||||
}
|
||||
}
|
||||
|
||||
@layer utilities {
|
||||
.text-gradient {
|
||||
@apply bg-gradient-to-r from-brand-pink to-purple-600 bg-clip-text text-transparent;
|
||||
}
|
||||
}
|
||||
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>
|
||||
);
|
||||
49
tailwind.config.js
Normal file
49
tailwind.config.js
Normal file
@@ -0,0 +1,49 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
"./src/**/*.{js,jsx,ts,tsx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary: {
|
||||
50: '#fef2f2',
|
||||
100: '#fee2e2',
|
||||
200: '#fecaca',
|
||||
300: '#fca5a5',
|
||||
400: '#f87171',
|
||||
500: '#ef4444',
|
||||
600: '#dc2626',
|
||||
700: '#b91c1c',
|
||||
800: '#991b1b',
|
||||
900: '#7f1d1d',
|
||||
},
|
||||
brand: {
|
||||
pink: '#e91e63',
|
||||
'pink-dark': '#c2185b',
|
||||
'pink-light': '#f06292',
|
||||
},
|
||||
gray: {
|
||||
50: '#f9fafb',
|
||||
100: '#f3f4f6',
|
||||
200: '#e5e7eb',
|
||||
300: '#d1d5db',
|
||||
400: '#9ca3af',
|
||||
500: '#6b7280',
|
||||
600: '#4b5563',
|
||||
700: '#374151',
|
||||
800: '#1f2937',
|
||||
900: '#111827',
|
||||
}
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['Inter', 'system-ui', 'sans-serif'],
|
||||
},
|
||||
backgroundImage: {
|
||||
'hero-pattern': "url('https://www.jobs.nestjs.com/assets/header-2-CGRpDzPN.jpg')",
|
||||
'support-pattern': "url('https://www.jobs.nestjs.com/assets/support-ChYF6me3.jpg')",
|
||||
}
|
||||
},
|
||||
},
|
||||
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