A Next.js (App Router) website for The Jagmal Group, optimized for performance and server-side metadata rendering.
- Framework: Next.js 14+ (App Router)
- UI Core: React 18
- Styling: Tailwind CSS & Tailwind Animate
- Primitives: Radix UI Dialog & Slot
- Icons: Lucide React
src/
app/ # Next.js App Router (Layouts, Routing pages & Metadata)
layout.jsx
page.jsx
about/
philanthropy/
hotels/
logistics/
hospitality/
precast/
leadership/
contact/
pages-components/ # Presentational Page Components (Migrated from SPA)
Home.jsx
About.jsx
Hotels.jsx
Logistics.jsx
Hospitality.jsx
Precast.jsx
Leadership.jsx
Contact.jsx
components/ # Shared UI Components (Navbar, Footer, Skyline)
Navbar.jsx
Footer.jsx
CanvasSkyline.jsx
ui/
styles/ # Tailwind stylesheet configurations
App.css
index.css
hooks/
useDocumentMetadata.js # No-op (handled natively by Next.js app metadata)
lib/
utils.js
- Install dependencies:
npm install
- Start development server:
npm run dev
- Build for production:
npm run build
- Start production server:
npm run start
- Ensure
.gitignoreis present. - Do not commit
node_modules/,.next/, ordist/. - Commit source files and config files.
- Push to your GitHub repository.