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-website",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"react": "^18.3.1",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-scripts": "^5.0.1",
|
||||
"lucide-react": "^0.400.0",
|
||||
"framer-motion": "^11.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tailwindcss": "^3.4.0",
|
||||
"postcss": "^8.4.0",
|
||||
"autoprefixer": "^10.4.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
"react-app/jest"
|
||||
]
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
">0.2%",
|
||||
"not dead",
|
||||
"not op_mini all"
|
||||
],
|
||||
"development": [
|
||||
"last 1 chrome version",
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
}
|
||||
6
postcss.config.js
Normal file
6
postcss.config.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
plugins: {
|
||||
tailwindcss: {},
|
||||
autoprefixer: {},
|
||||
},
|
||||
}
|
||||
1235
public/index.html
Normal file
1235
public/index.html
Normal file
File diff suppressed because it is too large
Load Diff
32
src/App.js
Normal file
32
src/App.js
Normal file
@@ -0,0 +1,32 @@
|
||||
import React from 'react';
|
||||
import Header from './components/Header';
|
||||
import Hero from './components/Hero';
|
||||
import Features from './components/Features';
|
||||
import EverythingYouNeed from './components/EverythingYouNeed';
|
||||
import DeploySection from './components/DeploySection';
|
||||
import CoursesSection from './components/CoursesSection';
|
||||
import EnterpriseSection from './components/EnterpriseSection';
|
||||
import LivePreview from './components/LivePreview';
|
||||
import SupportSection from './components/SupportSection';
|
||||
import Newsletter from './components/Newsletter';
|
||||
import Footer from './components/Footer';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<Header />
|
||||
<Hero />
|
||||
<Features />
|
||||
<EverythingYouNeed />
|
||||
<DeploySection />
|
||||
<CoursesSection />
|
||||
<EnterpriseSection />
|
||||
<LivePreview />
|
||||
<SupportSection />
|
||||
<Newsletter />
|
||||
<Footer />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
56
src/components/CoursesSection.js
Normal file
56
src/components/CoursesSection.js
Normal file
@@ -0,0 +1,56 @@
|
||||
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 CoursesSection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<div className="bg-gray-100 p-12 rounded-lg">
|
||||
<h2 className="text-3xl font-bold text-nest-dark mb-4">
|
||||
Official NestJS Courses
|
||||
</h2>
|
||||
<p className="text-nest-gray mb-8 leading-relaxed max-w-2xl">
|
||||
Learn everything you need to master NestJS and tackle modern backend applications at any scale.
|
||||
</p>
|
||||
<button className="btn-primary">
|
||||
See courses
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="bg-gray-100 p-12 rounded-lg"
|
||||
>
|
||||
<h2 className="text-3xl font-bold text-nest-dark mb-4">
|
||||
Official NestJS Courses
|
||||
</h2>
|
||||
<p className="text-nest-gray mb-8 leading-relaxed max-w-2xl">
|
||||
Learn everything you need to master NestJS and tackle modern backend applications at any scale.
|
||||
</p>
|
||||
<button className="btn-primary">
|
||||
See courses
|
||||
</button>
|
||||
</motion.div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default CoursesSection;
|
||||
83
src/components/DeploySection.js
Normal file
83
src/components/DeploySection.js
Normal file
@@ -0,0 +1,83 @@
|
||||
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 DeploySection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom">
|
||||
<div className="grid md:grid-cols-2 gap-8">
|
||||
{/* Deploy Card */}
|
||||
<div className="bg-nest-dark text-white p-12 rounded-lg">
|
||||
<h3 className="text-3xl font-bold mb-4">Deploy, mau!</h3>
|
||||
<p className="text-gray-300 mb-8 leading-relaxed">
|
||||
Provision and manage your infrastracture on AWS without the hassle and extra DevOps work.
|
||||
</p>
|
||||
<button className="btn-primary">
|
||||
Start now
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Explore Graph Card */}
|
||||
<div className="bg-nest-red text-white p-12 rounded-lg">
|
||||
<h3 className="text-3xl font-bold mb-4">Explore your graph</h3>
|
||||
<p className="text-red-100 mb-8 leading-relaxed">
|
||||
Identify dependencies and connections between modules, and dive deep into the inner workings of your classes.
|
||||
</p>
|
||||
<button className="bg-white text-nest-red px-8 py-3 rounded-full font-medium hover:bg-gray-100 transition-colors duration-200">
|
||||
Learn more
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom">
|
||||
<div className="grid md:grid-cols-2 gap-8">
|
||||
{/* Deploy Card */}
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="bg-nest-dark text-white p-12 rounded-lg"
|
||||
>
|
||||
<h3 className="text-3xl font-bold mb-4">Deploy, mau!</h3>
|
||||
<p className="text-gray-300 mb-8 leading-relaxed">
|
||||
Provision and manage your infrastracture on AWS without the hassle and extra DevOps work.
|
||||
</p>
|
||||
<button className="btn-primary">
|
||||
Start now
|
||||
</button>
|
||||
</motion.div>
|
||||
|
||||
{/* Explore Graph Card */}
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="bg-nest-red text-white p-12 rounded-lg"
|
||||
>
|
||||
<h3 className="text-3xl font-bold mb-4">Explore your graph</h3>
|
||||
<p className="text-red-100 mb-8 leading-relaxed">
|
||||
Identify dependencies and connections between modules, and dive deep into the inner workings of your classes.
|
||||
</p>
|
||||
<button className="bg-white text-nest-red px-8 py-3 rounded-full font-medium hover:bg-gray-100 transition-colors duration-200">
|
||||
Learn more
|
||||
</button>
|
||||
</motion.div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default DeploySection;
|
||||
67
src/components/EnterpriseSection.js
Normal file
67
src/components/EnterpriseSection.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 EnterpriseSection = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-red bg-support-pattern bg-cover bg-center relative">
|
||||
<div className="absolute inset-0 bg-nest-red/90"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-3xl text-white">
|
||||
<h2 className="text-4xl md:text-5xl font-bold mb-6">
|
||||
The open source platform designed for the future. Build enterprise.
|
||||
</h2>
|
||||
<p className="text-xl text-red-100 mb-8 leading-relaxed">
|
||||
A complete development kit for building scalable server-side apps. Contact us to find out more about expertise consulting, on-site enterprise support, trainings, and private sessions.
|
||||
</p>
|
||||
<button className="bg-white text-nest-red px-8 py-3 rounded-full font-medium hover:bg-gray-100 transition-colors duration-200">
|
||||
Learn more about support offerings
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="section-padding bg-nest-red bg-support-pattern bg-cover bg-center relative"
|
||||
>
|
||||
<div className="absolute inset-0 bg-nest-red/90"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-3xl text-white">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-4xl md:text-5xl font-bold mb-6"
|
||||
>
|
||||
The open source platform designed for the future. Build enterprise.
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.3, 0.8)}
|
||||
className="text-xl text-red-100 mb-8 leading-relaxed"
|
||||
>
|
||||
A complete development kit for building scalable server-side apps. Contact us to find out more about expertise consulting, on-site enterprise support, trainings, and private sessions.
|
||||
</motion.p>
|
||||
<motion.button
|
||||
{...fadeUpPreset(0.4, 0.8)}
|
||||
className="bg-white text-nest-red px-8 py-3 rounded-full font-medium hover:bg-gray-100 transition-colors duration-200"
|
||||
>
|
||||
Learn more about support offerings
|
||||
</motion.button>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default EnterpriseSection;
|
||||
121
src/components/EverythingYouNeed.js
Normal file
121
src/components/EverythingYouNeed.js
Normal file
@@ -0,0 +1,121 @@
|
||||
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 EverythingYouNeed = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const features = [
|
||||
{
|
||||
title: "MODULARITY",
|
||||
description: "Streamline upkeep by organizing applications into self-contained modules.",
|
||||
icon: "https://nestjs.com/puzzle.c9dfc495.svg"
|
||||
},
|
||||
{
|
||||
title: "SCALABILITY",
|
||||
description: "Scale seamlessly with efficient, battle-tested components.",
|
||||
icon: "https://nestjs.com/rocket.518dadfa.svg"
|
||||
},
|
||||
{
|
||||
title: "DEPENDENCY INJECTION",
|
||||
description: "Elevate testability with a sophisticated dependency injection system.",
|
||||
icon: "https://nestjs.com/di.a0b12f44.svg"
|
||||
},
|
||||
{
|
||||
title: "TYPE SAFETY",
|
||||
description: "Mitigate errors through the robust type safety features of TypeScript.",
|
||||
icon: "https://nestjs.com/type-safety.34453790.svg"
|
||||
},
|
||||
{
|
||||
title: "RICH ECOSYSTEM",
|
||||
description: "Explore a rich ecosystem offering versatile tools to craft solutions tailored to your needs.",
|
||||
icon: "https://nestjs.com/ecosystem.eaa69289.svg"
|
||||
},
|
||||
{
|
||||
title: "ENTERPRISE-READY",
|
||||
description: "Trusted by thousands of leading companies and organizations worldwide.",
|
||||
icon: "https://nestjs.com/chip.3b61cda8.svg"
|
||||
},
|
||||
{
|
||||
title: "MICROSERVICES",
|
||||
description: "Create loosely coupled, independently deployable services for increased agility and scalability.",
|
||||
icon: "https://nestjs.com/microservices.e0074903.svg"
|
||||
},
|
||||
{
|
||||
title: "WEB APPS",
|
||||
description: "Build REST APIs, GraphQL APIs, Queues, and real-time & event-driven applications in no time.",
|
||||
icon: "https://nestjs.com/api.67807f71.svg"
|
||||
}
|
||||
];
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<div className="text-center mb-16">
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-nest-dark mb-6">
|
||||
Everything you need..
|
||||
</h2>
|
||||
<p className="text-xl text-nest-gray max-w-3xl mx-auto">
|
||||
Build robust, powerful, and scalable server-side applications and stop reinventing the wheel.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
|
||||
{features.map((feature, index) => (
|
||||
<div key={index} className="text-center p-6">
|
||||
<div className="mb-6">
|
||||
<img src={feature.icon} alt="" className="w-12 h-12 mx-auto" />
|
||||
</div>
|
||||
<h3 className="text-nest-red font-bold text-sm mb-3 tracking-wide">{feature.title}</h3>
|
||||
<p className="text-nest-gray text-sm leading-relaxed">{feature.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom">
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="text-center mb-16"
|
||||
>
|
||||
<h2 className="text-4xl md:text-5xl font-bold text-nest-dark mb-6">
|
||||
Everything you need..
|
||||
</h2>
|
||||
<p className="text-xl text-nest-gray max-w-3xl mx-auto">
|
||||
Build robust, powerful, and scalable server-side applications and stop reinventing the wheel.
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
|
||||
{features.map((feature, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
{...fadeUpPreset(0.2 + (index * 0.05), 0.6)}
|
||||
className="text-center p-6"
|
||||
>
|
||||
<div className="mb-6">
|
||||
<img src={feature.icon} alt="" className="w-12 h-12 mx-auto" />
|
||||
</div>
|
||||
<h3 className="text-nest-red font-bold text-sm mb-3 tracking-wide">{feature.title}</h3>
|
||||
<p className="text-nest-gray text-sm leading-relaxed">{feature.description}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default EverythingYouNeed;
|
||||
75
src/components/Features.js
Normal file
75
src/components/Features.js
Normal file
@@ -0,0 +1,75 @@
|
||||
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 Features = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const features = [
|
||||
{
|
||||
title: "EXTENSIBLE",
|
||||
description: "Provides unparalleled flexibility through its meticulously crafted modular architecture.",
|
||||
icon: "https://nestjs.com/3d.cfabe065.svg"
|
||||
},
|
||||
{
|
||||
title: "VERSATILE",
|
||||
description: "Serves as a robust, elegant, and well-structured foundation for all kinds of server-side applications.",
|
||||
icon: "https://nestjs.com/magic-wand.ff01fe1d.svg"
|
||||
},
|
||||
{
|
||||
title: "PROGRESSIVE",
|
||||
description: "Introduces design patterns and well-established solutions to the Node.js landscape.",
|
||||
icon: "https://nestjs.com/quality.d1d04ce8.svg"
|
||||
}
|
||||
];
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom">
|
||||
<div className="grid md:grid-cols-3 gap-12">
|
||||
{features.map((feature, index) => (
|
||||
<div key={index} className="text-center">
|
||||
<div className="mb-8">
|
||||
<img src={feature.icon} alt="" className="w-16 h-16 mx-auto" />
|
||||
</div>
|
||||
<h3 className="text-nest-red font-bold text-lg mb-4">{feature.title}</h3>
|
||||
<p className="text-nest-gray leading-relaxed">{feature.description}</p>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom">
|
||||
<div className="grid md:grid-cols-3 gap-12">
|
||||
{features.map((feature, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
{...fadeUpPreset(index * 0.1, 0.8)}
|
||||
className="text-center"
|
||||
>
|
||||
<div className="mb-8">
|
||||
<img src={feature.icon} alt="" className="w-16 h-16 mx-auto" />
|
||||
</div>
|
||||
<h3 className="text-nest-red font-bold text-lg mb-4">{feature.title}</h3>
|
||||
<p className="text-nest-gray leading-relaxed">{feature.description}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Features;
|
||||
59
src/components/Footer.js
Normal file
59
src/components/Footer.js
Normal file
@@ -0,0 +1,59 @@
|
||||
import React from 'react';
|
||||
import { Github, X, Linkedin } from 'lucide-react';
|
||||
|
||||
const Footer = () => {
|
||||
return (
|
||||
<footer className="bg-white py-12 border-t border-nest-border">
|
||||
<div className="container-custom">
|
||||
<div className="text-center">
|
||||
{/* Social Links */}
|
||||
<div className="flex justify-center space-x-6 mb-6">
|
||||
<a href="#" className="text-nest-gray hover:text-nest-red transition-colors">
|
||||
<Github className="w-6 h-6" />
|
||||
</a>
|
||||
<a href="#" className="text-nest-gray hover:text-nest-red transition-colors">
|
||||
<X className="w-6 h-6" />
|
||||
</a>
|
||||
<a href="#" className="text-nest-gray hover:text-nest-red transition-colors">
|
||||
<Linkedin className="w-6 h-6" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/* Footer Text */}
|
||||
<div className="text-sm text-nest-gray space-y-2">
|
||||
<p>Released under the MIT License</p>
|
||||
<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>
|
||||
<p>
|
||||
Designed by{' '}
|
||||
<a href="#" className="text-nest-red hover:underline">
|
||||
Jakub Staron
|
||||
</a>
|
||||
, hosted by{' '}
|
||||
<a href="https://www.netlify.com/" className="text-nest-red hover:underline">
|
||||
Netlify
|
||||
</a>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#" className="text-nest-red hover:underline">
|
||||
中文说明
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
};
|
||||
|
||||
export default Footer;
|
||||
87
src/components/Header.js
Normal file
87
src/components/Header.js
Normal file
@@ -0,0 +1,87 @@
|
||||
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-nest-dark/95 backdrop-blur-sm border-b border-gray-800">
|
||||
<div className="container-custom">
|
||||
<div className="flex items-center justify-between h-16">
|
||||
{/* Logo */}
|
||||
<div className="flex items-center">
|
||||
<a href="https://nestjs.com/" className="flex items-center">
|
||||
<img
|
||||
src="https://nestjs.com/logo-small-gradient.0ed287ce.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 font-medium">
|
||||
DOCUMENTATION
|
||||
</a>
|
||||
<a href="#" className="text-white hover:text-nest-red transition-colors font-medium">
|
||||
ENTERPRISE
|
||||
</a>
|
||||
<div className="relative">
|
||||
<button
|
||||
className="flex items-center text-white hover:text-nest-red transition-colors font-medium"
|
||||
onClick={() => setIsResourcesOpen(!isResourcesOpen)}
|
||||
>
|
||||
<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>
|
||||
</nav>
|
||||
|
||||
{/* Social Links */}
|
||||
<div className="hidden md:flex items-center space-x-4">
|
||||
<a href="#" className="text-white hover:text-nest-red transition-colors">
|
||||
<Github className="w-5 h-5" />
|
||||
</a>
|
||||
<a href="#" className="text-white hover:text-nest-red transition-colors">
|
||||
<X className="w-5 h-5" />
|
||||
</a>
|
||||
<a href="#" className="text-white hover:text-nest-red transition-colors">
|
||||
<Linkedin className="w-5 h-5" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{/* 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-nest-dark 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 font-medium">
|
||||
DOCUMENTATION
|
||||
</a>
|
||||
<a href="#" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||
ENTERPRISE
|
||||
</a>
|
||||
<a href="#" className="block px-3 py-2 text-white hover:text-nest-red transition-colors font-medium">
|
||||
<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;
|
||||
80
src/components/Hero.js
Normal file
80
src/components/Hero.js
Normal file
@@ -0,0 +1,80 @@
|
||||
import React from 'react';
|
||||
import { motion, useReducedMotion } from 'framer-motion';
|
||||
import { Github } 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 Hero = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="relative min-h-screen bg-nest-dark bg-hero-pattern bg-cover bg-center bg-no-repeat flex items-center">
|
||||
<div className="absolute inset-0 bg-nest-dark/70"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-3xl">
|
||||
<h1 className="text-5xl md:text-7xl font-bold text-white mb-6">
|
||||
Hello, nest!
|
||||
</h1>
|
||||
<p className="text-xl md:text-2xl text-gray-300 mb-12 leading-relaxed">
|
||||
A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
|
||||
</p>
|
||||
<div className="flex flex-col sm:flex-row gap-4">
|
||||
<button className="btn-primary">
|
||||
Documentation
|
||||
</button>
|
||||
<button className="btn-secondary flex items-center justify-center">
|
||||
<Github className="w-5 h-5 mr-2" />
|
||||
Source code
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<motion.section
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="relative min-h-screen bg-nest-dark bg-hero-pattern bg-cover bg-center bg-no-repeat flex items-center"
|
||||
>
|
||||
<div className="absolute inset-0 bg-nest-dark/70"></div>
|
||||
<div className="container-custom relative z-10">
|
||||
<div className="max-w-3xl">
|
||||
<motion.h1
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-5xl md:text-7xl font-bold text-white mb-6"
|
||||
>
|
||||
Hello, nest!
|
||||
</motion.h1>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.4, 0.8)}
|
||||
className="text-xl md:text-2xl text-gray-300 mb-12 leading-relaxed"
|
||||
>
|
||||
A progressive Node.js framework for building efficient, reliable and scalable server-side applications.
|
||||
</motion.p>
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.6, 0.8)}
|
||||
className="flex flex-col sm:flex-row gap-4"
|
||||
>
|
||||
<button className="btn-primary">
|
||||
Documentation
|
||||
</button>
|
||||
<button className="btn-secondary flex items-center justify-center">
|
||||
<Github className="w-5 h-5 mr-2" />
|
||||
Source code
|
||||
</button>
|
||||
</motion.div>
|
||||
</div>
|
||||
</div>
|
||||
</motion.section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Hero;
|
||||
47
src/components/LivePreview.js
Normal file
47
src/components/LivePreview.js
Normal file
@@ -0,0 +1,47 @@
|
||||
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 LivePreview = () => {
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-dark text-white">
|
||||
<div className="container-custom text-center">
|
||||
<h2 className="text-3xl font-bold mb-4">Live preview</h2>
|
||||
<p className="text-gray-300 max-w-2xl mx-auto leading-relaxed">
|
||||
See how your application may potentially look like without leaving your personal browser.
|
||||
</p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-nest-dark text-white">
|
||||
<div className="container-custom text-center">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="text-3xl font-bold mb-4"
|
||||
>
|
||||
Live preview
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-gray-300 max-w-2xl mx-auto leading-relaxed"
|
||||
>
|
||||
See how your application may potentially look like without leaving your personal browser.
|
||||
</motion.p>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default LivePreview;
|
||||
91
src/components/Newsletter.js
Normal file
91
src/components/Newsletter.js
Normal file
@@ -0,0 +1,91 @@
|
||||
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 shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const handleSubmit = (e) => {
|
||||
e.preventDefault();
|
||||
// Handle newsletter subscription
|
||||
console.log('Newsletter subscription:', email);
|
||||
};
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom text-center">
|
||||
<h2 className="text-3xl font-bold text-nest-dark mb-4">Join our Newsletter</h2>
|
||||
<p className="text-nest-gray mb-8 max-w-2xl mx-auto">
|
||||
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||
</p>
|
||||
<form onSubmit={handleSubmit} className="max-w-md mx-auto flex gap-4">
|
||||
<input
|
||||
type="email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="Enter your email"
|
||||
className="flex-1 px-4 py-3 border border-nest-border rounded-full focus:outline-none focus:border-nest-red"
|
||||
required
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-nest-red text-white px-6 py-3 rounded-full hover:bg-red-600 transition-colors duration-200 flex items-center"
|
||||
>
|
||||
<Send className="w-5 h-5" />
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-nest-light-gray">
|
||||
<div className="container-custom text-center">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="text-3xl font-bold text-nest-dark mb-4"
|
||||
>
|
||||
Join our Newsletter
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-nest-gray mb-8 max-w-2xl mx-auto"
|
||||
>
|
||||
Subscribe to stay up to date with the latest Nest updates, features, and videos!
|
||||
</motion.p>
|
||||
<motion.form
|
||||
{...fadeUpPreset(0.3, 0.8)}
|
||||
onSubmit={handleSubmit}
|
||||
className="max-w-md mx-auto flex gap-4"
|
||||
>
|
||||
<input
|
||||
type="email"
|
||||
value={email}
|
||||
onChange={(e) => setEmail(e.target.value)}
|
||||
placeholder="Enter your email"
|
||||
className="flex-1 px-4 py-3 border border-nest-border rounded-full focus:outline-none focus:border-nest-red"
|
||||
required
|
||||
/>
|
||||
<button
|
||||
type="submit"
|
||||
className="bg-nest-red text-white px-6 py-3 rounded-full hover:bg-red-600 transition-colors duration-200 flex items-center"
|
||||
>
|
||||
<Send className="w-5 h-5" />
|
||||
</button>
|
||||
</motion.form>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Newsletter;
|
||||
158
src/components/SupportSection.js
Normal file
158
src/components/SupportSection.js
Normal file
@@ -0,0 +1,158 @@
|
||||
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 principalSponsors = [
|
||||
{ name: "Trilon", logo: "https://nestjs.com/trilon.22c96544.svg", link: "https://trilon.io/" },
|
||||
{ name: "Red Hat", logo: "https://nestjs.com/red-hat-logo.17d10010.svg", link: "https://www.redhat.com/" },
|
||||
{ name: "Jetbrains", logo: "https://nestjs.com/jetbrains-logo.d24f46f1.svg", link: "https://www.jetbrains.com/" }
|
||||
];
|
||||
|
||||
const goldSponsors = [
|
||||
{ name: "Movavi", logo: "https://nestjs.com/movavi-logo.eee1bd94.svg", link: "https://www.movavi.com/" },
|
||||
{ name: "Handsontable", logo: "https://nestjs.com/handsontable-logo.9006297e.svg", link: "https://handsontable.com/docs/react-data-grid/?utm_source=NestJS_homepage&utm_medium=sponsorship&utm_campaign=library_sponsorship_2024" },
|
||||
{ name: "Arcjet", logo: "https://nestjs.com/arcjet-logo.79e2da28.svg", link: "https://arcjet.com/?ref=nestjs" },
|
||||
{ name: "Crawljobs", logo: "https://nestjs.com/crawljobs-logo.53b333f7.svg", link: "https://www.crawljobs.com/" }
|
||||
];
|
||||
|
||||
const silverSponsors = [
|
||||
{ name: "Netlify", logo: "https://nestjs.com/netlify-logo.9322c2d1.svg", link: "https://www.netlify.com/" },
|
||||
{ name: "SwingDev", logo: "https://nestjs.com/swingdev-logo.168e0bec.svg", link: "https://www.swingdev.io/" },
|
||||
{ name: "Route4Me", logo: "https://nestjs.com/route4me-logo.d07e8982.svg", link: "https://www.route4me.com/" }
|
||||
];
|
||||
|
||||
if (shouldReduceMotion) {
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom text-center">
|
||||
<h2 className="text-3xl font-bold text-nest-dark mb-4">Support us</h2>
|
||||
<p className="text-nest-gray mb-12 max-w-3xl mx-auto leading-relaxed">
|
||||
Nest is an MIT-licensed open-source project. Hence, it grows thanks to the sponsors and support by the amazing backers. Please, consider supporting us!
|
||||
</p>
|
||||
|
||||
{/* Principal Sponsors */}
|
||||
<div className="mb-12">
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">PRINCIPAL SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{principalSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-12" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Gold Sponsors */}
|
||||
<div className="mb-12">
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">GOLD SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{goldSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-10" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Silver Sponsors */}
|
||||
<div className="mb-12">
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">SILVER SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{silverSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-8" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button className="btn-primary">
|
||||
Become a sponsor / backer
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<section className="section-padding bg-white">
|
||||
<div className="container-custom text-center">
|
||||
<motion.h2
|
||||
{...fadeUpPreset(0.1, 0.8)}
|
||||
className="text-3xl font-bold text-nest-dark mb-4"
|
||||
>
|
||||
Support us
|
||||
</motion.h2>
|
||||
<motion.p
|
||||
{...fadeUpPreset(0.2, 0.8)}
|
||||
className="text-nest-gray mb-12 max-w-3xl mx-auto leading-relaxed"
|
||||
>
|
||||
Nest is an MIT-licensed open-source project. Hence, it grows thanks to the sponsors and support by the amazing backers. Please, consider supporting us!
|
||||
</motion.p>
|
||||
|
||||
{/* Principal Sponsors */}
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.3, 0.8)}
|
||||
className="mb-12"
|
||||
>
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">PRINCIPAL SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{principalSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-12" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* Gold Sponsors */}
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.4, 0.8)}
|
||||
className="mb-12"
|
||||
>
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">GOLD SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{goldSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-10" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* Silver Sponsors */}
|
||||
<motion.div
|
||||
{...fadeUpPreset(0.5, 0.8)}
|
||||
className="mb-12"
|
||||
>
|
||||
<h3 className="text-sm font-bold text-nest-gray mb-6 tracking-wide">SILVER SPONSORS</h3>
|
||||
<div className="flex justify-center items-center gap-8 flex-wrap">
|
||||
{silverSponsors.map((sponsor, index) => (
|
||||
<a key={index} href={sponsor.link} className="hover:opacity-75 transition-opacity">
|
||||
<img src={sponsor.logo} alt={sponsor.name} className="h-8" />
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
<motion.button
|
||||
{...fadeUpPreset(0.6, 0.8)}
|
||||
className="btn-primary"
|
||||
>
|
||||
Become a sponsor / backer
|
||||
</motion.button>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default SupportSection;
|
||||
36
src/index.css
Normal file
36
src/index.css
Normal file
@@ -0,0 +1,36 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
@layer base {
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', system-ui, sans-serif;
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
@layer components {
|
||||
.btn-primary {
|
||||
@apply bg-nest-red text-white px-8 py-3 rounded-full font-medium hover:bg-red-600 transition-colors duration-200;
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@apply border-2 border-white text-white px-8 py-3 rounded-full font-medium hover:bg-white hover:text-nest-dark transition-all duration-200;
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
@apply bg-white p-8 rounded-lg shadow-sm hover:shadow-md transition-shadow 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;
|
||||
}
|
||||
}
|
||||
8
src/index.js
Normal file
8
src/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
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(<App />);
|
||||
25
tailwind.config.js
Normal file
25
tailwind.config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
content: [
|
||||
"./src/**/*.{js,jsx,ts,tsx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'nest-red': '#e0234e',
|
||||
'nest-dark': '#1a1a1a',
|
||||
'nest-gray': '#666666',
|
||||
'nest-light-gray': '#f5f5f5',
|
||||
'nest-border': '#e5e5e5'
|
||||
},
|
||||
fontFamily: {
|
||||
'sans': ['Inter', 'system-ui', 'sans-serif']
|
||||
},
|
||||
backgroundImage: {
|
||||
'hero-pattern': "url('https://nestjs.com/header.e5c9eff6.webp')",
|
||||
'support-pattern': "url('https://nestjs.com/support.1356a495.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