mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-28 21:44:38 +00:00
- 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.
16 lines
520 B
TypeScript
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;
|