This is a monorepo structure for the Restro FX trading platform website built with Next.js, TypeScript, and Tailwind CSS.
- Install dependencies from the root:
npm installThis will install dependencies for all workspaces (apps/web and packages/*).
Run the development server:
npm run devThis will start the Next.js development server at http://localhost:3000.
Build for production:
npm run buildStart production server:
npm startNote: The design calls for "General Sans" as the body font, but this font is not available on Google Fonts. The current implementation uses Inter as a substitute, which is visually similar.
To use General Sans (if you have a license), you can:
- Add General Sans font files to
apps/web/public/fonts/ - Update
apps/web/app/globals.cssto include a@font-facedeclaration - Update the font-family in
tailwind.config.tsto reference General Sans
RestroFX/
├── apps/
│ └── web/ # Next.js frontend application
├── packages/
│ ├── ui/ # Shared UI components (shadcn-based)
│ ├── config/ # Shared configurations
│ ├── utils/ # Shared utilities
│ └── types/ # Shared TypeScript types
├── package.json # Root workspace configuration
└── README.md
- ✅ Monorepo structure
- ✅ Next.js 14 (App Router)
- ✅ TypeScript (strict mode)
- ✅ Tailwind CSS with custom design system
- ✅ shadcn/ui component architecture
- ✅ Responsive design (mobile-first)
- ✅ All required pages and sections
- ✅ Broker-style navigation and footer
- ✅ Scarlet Red (#BB0000) primary color
- ✅ Typography: Archivo (headings), Inter (body), Poppins (numbers)
- Primary Color: #BB0000 (Scarlet Red)
- Background: White
- Text: Black
- Typography:
- Headings: Archivo (Semibold)
- Body: Inter (Regular/Medium) - General Sans can be added as custom font
- Numbers: Poppins (Medium)
- Install dependencies:
npm install - Run development server:
npm run dev - Customize content as needed
- Add General Sans font if you have a license
- Configure environment variables if needed
- Set up deployment pipeline