Files
openhuman/lander/next.config.ts
T
Steven Enamakel 82c209b252 feat: initialize Next.js landing page with essential configurations and components
- Added .gitignore to exclude unnecessary files and directories.
- Created ESLint configuration for code quality enforcement.
- Set up Next.js configuration file for project settings.
- Established package.json with dependencies for React, Next.js, and TypeScript.
- Configured PostCSS for Tailwind CSS integration.
- Developed foundational components including layout, global styles, and animated backgrounds.
- Implemented feedback system components for user interaction and feedback management.
- Added README for project documentation and setup instructions.
2026-03-19 10:38:38 -07:00

16 lines
520 B
TypeScript

import type { NextConfig } from "next";
// Enables static export so the landing site can be hosted on GitHub Pages.
// `NEXT_PUBLIC_BASE_PATH` is used so project pages can be deployed under `/${repo}`.
const basePath = process.env.NEXT_PUBLIC_BASE_PATH;
const normalizedBasePath = basePath && basePath.trim().length > 0 ? basePath : undefined;
const nextConfig: NextConfig = {
output: "export",
trailingSlash: true,
basePath: normalizedBasePath,
assetPrefix: normalizedBasePath,
};
export default nextConfig;