This is the standalone landing page for Krain, extracted from the monorepo.
- Node.js 20.x
- pnpm 10.x
pnpm installpnpm devOpen http://localhost:3000 in your browser.
pnpm buildpnpm startlanding-page/
├── src/
│ ├── app/ # Next.js app directory
│ ├── components/ # React components
│ │ ├── ui/ # UI components (Button, Card, Accordion, etc.)
│ │ └── icons/ # Icon components
│ ├── sections/ # Page sections
│ └── lib/ # Utility functions
├── public/ # Static assets
└── ...config files
This repository was extracted from the krain-apps monorepo. The following changes were made:
-
UI Components: Copied only the required components from
@krain/uipackage:- accordion, button, card, custom-carousel, tooltip
- Icons: logo-coinmarketcap, logo-medium, logo-telegram, XLogo
- lib/utils (cn function)
-
Dependencies: All workspace dependencies have been converted to regular npm packages
-
Imports: All
@krain/uiimports updated to local@/imports -
Configuration: TypeScript and ESLint configs are now standalone
pnpm dev- Start development server with Turbopackpnpm build- Build for productionpnpm start- Start production serverpnpm lint- Run ESLintpnpm clean- Clean build artifacts
No environment variables are currently required for the landing page.
- Next.js 15
- React 19
- TypeScript 5
- Tailwind CSS 4
- Radix UI components