- π― Project Overview
- β‘ Quick Start
- π οΈ Tech Stack
- π Project Structure
- π¨ Components Architecture
- π Available Scripts
- π§ Configuration
- π¨ Styling System
- π± Features
- π Deployment
- π§ͺ Testing
- π Performance
- π Integration
- π€ Contributing
- π Resources
- π License
MasterFabric Website is a modern, responsive web application built with Next.js to showcase mobile app development services. It features:
- Interactive UI/UX (code editor simulation, project timeline)
- Mobile-first, fully responsive design
- Performance-optimized with Next.js SSR/SSG/ISR
- Conversion-focused forms and CTAs
- JSON-driven content management
- GDPR-ready cookie management
# Clone the repository
git clone https://github.com/masterfabric-mobile/masterfabric-website.git
cd masterfabric-website
chmod +x run.sh
./run.sh setupnode --version # Should be 18+
npm install # or pnpm/yarn
npm run dev # or pnpm run dev / yarn devπ Your site will be available at: http://localhost:3000
| Category | Technology / Tool | Key Features / Notes |
|---|---|---|
| Framework | Next.js | App Router, SSR/SSG/ISR, API Routes, Image Optimization, SEO, Fast Refresh |
| Styling | Tailwind CSS | Utility-first CSS, responsive design, dark mode, typography plugin |
| Type System | TypeScript | Static typing, safer code, better DX |
| Content | MDX | Markdown + JSX, rich content in blog/docs |
| Icons | Iconify | 100,000+ icons, SVG, easy integration |
| Fonts | Fontsource | Bricolage Grotesque, Inter Variable, self-hosted, performance |
| Image Tools | Sharp | Image optimization, resizing, fast builds |
| Testing | Jest | Unit/integration testing, fast feedback |
| Package Mgmt | PNPM / npm / yarn | Fast, disk-efficient, monorepo support |
| Deployment | Vercel | Zero-config, edge functions, preview/production deploys |
| Hosting | Firebase Hosting | Static export, global CDN, SSL, fast delivery |
| SEO | next-seo | SEO meta tags, Open Graph, Twitter cards |
| Sitemap | next-sitemap | Automatic sitemap generation, robots.txt support |
| Analytics | Google Analytics, Vercel Analytics | Traffic, performance, and engagement monitoring |
| CI/CD | GitHub Actions | Automated builds, tests, and deployments |
masterfabric-website/
βββ package.json # Project dependencies and scripts
βββ next.config.js # Next.js configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ tsconfig.json # TypeScript configuration
βββ run.sh # Development & deployment script
βββ README.md # Project documentation
βββ public/ # Static assets (favicon, images, robots.txt, etc.)
β
βββ src/
βββ app/ # Next.js App Router (routing, layouts, pages)
β βββ layout.tsx
β βββ page.tsx
β βββ globals.css
β βββ about/
β βββ blog/
β βββ contact/
β βββ jobs/
β βββ privacy-policy/
β βββ terms-of-use/
β
βββ assets/ # Images, SVGs, and other media
β
βββ components/ # Reusable UI and feature components
β βββ about/
β βββ cookie/
β βββ forms/
β βββ jobs/
β βββ layout/
β βββ navbar/
β βββ pages/
β βββ timeline/
β βββ ui/
β βββ wrapper/
β
βββ data/ # JSON data files (about, contact, jobs, navigation, etc.)
β
βββ styles/ # Global and modular CSS files
β
βββ utils/ # Utility functions (cookies, performance, etc.)
- Layout Components: Container, Footer, SectionHead, etc.
- Navigation System: Responsive navbar, dropdowns, keyboard navigation
- Interactive Components: Timeline, code editor simulation, splash screen, etc.
- Form Components: Contact forms, validation, benefits
- About Page Components: Animated text, globe, timeline, statistics
- UI Components: Button, Link, Icon, LazyImage
- Privacy & Compliance: CookieBanner, CookieSettingsDialog
| Command | Description |
|---|---|
./run.sh setup |
Complete project setup |
./run.sh dev |
Start development server |
./run.sh build |
Production build |
./run.sh preview |
Preview production build |
./run.sh deploy-vercel |
Deploy to Vercel (preview) |
./run.sh deploy-vercel --prod |
Deploy to Vercel (production) |
./run.sh deploy-firebase |
Deploy to Firebase |
./run.sh deploy-all |
Deploy to all platforms |
./run.sh test |
Setup test environment |
./run.sh help |
Show all available commands |
- Site config:
src/config/site-data.json - Navigation:
src/data/navigation.json - Content:
src/data/about.json,src/data/contact.json,src/data/project-flow.json - TypeScript paths:
tsconfig.json - Tailwind config:
tailwind.config.js
- Tailwind CSS for utility-first styling
- Design tokens for color, typography, spacing
- Responsive breakpoints for mobile-first design
- Animation utilities for transitions and effects
- β‘ Performance & SEO: Optimized for Core Web Vitals, SEO meta tags, sitemap
- π± Responsive Design: Mobile-first, adaptive layouts
- βΏ Accessibility: Keyboard navigation, screen reader support, color contrast
- π Privacy & Compliance: GDPR cookie consent, privacy policy, terms of service
- π¨ Interactive Features: Code editor simulation, project timeline, contact forms
- π οΈ Technical Features: TypeScript, reusable components, asset optimization
- π§ Dev Experience: HMR, import aliases, error boundaries
- Build:
./run.sh buildornpm run build - Vercel Deploy:
./run.sh deploy-vercelor./run.sh deploy-vercel --prod - Firebase Deploy:
./run.sh deploy-firebase - Static Export: Next.js
out/directory for static hosting
- Manual QA: Cross-device, cross-browser, accessibility, performance, security
- Automated Testing: (Planned) Unit, integration, E2E, accessibility
- Test setup:
./run.sh test
- Lighthouse Score: 95+
- Accessibility: 100
- SEO: 100
- PWA: 85+
- Bundle Analysis: See build output
- Optimization: Tree shaking, code splitting, critical CSS, CDN delivery
- Web3Forms - Contact form handling
- Google Analytics - Website analytics
- Vercel Analytics - Performance monitoring
- Firebase - Hosting and potential future features
- Components:
PascalCase.tsx(e.g.,ContactForm.tsx) - Utilities:
camelCase.ts(e.g.,formatDate.ts) - Data Files:
kebab-case.json(e.g.,project-flow.json) - CSS Files:
kebab-case.css(e.g.,navbar-styles.css)
- Fork and clone the repository
- Install dependencies:
./run.sh setup - Create a feature branch:
git checkout -b feature/your-feature-name - Start development:
./run.sh dev - Open a pull request with a clear description
- Tailwind CSS - Styling system
- TypeScript Handbook - Type system
- Component Guidelines - Internal component docs
Β© 2025 MasterFabric Information Technology Inc. All rights reserved.
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
- πͺ Privacy Policy - How we handle user data
- βοΈ Terms of Use - Website usage terms
- π‘οΈ GDPR Compliance - EU privacy regulation compliance
- π Data Security - Industry-standard security practices
This project uses open-source software under various licenses:
- Tailwind CSS - MIT License
- TypeScript - Apache License 2.0
- Various Icon Sets - See individual icon pack licenses
π Ready to get started? Run ./run.sh setup and begin building amazing experiences!