Skip to content

shashanka2a/HackHire-App

Repository files navigation

HackHire Landing Page

A modern, responsive landing page for HackHire - a technical hiring platform. This project has been migrated from React/Vite to Next.js 14 with static export capabilities.

πŸš€ Tech Stack

  • Next.js 14 - React framework with App Router
  • TypeScript - Type-safe development
  • Tailwind CSS v3 - Utility-first CSS framework
  • Radix UI - Accessible component primitives
  • Lucide React - Beautiful icons
  • Framer Motion - Smooth animations

πŸ“ Project Structure

β”œβ”€β”€ pages/                 # Next.js pages (Pages Router)
β”‚   β”œβ”€β”€ _app.tsx          # App wrapper with global styles
β”‚   β”œβ”€β”€ _document.tsx     # HTML document structure
β”‚   └── index.tsx         # Home page
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/       # React components
β”‚   β”‚   β”œβ”€β”€ screens/      # Page components
β”‚   β”‚   β”œβ”€β”€ ui/          # Reusable UI components
β”‚   β”‚   └── Router.tsx   # Client-side routing logic
β”‚   └── index.css        # Global styles and Tailwind imports
β”œβ”€β”€ public/              # Static assets
└── next.config.js       # Next.js configuration

πŸ›  Installation & Setup

  1. Install dependencies:

    npm install
  2. Start development server:

    npm run dev

    Open http://localhost:3000 in your browser.

πŸ“œ Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run start - Start production server
  • npm run lint - Run ESLint
  • npm run export - Build and export static files

πŸš€ Deployment

This project is configured for static export, making it deployable to any static hosting service:

Vercel (Recommended)

npx vercel --prod

Netlify

npm run build
npx netlify deploy --prod --dir=out

GitHub Pages

npm run build
# Deploy the 'out' directory to GitHub Pages

Other Static Hosts

npm run build
# Upload the 'out' directory to your hosting provider

🎨 Design System

The project uses a comprehensive design system with:

  • Dark theme by default
  • Responsive breakpoints for all screen sizes
  • Accessible components built with Radix UI
  • Consistent spacing and typography
  • Modern animations and interactions

πŸ”§ Configuration

Next.js Configuration

The project is configured for static export in next.config.js:

module.exports = {
  output: 'export',
  trailingSlash: true,
  images: { unoptimized: true }
}

Tailwind Configuration

Custom design tokens and animations are defined in tailwind.config.js.

πŸ“± Features

  • Responsive Design - Works on all devices
  • Dark Theme - Modern dark UI
  • Interactive Components - Smooth animations and transitions
  • Accessible - Built with accessibility in mind
  • SEO Optimized - Meta tags and semantic HTML
  • Fast Loading - Optimized for performance

πŸ”„ Migration Notes

This project was successfully migrated from React/Vite to Next.js 14:

  • βœ… Converted Vite configuration to Next.js
  • βœ… Updated Tailwind CSS from v4 to v3 for compatibility
  • βœ… Added "use client" directives for interactive components
  • βœ… Fixed versioned imports from Figma export
  • βœ… Configured for static export
  • βœ… Updated build and deployment scripts

πŸ“„ Original Design

The original Figma design is available at: https://www.figma.com/design/oMaJJur7QiwGmtQrIzo2X4/HackHire-Landing-Page

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly
  5. Submit a pull request

πŸ“ License

This project is part of the HackHire platform.

About

πŸ’» Enabling Hiring through real world challenges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published