A modern, responsive real estate website built with React and Vite, featuring smooth animations, property listings, and a professional design.
🔗 View Live Website (GitHub Pages)
- Responsive Design - Works seamlessly on desktop, tablet, and mobile devices
- Interactive Navigation - Smooth scrolling navbar with mobile hamburger menu
- Property Carousel - Browse through property listings with next/prev controls
- Smooth Animations - Framer Motion animations for enhanced user experience
- Modern UI - Clean and professional design with Tailwind CSS
- Company Stats - Display achievements and project statistics
- Mobile-First - Optimized for mobile devices with touch-friendly interactions
- React 19.1.0 - Modern JavaScript library for building user interfaces
- Vite 7.0.4 - Fast build tool and development server
- Tailwind CSS 3.4.17 - Utility-first CSS framework for rapid UI development
- Framer Motion 12.23.6 - Production-ready motion library for React
- ESLint 9.30.1 - JavaScript linting utility for code quality
- PostCSS 8.5.6 - CSS transformation tool
- Autoprefixer 10.4.21 - CSS vendor prefixes automation
- GitHub Pages - Free static site hosting
- Netlify - Alternative deployment platform with continuous deployment
- gh-pages 6.3.0 - Deploy React apps to GitHub Pages
real-estate/
├── public/
│ ├── favicon.svg
│ └── header_img.png
├── src/
│ ├── assets/
│ │ ├── images/
│ │ └── assets.js
│ ├── components/
│ │ ├── Navbar.jsx
│ │ ├── About.jsx
│ │ └── Projects.jsx
│ ├── App.jsx
│ ├── main.jsx
│ └── index.css
├── package.json
├── vite.config.js
└── tailwind.config.js
- Node.js (v16 or higher)
- npm or yarn package manager
-
Clone the repository
git clone https://github.com/SajiniWeerasinghe/Real-Estate-Website.git cd Real-Estate-Website -
Install dependencies
npm install
-
Start development server
npm run dev
-
Open your browser Navigate to
http://localhost:5173
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint for code qualitynpm run deploy- Deploy to GitHub Pages
The website uses Tailwind CSS for styling. You can customize colors, fonts, and spacing by editing the tailwind.config.js file.
- Update company information in
src/components/About.jsx - Add/modify property listings in
src/assets/assets.js - Change images in the
src/assets/directory
Framer Motion animations can be customized in individual components. Adjust timing, transitions, and effects as needed.
This project is deployed on multiple platforms for redundancy and accessibility:
-
Build the project
npm run build
-
Deploy to GitHub Pages
npm run deploy
The site will be available at: https://yourusername.github.io/repository-name
This project is also deployed on Netlify for faster global CDN delivery and additional features:
🌐 Live on Netlify: https://687e7a86dd57dc5d456885db--aesthetic-stroopwafel-8d2818.netlify.app/
Netlify Features:
- Automatic deployments from GitHub
- Global CDN for faster loading
- HTTPS by default
- Branch previews
- Form handling capabilities
- Mobile: < 640px
- Tablet: 640px - 1024px
- Desktop: > 1024px
- 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 MIT License.
Sajini Weerasinghe
- GitHub: @SajiniWeerasinghe
- React team for the amazing framework
- Tailwind CSS for the utility-first CSS framework
- Framer Motion for smooth animations
- Vite for the fast build tool
⭐ If you found this project helpful, please give it a star!