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-enterprise",
|
||||
"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
28
src/App.js
Normal file
28
src/App.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import React from 'react';
|
||||
import Header from './components/Header';
|
||||
import Hero from './components/Hero';
|
||||
import AccelerateSection from './components/AccelerateSection';
|
||||
import TeamAugmentation from './components/TeamAugmentation';
|
||||
import CompanyLogos from './components/CompanyLogos';
|
||||
import ServicesSection from './components/ServicesSection';
|
||||
import CTASection from './components/CTASection';
|
||||
import Newsletter from './components/Newsletter';
|
||||
import Footer from './components/Footer';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Header />
|
||||
<Hero />
|
||||
<AccelerateSection />
|
||||
<TeamAugmentation />
|
||||
<CompanyLogos />
|
||||
<ServicesSection />
|
||||
<CTASection />
|
||||
<Newsletter />
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
96
src/components/AccelerateSection.js
Normal file
96
src/components/AccelerateSection.js
Normal file
@@ -0,0 +1,96 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { Check } 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 AccelerateSection = () => {
|
||||
const shouldReduce = useReducedMotion();
|
||||
|
||||
const features = [
|
||||
"Providing technical guidance & architectural reviews",
|
||||
"Mentoring team members",
|
||||
"Advising best practices",
|
||||
"Addressing security & performance concerns",
|
||||
"Performing in-depth code reviews",
|
||||
"Long-term support (LTS) & upgrade assistance"
|
||||
];
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<div className="grid lg:grid-cols-2 gap-12 items-center">
|
||||
<div>
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-nest-dark mb-6">
|
||||
Accelerate your development
|
||||
</h2>
|
||||
<p className="text-gray-600 mb-6 leading-relaxed">
|
||||
We work alongside you to meet your deadlines while avoiding costly tech debt. Challenging issue? We've got you covered.
|
||||
</p>
|
||||
<p className="text-gray-600 mb-8 leading-relaxed">
|
||||
Our goal is to help you get to market faster. Nest core team members will help you utilize best practices and choose the right strategy for unique goals.
|
||||
</p>
|
||||
<button className="text-nest-red font-medium hover:underline">
|
||||
Contact us to learn more
|
||||
</button>
|
||||
</div>
|
||||
<div className="space-y-4">
|
||||
{features.map((feature, index) => (
|
||||
<div key={index} className="flex items-start space-x-3">
|
||||
<Check className="w-5 h-5 text-green-500 mt-1 flex-shrink-0" />
|
||||
<span className="text-gray-700">{feature}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-white"
|
||||
>
|
||||
<div className="container-custom">
|
||||
<div className="grid lg:grid-cols-2 gap-12 items-center">
|
||||
<motion.div {...fadeUpPreset(0.2, 1.0)}>
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-nest-dark mb-6">
|
||||
Accelerate your development
|
||||
</h2>
|
||||
<p className="text-gray-600 mb-6 leading-relaxed">
|
||||
We work alongside you to meet your deadlines while avoiding costly tech debt. Challenging issue? We've got you covered.
|
||||
</p>
|
||||
<p className="text-gray-600 mb-8 leading-relaxed">
|
||||
Our goal is to help you get to market faster. Nest core team members will help you utilize best practices and choose the right strategy for unique goals.
|
||||
</p>
|
||||
<button className="text-nest-red font-medium hover:underline">
|
||||
Contact us to learn more
|
||||
</button>
|
||||
</motion.div>
|
||||
<motion.div {...fadeUpPreset(0.3, 1.0)} className="space-y-4">
|
||||
{features.map((feature, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
{...fadeUpPreset(0.4 + index * 0.05, 0.8)}
|
||||
className="flex items-start space-x-3"
|
||||
>
|
||||
<Check className="w-5 h-5 text-green-500 mt-1 flex-shrink-0" />
|
||||
<span className="text-gray-700">{feature}</span>
|
||||
</motion.div>
|
||||
))}
|
||||
</motion.div>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default AccelerateSection;
|
||||
61
src/components/CTASection.js
Normal file
61
src/components/CTASection.js
Normal file
@@ -0,0 +1,61 @@
|
||||
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 CTASection = () => {
|
||||
const shouldReduce = useReducedMotion();
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-dark text-white text-center">
|
||||
<div className="container-custom">
|
||||
<h2 className="text-3xl md:text-4xl font-bold mb-4">
|
||||
Explore enterprise services today.
|
||||
</h2>
|
||||
<p className="text-lg mb-8 opacity-90">
|
||||
Let's achieve your most ambitious goals - together.
|
||||
</p>
|
||||
<button className="btn-primary">
|
||||
Contact us
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-nest-dark text-white text-center"
|
||||
>
|
||||
<div className="container-custom">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-3xl md:text-4xl font-bold mb-4"
|
||||
>
|
||||
Explore enterprise services today.
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-lg mb-8 opacity-90"
|
||||
>
|
||||
Let's achieve your most ambitious goals - together.
|
||||
</motion.p>
|
||||
<motion.button
|
||||
{...fadeUpPreset(0.4, 1.0)}
|
||||
className="btn-primary"
|
||||
>
|
||||
Contact us
|
||||
</motion.button>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default CTASection;
|
||||
118
src/components/CompanyLogos.js
Normal file
118
src/components/CompanyLogos.js
Normal file
@@ -0,0 +1,118 @@
|
||||
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 CompanyLogos = () => {
|
||||
const shouldReduce = useReducedMotion();
|
||||
|
||||
const companies = [
|
||||
{ name: "Sanofi", logo: "https://enterprise.nestjs.com/sanofi.b18c1526.png", url: "https://www.sanofi.com/" },
|
||||
{ name: "Adidas", logo: "https://enterprise.nestjs.com/adidas.718f26f2.svg", url: "https://adidas.com/" },
|
||||
{ name: "Autodesk", logo: "https://enterprise.nestjs.com/autodesk.a7f2b58e.png", url: "https://www.autodesk.com/" },
|
||||
{ name: "Mercedes", logo: "https://enterprise.nestjs.com/mercedes.ee8047a9.png", url: "https://www.mercedes-benz.com/" },
|
||||
{ name: "GitLab", logo: "https://enterprise.nestjs.com/gitlab.4f9d2995.png", url: "https://about.gitlab.com/" },
|
||||
{ name: "Red Hat", logo: "https://enterprise.nestjs.com/red-hat.c5e6e64a.svg", url: "https://www.redhat.com/" },
|
||||
{ name: "JetBrains", logo: "https://enterprise.nestjs.com/jetbrains.536f2da5.svg", url: "https://www.jetbrains.com/" },
|
||||
{ name: "Roche", logo: "https://enterprise.nestjs.com/roche-logo.979d9061.png", url: "https://roche.com/" },
|
||||
{ name: "IBM", logo: "https://enterprise.nestjs.com/ibm.b8c76e06.svg", url: "https://www.ibm.com/" },
|
||||
{ name: "Société Générale", logo: "https://enterprise.nestjs.com/societe-generale-logo.ec64d013.png", url: "https://www.societegenerale.fr/" },
|
||||
{ name: "TotalEnergies", logo: "https://enterprise.nestjs.com/totalenergies.5a993082.svg", url: "https://totalenergies.com/" },
|
||||
{ name: "Decathlon", logo: "https://enterprise.nestjs.com/decathlon.1f3c4744.png", url: "https://www.decathlon.com/" },
|
||||
{ name: "Capgemini", logo: "https://enterprise.nestjs.com/capgemini.a1d43b77.svg", url: "https://capgemini.com/" },
|
||||
{ name: "REWE", logo: "https://enterprise.nestjs.com/rewe.1250e1e4.svg", url: "https://www.rewe-digital.com/" },
|
||||
{ name: "BMW", logo: "https://enterprise.nestjs.com/bmw.0ce4c05c.svg", url: "#" }
|
||||
];
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom text-center">
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-nest-dark mb-4">
|
||||
Who is using Nest?
|
||||
</h2>
|
||||
<p className="text-gray-600 mb-12">
|
||||
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 className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8 items-center">
|
||||
{companies.map((company, index) => (
|
||||
<div key={index} className="flex items-center justify-center h-16">
|
||||
{company.url !== "#" ? (
|
||||
<a href={company.url} className="opacity-60 hover:opacity-100 transition-opacity">
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="max-h-12 max-w-full object-contain filter grayscale hover:grayscale-0 transition-all"
|
||||
/>
|
||||
</a>
|
||||
) : (
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="max-h-12 max-w-full object-contain opacity-60 filter grayscale"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-nest-light-gray"
|
||||
>
|
||||
<div className="container-custom text-center">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-3xl md:text-4xl font-bold text-nest-dark mb-4"
|
||||
>
|
||||
Who is using Nest?
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-gray-600 mb-12"
|
||||
>
|
||||
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>.
|
||||
</motion.p>
|
||||
<div className="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-8 items-center">
|
||||
{companies.map((company, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
{...fadeUpPreset(0.4 + index * 0.05, 0.8)}
|
||||
className="flex items-center justify-center h-16"
|
||||
>
|
||||
{company.url !== "#" ? (
|
||||
<a href={company.url} className="opacity-60 hover:opacity-100 transition-opacity">
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="max-h-12 max-w-full object-contain filter grayscale hover:grayscale-0 transition-all"
|
||||
/>
|
||||
</a>
|
||||
) : (
|
||||
<img
|
||||
src={company.logo}
|
||||
alt={company.name}
|
||||
className="max-h-12 max-w-full object-contain opacity-60 filter grayscale"
|
||||
/>
|
||||
)}
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default CompanyLogos;
|
||||
43
src/components/Footer.js
Normal file
43
src/components/Footer.js
Normal file
@@ -0,0 +1,43 @@
|
||||
import React from 'react';
|
||||
import { Github, X } from 'lucide-react';
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer className="bg-white py-8 border-t border-gray-200">
|
||||
<div className="container-custom">
|
||||
<div className="flex flex-col items-center space-y-4">
|
||||
<div className="flex items-center space-x-4">
|
||||
<a href="https://github.com/nestjs/nest" className="text-gray-400 hover:text-nest-red transition-colors">
|
||||
<Github className="w-5 h-5" />
|
||||
</a>
|
||||
<a href="https://twitter.com/nestframework" className="text-gray-400 hover:text-nest-red transition-colors">
|
||||
<X className="w-5 h-5" />
|
||||
</a>
|
||||
</div>
|
||||
<div className="text-center 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 className="mt-1">
|
||||
Copyright © 2017- 2026{' '}
|
||||
<a href="#" className="text-nest-red hover:underline">
|
||||
Kamil Mysliwiec
|
||||
</a>
|
||||
</p>
|
||||
<p className="mt-1">
|
||||
Designed by{' '}
|
||||
<a href="#" className="text-nest-red hover:underline">
|
||||
Jakub Staron
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
76
src/components/Header.js
Normal file
76
src/components/Header.js
Normal file
@@ -0,0 +1,76 @@
|
||||
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">
|
||||
<div className="container-custom">
|
||||
<div className="flex items-center justify-between h-16">
|
||||
{/* Logo */}
|
||||
<div className="flex items-center">
|
||||
<a href="https://enterprise.nestjs.com/" className="flex items-center">
|
||||
<img
|
||||
src="https://enterprise.nestjs.com/logo-small-gradient.76616405.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-nest-red transition-colors">
|
||||
OUR WEBSITE
|
||||
</a>
|
||||
<a href="#" className="text-white hover:text-nest-red transition-colors">
|
||||
COURSES
|
||||
</a>
|
||||
<div className="relative group">
|
||||
<button className="flex items-center text-white hover:text-nest-red transition-colors">
|
||||
<span className="bg-nest-red text-white text-xs px-2 py-1 rounded mr-2">NEW</span>
|
||||
RESOURCES
|
||||
<ChevronDown className="ml-1 w-4 h-4" />
|
||||
</button>
|
||||
</div>
|
||||
<a href="https://github.com/nestjs/nest" 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 */}
|
||||
<button
|
||||
className="md:hidden text-white"
|
||||
onClick={() => setIsMenuOpen(!isMenuOpen)}
|
||||
>
|
||||
{isMenuOpen ? <X className="w-6 h-6" /> : <Menu className="w-6 h-6" />}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Mobile Navigation */}
|
||||
{isMenuOpen && (
|
||||
<div className="md:hidden bg-black/95 backdrop-blur-sm border-t border-gray-800">
|
||||
<div className="px-2 pt-2 pb-3 space-y-1">
|
||||
<a href="#" className="block px-3 py-2 text-white hover:text-nest-red transition-colors">
|
||||
OUR WEBSITE
|
||||
</a>
|
||||
<a href="#" className="block px-3 py-2 text-white hover:text-nest-red transition-colors">
|
||||
COURSES
|
||||
</a>
|
||||
<a href="#" className="block px-3 py-2 text-white hover:text-nest-red transition-colors">
|
||||
<span className="bg-nest-red text-white text-xs px-2 py-1 rounded mr-2">NEW</span>
|
||||
RESOURCES
|
||||
</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 shouldReduce = useReducedMotion();
|
||||
|
||||
if (shouldReduce) {
|
||||
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/60"></div>
|
||||
<div className="relative z-10 container-custom text-center text-white">
|
||||
<h1 className="text-4xl md:text-6xl font-bold mb-6">
|
||||
Official support
|
||||
</h1>
|
||||
<p className="text-lg md:text-xl mb-8 max-w-2xl mx-auto leading-relaxed">
|
||||
Our Experts become your development partner to eliminate project risk, tackling the most ambitious projects - right by your side.
|
||||
</p>
|
||||
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
||||
<button className="btn-primary">
|
||||
Get in touch
|
||||
</button>
|
||||
<button className="btn-secondary">
|
||||
Read more
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
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/60"></div>
|
||||
<div className="relative z-10 container-custom text-center text-white">
|
||||
<motion.h1
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-4xl md:text-6xl font-bold mb-6"
|
||||
>
|
||||
Official support
|
||||
</motion.h1>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-lg md:text-xl mb-8 max-w-2xl mx-auto leading-relaxed"
|
||||
>
|
||||
Our Experts become your development partner to eliminate project risk, tackling the most ambitious projects - right by your side.
|
||||
</motion.p>
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.4, 1.0)}
|
||||
className="flex flex-col sm:flex-row gap-4 justify-center"
|
||||
>
|
||||
<button className="btn-primary">
|
||||
Get in touch
|
||||
</button>
|
||||
<button className="btn-secondary">
|
||||
Read more
|
||||
</button>
|
||||
</motion.div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Hero;
|
||||
102
src/components/Newsletter.js
Normal file
102
src/components/Newsletter.js
Normal file
@@ -0,0 +1,102 @@
|
||||
import React, { useState } from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { Send } 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 [email, setEmail] = useState('');
|
||||
const shouldReduce = useReducedMotion();
|
||||
|
||||
const handleSubmit = (e) => {
|
||||
e.preventDefault();
|
||||
console.log('Newsletter signup:', email);
|
||||
setEmail('');
|
||||
};
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom">
|
||||
<div className="max-w-2xl mx-auto text-center">
|
||||
<h2 className="text-2xl md:text-3xl font-bold text-nest-dark mb-4">
|
||||
Join our Newsletter
|
||||
</h2>
|
||||
<p className="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"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="Enter your email"
|
||||
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-nest-red focus:border-transparent"
|
||||
required
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-nest-red hover:bg-red-600 text-white px-6 py-3 rounded-lg transition-colors flex items-center justify-center gap-2"
|
||||
>
|
||||
<Send className="w-4 h-4" />
|
||||
Subscribe
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-nest-light-gray"
|
||||
>
|
||||
<div className="container-custom">
|
||||
<div className="max-w-2xl mx-auto text-center">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-2xl md:text-3xl font-bold text-nest-dark mb-4"
|
||||
>
|
||||
Join our Newsletter
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-gray-600 mb-8"
|
||||
>
|
||||
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||
</motion.p>
|
||||
<motion.form
|
||||
{...fadeUpPreset(0.4, 1.0)}
|
||||
onSubmit={handleSubmit}
|
||||
className="flex flex-col sm:flex-row gap-4 max-w-md mx-auto"
|
||||
>
|
||||
<input
|
||||
type="email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="Enter your email"
|
||||
className="flex-1 px-4 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-nest-red focus:border-transparent"
|
||||
required
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-nest-red hover:bg-red-600 text-white px-6 py-3 rounded-lg transition-colors flex items-center justify-center gap-2"
|
||||
>
|
||||
<Send className="w-4 h-4" />
|
||||
Subscribe
|
||||
</button>
|
||||
</motion.form>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Newsletter;
|
||||
131
src/components/ServicesSection.js
Normal file
131
src/components/ServicesSection.js
Normal file
@@ -0,0 +1,131 @@
|
||||
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 ServicesSection = () => {
|
||||
const shouldReduce = useReducedMotion();
|
||||
|
||||
const services = [
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/startup.b4dbf43d.svg",
|
||||
title: "DEVELOPMENT",
|
||||
description: "Achieve your goals faster with Nest experts on your team tackling challenging issues right by your side."
|
||||
},
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/conversation.2689303c.svg",
|
||||
title: "TECHNICAL GUIDANCE",
|
||||
description: "Enable your team to get the most out of the technology. Ensure your solutions are secure and reliable."
|
||||
},
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/big-data.88454030.svg",
|
||||
title: "MIGRATION ASSISTANCE",
|
||||
description: "We provide a comprehensive migration assistance, ensuring you are using the latest and greatest."
|
||||
},
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/puzzle.a43aa4b7.svg",
|
||||
title: "IN-DEPTH CODE REVIEWS",
|
||||
description: "Frequent code reviews can eliminate potentially hazardous bugs and issues at an early stage while enforcing best practices."
|
||||
},
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/protect.5939735a.svg",
|
||||
title: "LONG-TERM SUPPORT (LTS)",
|
||||
description: "Have peace of mind with Nest long-term support (LTS), priority fixes, upgrade assistance, and live troubleshooting."
|
||||
},
|
||||
{
|
||||
icon: "https://enterprise.nestjs.com/hired.123ab98d.svg",
|
||||
title: "TEAM TRAININGS",
|
||||
description: "Level-up your team by having expert-led Nest trainings or workshops. Get everyone up-to-speed quickly."
|
||||
}
|
||||
];
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<div className="text-center mb-16">
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-nest-dark mb-4">
|
||||
How can we help you be successful?
|
||||
</h2>
|
||||
<p className="text-gray-600 max-w-2xl mx-auto">
|
||||
Nest Enterprise Consulting includes a broad range of services to empower your team. We help you grow your business even long after our commitment is done.
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
{services.map((service, index) => (
|
||||
<div key={index} className="text-center p-6">
|
||||
<div className="w-16 h-16 mx-auto mb-4">
|
||||
<img
|
||||
src={service.icon}
|
||||
alt={service.title}
|
||||
className="w-full h-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
<h3 className="text-sm font-bold text-nest-red mb-3 tracking-wide">
|
||||
{service.title}
|
||||
</h3>
|
||||
<p className="text-gray-600 leading-relaxed">
|
||||
{service.description}
|
||||
</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-white"
|
||||
>
|
||||
<div className="container-custom">
|
||||
<div className="text-center mb-16">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-3xl md:text-4xl font-bold text-nest-dark mb-4"
|
||||
>
|
||||
How can we help you be successful?
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-gray-600 max-w-2xl mx-auto"
|
||||
>
|
||||
Nest Enterprise Consulting includes a broad range of services to empower your team. We help you grow your business even long after our commitment is done.
|
||||
</motion.p>
|
||||
</div>
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
{services.map((service, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
{...fadeUpPreset(0.4 + index * 0.1, 1.0)}
|
||||
className="text-center p-6"
|
||||
>
|
||||
<div className="w-16 h-16 mx-auto mb-4">
|
||||
<img
|
||||
src={service.icon}
|
||||
alt={service.title}
|
||||
className="w-full h-full object-contain"
|
||||
/>
|
||||
</div>
|
||||
<h3 className="text-sm font-bold text-nest-red mb-3 tracking-wide">
|
||||
{service.title}
|
||||
</h3>
|
||||
<p className="text-gray-600 leading-relaxed">
|
||||
{service.description}
|
||||
</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default ServicesSection;
|
||||
67
src/components/TeamAugmentation.js
Normal file
67
src/components/TeamAugmentation.js
Normal file
@@ -0,0 +1,67 @@
|
||||
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 shouldReduce = useReducedMotion();
|
||||
|
||||
if (shouldReduce) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-red text-white relative overflow-hidden">
|
||||
<div className="absolute right-0 top-0 bottom-0 w-1/3 bg-support-pattern bg-contain bg-no-repeat bg-right opacity-20"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-2xl">
|
||||
<h2 className="text-3xl md:text-4xl font-bold mb-6">
|
||||
Team augmentation. By your side at every step
|
||||
</h2>
|
||||
<p className="text-lg mb-8 leading-relaxed opacity-90">
|
||||
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 font-medium px-8 py-3 rounded-full hover:bg-gray-100 transition-colors">
|
||||
Contact us to learn more
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 1.0)}
|
||||
className="section-padding bg-nest-red text-white relative overflow-hidden"
|
||||
>
|
||||
<div className="absolute right-0 top-0 bottom-0 w-1/3 bg-support-pattern bg-contain bg-no-repeat bg-right opacity-20"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-2xl">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 1.0)}
|
||||
className="text-3xl md:text-4xl font-bold mb-6"
|
||||
>
|
||||
Team augmentation. By your side at every step
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 1.0)}
|
||||
className="text-lg mb-8 leading-relaxed opacity-90"
|
||||
>
|
||||
Nest core team members can work directly with your team on a daily basis to help take your project to the next-level. Let us partner with you and your team to develop the most ambitious projects.
|
||||
</motion.p>
|
||||
<motion.button
|
||||
{...fadeUpPreset(0.4, 1.0)}
|
||||
className="bg-white text-nest-red font-medium px-8 py-3 rounded-full hover:bg-gray-100 transition-colors"
|
||||
>
|
||||
Contact us to learn more
|
||||
</motion.button>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default TeamAugmentation;
|
||||
27
src/index.css
Normal file
27
src/index.css
Normal file
@@ -0,0 +1,27 @@
|
||||
@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 font-medium px-8 py-3 rounded-full transition-colors duration-200;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply border-2 border-white text-white hover:bg-white hover:text-nest-dark font-medium px-8 py-3 rounded-full transition-all duration-200;
|
||||
}
|
||||
|
||||
.section-padding {
|
||||
@apply py-16 md:py-24;
|
||||
}
|
||||
|
||||
.container-custom {
|
||||
@apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
|
||||
}
|
||||
}
|
||||
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>
|
||||
);
|
||||
26
tailwind.config.js
Normal file
26
tailwind.config.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
"./src/**/*.{js,jsx,ts,tsx}",
|
||||
"./public/index.html"
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'nest-red': '#e53e3e',
|
||||
'nest-pink': '#ed64a6',
|
||||
'nest-dark': '#1a202c',
|
||||
'nest-gray': '#2d3748',
|
||||
'nest-light-gray': '#f7fafc'
|
||||
},
|
||||
fontFamily: {
|
||||
'sans': ['Inter', 'system-ui', 'sans-serif']
|
||||
},
|
||||
backgroundImage: {
|
||||
'hero-pattern': "url('https://enterprise.nestjs.com/header-2.50296714.jpg')",
|
||||
'support-pattern': "url('https://enterprise.nestjs.com/support.cbdb04e7.png')"
|
||||
}
|
||||
}
|
||||
},
|
||||
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