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="min-h-screen bg-white">
|
||||||
|
<Header />
|
||||||
|
<Hero />
|
||||||
|
<JobsSection />
|
||||||
|
<TeamAugmentation />
|
||||||
|
<CompaniesSection />
|
||||||
|
<SupportSection />
|
||||||
|
<Newsletter />
|
||||||
|
<Footer />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default App;
|
||||||
164
src/components/CompaniesSection.js
Normal file
164
src/components/CompaniesSection.js
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
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: "GitLab",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/gitlab.png",
|
||||||
|
url: "https://about.gitlab.com/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Red Hat",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/red-hat.svg",
|
||||||
|
url: "https://www.redhat.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: "Roche",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/roche-logo.png",
|
||||||
|
url: "https://roche.com/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "Decathlon",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/decathlon.png",
|
||||||
|
url: "https://www.decathlon.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: "Capgemini",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/capgemini.svg",
|
||||||
|
url: "https://capgemini.com/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "BMW",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/bmw.svg",
|
||||||
|
url: null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "IBM",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/ibm.svg",
|
||||||
|
url: "https://www.ibm.com/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "JetBrains",
|
||||||
|
logo: "https://www.jobs.nestjs.com/img/logos/jetbrains.svg",
|
||||||
|
url: "https://www.jetbrains.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 h-24">
|
||||||
|
<img
|
||||||
|
src={company.logo}
|
||||||
|
alt={company.name}
|
||||||
|
className="max-h-12 max-w-full object-contain filter grayscale hover:grayscale-0 transition-all duration-200"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (company.url) {
|
||||||
|
const wrappedContent = (
|
||||||
|
<a href={company.url} target="_blank" rel="noopener noreferrer">
|
||||||
|
{logoContent}
|
||||||
|
</a>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return wrappedContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(index * 0.05, 0.6)}>
|
||||||
|
{wrappedContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return logoContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(index * 0.05, 0.6)}>
|
||||||
|
{logoContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const sectionContent = (
|
||||||
|
<section className="py-16 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">
|
||||||
|
Who is using Nest?
|
||||||
|
</h2>
|
||||||
|
<p className="text-xl text-nest-gray">
|
||||||
|
Nest is proudly powering a large ecosystem of enterprises and products out there. Wanna see your logo here? <a href="#" className="text-nest-red hover:underline">Find out more</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-6">
|
||||||
|
{companies.map((company, index) => (
|
||||||
|
<CompanyLogo key={company.name} company={company} index={index} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return sectionContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(0.1, 1.0)}>
|
||||||
|
{sectionContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default CompaniesSection;
|
||||||
40
src/components/Footer.js
Normal file
40
src/components/Footer.js
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { Github, X } from 'lucide-react';
|
||||||
|
|
||||||
|
const 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">
|
||||||
|
<div className="flex justify-center space-x-6 mb-6">
|
||||||
|
<a href="https://github.com/nestjs" className="text-gray-400 hover:text-nest-red transition-colors">
|
||||||
|
<Github className="w-6 h-6" />
|
||||||
|
</a>
|
||||||
|
<a href="https://twitter.com/nestframework" className="text-gray-400 hover:text-nest-red transition-colors">
|
||||||
|
<X className="w-6 h-6" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="space-y-2 text-sm text-gray-600">
|
||||||
|
<p>
|
||||||
|
Official NestJS Consulting <a href="https://trilon.io" className="text-nest-red hover:underline">Trilon.io</a>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Copyright © 2017-2026 <a href="#" className="text-nest-red hover:underline">Kamil Mysliwiec</a>
|
||||||
|
</p>
|
||||||
|
<div className="flex justify-center space-x-4">
|
||||||
|
<a href="#" className="text-nest-red hover:underline">Terms of Service</a>
|
||||||
|
<span>|</span>
|
||||||
|
<a href="#" className="text-nest-red hover:underline">Privacy Policy</a>
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
Designed by <a href="#" className="text-nest-red hover:underline">Jakub Staron</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Footer;
|
||||||
82
src/components/Header.js
Normal file
82
src/components/Header.js
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
import React, { useState } from 'react';
|
||||||
|
import { Menu, X, ChevronDown, 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 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 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-nest-red transition-colors font-medium">
|
||||||
|
HOME
|
||||||
|
</a>
|
||||||
|
<a href="/jobs" className="text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
JOBS
|
||||||
|
</a>
|
||||||
|
<a href="/signin" className="text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
SIGN IN
|
||||||
|
</a>
|
||||||
|
<div className="relative group">
|
||||||
|
<button className="flex items-center text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
RESOURCES
|
||||||
|
<ChevronDown className="ml-1 w-4 h-4" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<a href="https://github.com/nestjs" className="text-white hover:text-nest-red transition-colors">
|
||||||
|
<Github className="w-5 h-5" />
|
||||||
|
</a>
|
||||||
|
<a href="https://twitter.com/nestframework" className="text-white hover:text-nest-red transition-colors">
|
||||||
|
<X className="w-5 h-5" />
|
||||||
|
</a>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
{/* Mobile menu button */}
|
||||||
|
<div className="md:hidden">
|
||||||
|
<button
|
||||||
|
onClick={() => setIsMenuOpen(!isMenuOpen)}
|
||||||
|
className="text-white hover:text-nest-red transition-colors"
|
||||||
|
>
|
||||||
|
{isMenuOpen ? <X className="w-6 h-6" /> : <Menu className="w-6 h-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-lg mt-2">
|
||||||
|
<a href="/" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
HOME
|
||||||
|
</a>
|
||||||
|
<a href="/jobs" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
JOBS
|
||||||
|
</a>
|
||||||
|
<a href="/signin" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
SIGN IN
|
||||||
|
</a>
|
||||||
|
<a href="/resources" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||||
|
RESOURCES
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default Header;
|
||||||
85
src/components/Hero.js
Normal file
85
src/components/Hero.js
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
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 bg-black flex items-center justify-center overflow-hidden">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-r from-black via-black/80 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 className="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center lg:text-left">
|
||||||
|
<div className="lg:w-1/2">
|
||||||
|
<h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-white 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 justify-center lg:justify-start">
|
||||||
|
<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, 0.8)}
|
||||||
|
className="relative min-h-screen bg-black flex items-center justify-center overflow-hidden"
|
||||||
|
>
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-r from-black via-black/80 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 className="relative z-20 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center lg:text-left">
|
||||||
|
<div className="lg:w-1/2">
|
||||||
|
<motion.h1
|
||||||
|
{...fadeUpPreset(0.2, 0.8)}
|
||||||
|
className="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-6 leading-tight"
|
||||||
|
>
|
||||||
|
Official NestJS job board
|
||||||
|
</motion.h1>
|
||||||
|
<motion.p
|
||||||
|
{...fadeUpPreset(0.3, 0.8)}
|
||||||
|
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, 0.8)}
|
||||||
|
className="flex flex-col sm:flex-row gap-4 justify-center lg:justify-start"
|
||||||
|
>
|
||||||
|
<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;
|
||||||
250
src/components/JobsSection.js
Normal file
250
src/components/JobsSection.js
Normal file
@@ -0,0 +1,250 @@
|
|||||||
|
import React from 'react';
|
||||||
|
import { motion, useReducedMotion } from 'framer-motion';
|
||||||
|
import { Search, Globe, MapPin } 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 JobCard = ({ job, index }) => {
|
||||||
|
const shouldReduceMotion = useReducedMotion();
|
||||||
|
|
||||||
|
const cardContent = (
|
||||||
|
<div className="job-card">
|
||||||
|
<div className="flex items-start justify-between mb-4">
|
||||||
|
<div className="flex items-center space-x-3">
|
||||||
|
<img
|
||||||
|
src={job.logo}
|
||||||
|
alt={job.company}
|
||||||
|
className="company-logo"
|
||||||
|
/>
|
||||||
|
<div>
|
||||||
|
<h3 className="font-semibold text-lg text-gray-900">{job.title}</h3>
|
||||||
|
<p className="text-nest-gray">at {job.company}</p>
|
||||||
|
{job.featured && (
|
||||||
|
<span className="featured-badge mt-1 inline-block">✨ FEATURED</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<span className="text-sm text-gray-500">{job.timeAgo}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="flex flex-wrap items-center gap-4 text-sm text-gray-600">
|
||||||
|
<div className="flex items-center space-x-1">
|
||||||
|
<Globe className="w-4 h-4" />
|
||||||
|
<span>{job.location}</span>
|
||||||
|
</div>
|
||||||
|
{job.salary && (
|
||||||
|
<div className="flex items-center space-x-1">
|
||||||
|
<span>💰</span>
|
||||||
|
<span>{job.salary}</span>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
{job.flag && (
|
||||||
|
<span>{job.flag}</span>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return cardContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(index * 0.05, 0.6)}>
|
||||||
|
{cardContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
const JobsSection = () => {
|
||||||
|
const shouldReduceMotion = useReducedMotion();
|
||||||
|
|
||||||
|
const jobs = [
|
||||||
|
{
|
||||||
|
id: 1,
|
||||||
|
title: "Senior Product Engineer",
|
||||||
|
company: "Pandektes",
|
||||||
|
location: "Remote",
|
||||||
|
flag: "🇩🇰 Denmark",
|
||||||
|
salary: "$120k - $150k",
|
||||||
|
timeAgo: "2 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",
|
||||||
|
flag: "🌏 Worldwide",
|
||||||
|
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",
|
||||||
|
flag: "🇺🇸 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",
|
||||||
|
flag: "🌏 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",
|
||||||
|
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",
|
||||||
|
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",
|
||||||
|
flag: "🇩🇰 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",
|
||||||
|
flag: "🌏 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",
|
||||||
|
flag: "🇨🇦 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 sectionContent = (
|
||||||
|
<section className="py-16 bg-nest-light-gray">
|
||||||
|
<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-nest-gray mb-8">
|
||||||
|
Browse through our list of NestJS jobs, find your perfect match and apply. Use filters for more accurate results!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div className="bg-nest-red text-white p-4 rounded-lg mb-8">
|
||||||
|
<h3 className="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 max-w-md mx-auto">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
placeholder="Enter your email"
|
||||||
|
className="flex-1 px-4 py-2 rounded-l-lg text-gray-900"
|
||||||
|
/>
|
||||||
|
<button className="bg-white text-nest-red px-6 py-2 rounded-r-lg font-medium hover:bg-gray-100 transition-colors">
|
||||||
|
Subscribe
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Search and Filters */}
|
||||||
|
<div className="bg-white rounded-lg p-6 mb-8 shadow-sm">
|
||||||
|
<div className="grid grid-cols-1 md:grid-cols-4 gap-4">
|
||||||
|
<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..."
|
||||||
|
className="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nest-red focus:border-transparent"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<select className="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nest-red focus:border-transparent">
|
||||||
|
<option>Location</option>
|
||||||
|
<option>Remote</option>
|
||||||
|
<option>On-site</option>
|
||||||
|
</select>
|
||||||
|
<select className="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nest-red focus:border-transparent">
|
||||||
|
<option>Seniority</option>
|
||||||
|
<option>Junior</option>
|
||||||
|
<option>Mid</option>
|
||||||
|
<option>Senior</option>
|
||||||
|
</select>
|
||||||
|
<select className="px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nest-red focus:border-transparent">
|
||||||
|
<option>Salary</option>
|
||||||
|
<option>$0 - $50k</option>
|
||||||
|
<option>$50k - $100k</option>
|
||||||
|
<option>$100k+</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{/* Active Jobs */}
|
||||||
|
<div className="space-y-4 mb-12">
|
||||||
|
{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-6">Expired listings</h3>
|
||||||
|
<div className="space-y-4">
|
||||||
|
{expiredJobs.map((job, index) => (
|
||||||
|
<JobCard key={job.id} job={job} index={index + jobs.length} />
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return sectionContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(0.1, 1.0)}>
|
||||||
|
{sectionContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default JobsSection;
|
||||||
49
src/components/Newsletter.js
Normal file
49
src/components/Newsletter.js
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
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 Newsletter = () => {
|
||||||
|
const shouldReduceMotion = useReducedMotion();
|
||||||
|
|
||||||
|
const sectionContent = (
|
||||||
|
<section className="py-16 bg-nest-light-gray">
|
||||||
|
<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-xl text-nest-gray mb-8">
|
||||||
|
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div className="flex flex-col sm:flex-row max-w-md mx-auto gap-4">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
placeholder="Enter your email"
|
||||||
|
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-nest-red focus:border-transparent"
|
||||||
|
/>
|
||||||
|
<button className="btn-primary whitespace-nowrap">
|
||||||
|
Subscribe
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return sectionContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(0.1, 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-16 bg-nest-dark">
|
||||||
|
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
||||||
|
<h2 className="text-3xl md:text-4xl font-bold text-white mb-6">
|
||||||
|
Does your team need additional support?
|
||||||
|
</h2>
|
||||||
|
<p className="text-xl text-gray-300 mb-8 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="btn-primary">
|
||||||
|
Contact us
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return sectionContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(0.1, 1.0)}>
|
||||||
|
{sectionContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SupportSection;
|
||||||
49
src/components/TeamAugmentation.js
Normal file
49
src/components/TeamAugmentation.js
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
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-16 bg-nest-red relative overflow-hidden">
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-r from-nest-red to-red-600"></div>
|
||||||
|
<div className="relative z-10 max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||||
|
<div className="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
|
||||||
|
<div className="text-white">
|
||||||
|
<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-red-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-red 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-red-400 to-red-600 rounded-2xl opacity-20"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
|
||||||
|
if (shouldReduceMotion) {
|
||||||
|
return sectionContent;
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<motion.div {...fadeUpPreset(0.1, 1.0)}>
|
||||||
|
{sectionContent}
|
||||||
|
</motion.div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default TeamAugmentation;
|
||||||
31
src/index.css
Normal file
31
src/index.css
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
|
|
||||||
|
@layer base {
|
||||||
|
body {
|
||||||
|
@apply font-sans antialiased;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer components {
|
||||||
|
.btn-primary {
|
||||||
|
@apply bg-nest-red hover:bg-red-600 text-white px-6 py-3 rounded-full font-medium transition-colors duration-200;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-secondary {
|
||||||
|
@apply border-2 border-white text-white hover:bg-white hover:text-nest-dark px-6 py-3 rounded-full font-medium transition-all duration-200;
|
||||||
|
}
|
||||||
|
|
||||||
|
.job-card {
|
||||||
|
@apply bg-white rounded-lg border border-gray-200 p-6 hover:shadow-lg transition-shadow duration-200;
|
||||||
|
}
|
||||||
|
|
||||||
|
.company-logo {
|
||||||
|
@apply w-12 h-12 rounded-lg object-contain bg-gray-50 p-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.featured-badge {
|
||||||
|
@apply bg-gradient-to-r from-purple-500 to-pink-500 text-white px-3 py-1 rounded-full text-sm font-medium;
|
||||||
|
}
|
||||||
|
}
|
||||||
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>
|
||||||
|
);
|
||||||
24
tailwind.config.js
Normal file
24
tailwind.config.js
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/** @type {import('tailwindcss').Config} */
|
||||||
|
module.exports = {
|
||||||
|
content: [
|
||||||
|
"./src/**/*.{js,jsx,ts,tsx}",
|
||||||
|
],
|
||||||
|
theme: {
|
||||||
|
extend: {
|
||||||
|
colors: {
|
||||||
|
'nest-red': '#e53e3e',
|
||||||
|
'nest-pink': '#e53e3e',
|
||||||
|
'nest-dark': '#1a1a1a',
|
||||||
|
'nest-gray': '#6b7280',
|
||||||
|
'nest-light-gray': '#f3f4f6'
|
||||||
|
},
|
||||||
|
fontFamily: {
|
||||||
|
'sans': ['Inter', 'system-ui', 'sans-serif']
|
||||||
|
},
|
||||||
|
backgroundImage: {
|
||||||
|
'hero-gradient': 'linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%)'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
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