The official documentation and landing page for Newgate — the multi-format backend framework.
This repository contains the source code for the documentation website, built with Astro, React, and Tailwind CSS. It features a modern, "Neon Industrial" aesthetic designed to appeal to backend developers and API engineers.
- Modern Aesthetics: "Neon Industrial" theme with dark mode, high-contrast neon accents, and glassmorphism.
- Interactive Demos: Live multi-format parsing demos (JSON, CSV, XML, Binary) using Framer Motion.
- Comprehensive Docs: Structured documentation layout with sticky sidebars and table of contents.
- Responsive Design: Mobile-first approach ensuring a great experience on all devices.
- Type-Safe: Built with TypeScript for robustness and maintainability.
- Framework: Astro
- UI Library: React
- Styling: Tailwind CSS
- Animations: Framer Motion
- Icons: Lucide React
- Fonts: Space Grotesk (Headings), Inter/Satoshi (Body), JetBrains Mono (Code)
- Node.js v18.0.0 or higher
- npm
-
Clone the repository:
git clone https://github.com/newgatejs/newgate-ui.git cd newgate-ui -
Install dependencies:
npm install
Start the local development server:
npm run devThe site will be available at http://localhost:4321.
Build the project for production:
npm run buildThe output will be in the dist/ folder.
Preview the production build locally:
npm run preview/
├── public/ # Static assets (fonts, icons, etc.)
├── src/
│ ├── components/ # Reusable UI components (React & Astro)
│ ├── layouts/ # Page layouts (Layout.astro)
│ ├── pages/ # Astro pages (file-based routing)
│ ├── styles/ # Global styles and Tailwind directives
│ └── env.d.ts # TypeScript environment definitions
├── astro.config.mjs # Astro configuration
├── tailwind.config.mjs # Tailwind CSS configuration
└── package.json # Project dependencies and scripts
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the simple MIT License.