A Next.js landing page for CROSSLAYERAI - the first persistent AI companion engine for gaming.
- Node.js 18+ installed
- npm or yarn
# Install dependencies
npm install
# Run development server
npm run devOpen http://localhost:3000 to view the site.
npm run buildThe static output will be in the out/ directory.
This project is configured for automatic deployment to GitHub Pages.
-
Push to GitHub:
git init git add . git commit -m "Initial commit" git branch -M main git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO.git git push -u origin main
-
Enable GitHub Pages:
- Go to your repository Settings → Pages
- Under "Build and deployment", select GitHub Actions as the source
-
Automatic Deployment:
- Every push to
mainbranch triggers automatic build and deploy - The workflow file is in
.github/workflows/deploy.yml
- Every push to
If using a custom domain:
- Add a
CNAMEfile in thepublic/folder with your domain - Configure DNS with your domain provider
If your repo is NOT username.github.io (e.g., it's crosslayerai-website):
- Uncomment and update
basePathandassetPrefixinnext.config.js:basePath: '/your-repo-name', assetPrefix: '/your-repo-name/',
The signup form uses Tally. To use your own form:
- Create a form at tally.so
- Get the embed URL
- Update the iframe
data-tally-srcinsrc/app/page.tsx
- Global styles:
src/app/globals.css - CSS variables for colors, fonts are at the top of the file
- Fonts: Rajdhani (headings) + JetBrains Mono (code/accents)
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Pages deployment
├── public/
│ └── .nojekyll # Prevents Jekyll processing
├── src/
│ └── app/
│ ├── layout.tsx # Root layout with metadata
│ ├── page.tsx # Main landing page
│ └── globals.css # All styles
├── next.config.js # Next.js config (static export)
├── package.json
└── tsconfig.json
- Framework: Next.js 14 (App Router)
- Language: TypeScript
- Styling: CSS (no frameworks)
- Forms: Tally.so embed
- Deployment: GitHub Pages via GitHub Actions
© 2024 CrossLayerAI. All rights reserved.