HTMLCorporate Website

Villas-Template — HTML Business Template

By tanmaybamdale

A static HTML website template for villa rentals, resorts, and real estate showcases, built with Tailwind CSS, GSAP, and vanilla JavaScript.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

3 previews
Desktop homepage1 / 3
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 3

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-03View source

What stands out

A quick read of the recorded project description.

01

Purely static HTML template; pages consist of HTML, custom CSS, and vanilla JavaScript

02

Styling organized with Tailwind CSS; brand colors centrally configured in config.js

03

Scroll-triggered animations and transitions implemented with GSAP

04

Villa listing page offers a grid layout and modal gallery with thumbnail switching

05

Booking form validates input and compiles stay information into a preformatted message sent via WhatsApp

06

Villa data and contact details centralized in data.js for easy replacement with your own content

Template Details

Villas-Template (referred to as Earthcon Villas in the repository) is a purely static luxury villa website template. The source consists of HTML pages, custom CSS, and vanilla JavaScript, with styling based on Tailwind CSS, animations using GSAP, icons from Font Awesome, and fonts from Google Fonts.

The page structure includes a home page, an about page, a villa listing page, a facilities page, and a booking page. The home page provides an image carousel and a preview of featured villas; the villa listing page displays properties in a grid and supports opening a modal gallery on click; the booking page contains a contact form with validation and compiles the name, contact details, check-in and check-out dates, selected villa, number of guests, and special requests into a preformatted message sent via WhatsApp. Villa information and contact details are centralized in data.js, and brand colors are configured in config.js.

Before use, you need to replace the sample images in the images directory and change the WhatsApp number and email address in data.js to your own information; the README also notes that Google Maps integration requires an additional API key and is an optional configuration. The template runs as static files, either by opening index.html directly or hosting it with a local server, and does not include a backend, database, or online payment logic. The code is MIT licensed and can be used, modified, and distributed for free, but third-party assets such as demo images, fonts, and icons must be checked separately under their respective licenses.

HTMLCorporate website

Is it right for your project?

Use Cases

  • Property showcase and booking inquiry pages for villa short-term rentals or vacation homes
  • Facilities introduction and image display for resort websites
  • Property listing pages for real estate agencies or development projects
  • Small accommodation sites using WhatsApp as the primary communication channel

Suitable For

  • Villa or resort websites that need static hosting without backend services
  • Front-end developers who want to quickly build showcase pages with Tailwind CSS and GSAP
  • Operators who accept WhatsApp as the booking entry point and do not yet need online payments

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    After cloning the repository, you can open index.html directly or host it with a local server such as python -m http.server or npx http-server

  2. 2

    Replace the sample images in the images directory and update the image paths in data.js accordingly

  3. 3

    Fill in your own phone, WhatsApp number, email, and address in contactInfo in data.js

  4. 4

    Adjust color values such as brand-gold, brand-dark, and brand-cream in config.js to match your brand

  5. 5

    Google Maps integration requires applying for your own API key and is an optional configuration

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version under the MIT license in the public repository; the free scope applies to that version's code and does not mean external services or third-party assets are free.

Must comply with when using

  • You may use, modify, commercially use, and distribute the code of this version for free.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the full MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Google Maps integration requires applying for your own API key and is an optional configuration; without it, that map feature is unavailable, and other template features are unaffected.
  • Booking inquiries rely on WhatsApp; you must configure your own WhatsApp number in data.js, otherwise booking messages cannot be sent.
  • The sample images in the images directory must be replaced with your own images and the paths in data.js updated accordingly, otherwise the pages display demo assets.
  • Placeholder images come from Unsplash and must be checked separately under Unsplash's own license; the MIT license does not cover these third-party assets.
  • Demo images, fonts, icons, and other third-party assets must be checked under their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Google Maps integration requires API key (optional)

Original README

WhatsApp number needs to be configured

Original README

Image paths need to be updated with your own images

Original README

[Unsplash](https://unsplash.com/) for placeholder images

Original README
https://github.com/tanmaybamdale/Villas-Template/blob/main/LICENSE.txthttps://github.com/tanmaybamdale/Villas-Template/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-03. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 83 / 100
Technologies
HTML
Website type
Corporate Website
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-01-01
Screenshot last checked
2026-10-03

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies HTML as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Review declaration: [email protected] · 2026-10-04

Inspect the recorded source material

SHA-256: bf2453e580d7f8b334ffcc2352678874594f1d2b807e10a703297cfa51719b58

2026-10-03T23:20:18.607Z

Source file / repository
# 🏡 Earthcon Villas - Luxury Villa Website Template

A stunning, modern website template for luxury villa rentals, resorts, or real estate properties. Built with vanilla JavaScript, Tailwind CSS, and GSAP animations.

![Earthcon Villas Preview](images/villa1/v1.jpeg)

## ✨ Features

- 🎨 **Modern & Elegant Design** - Clean, luxury-focused UI with smooth animations
- 📱 **Fully Responsive** - Works seamlessly on desktop, tablet, and mobile
- ⚡ **Fast & Lightweight** - No heavy frameworks, pure vanilla JS
- 🎭 **GSAP Animations** - Smooth scroll-triggered animations and transitions
- 🖼️ **Interactive Gallery** - Modal image viewer with thumbnail navigation
- 📧 **WhatsApp Integration** - Direct booking inquiries via WhatsApp
- 🎯 **SEO Friendly** - Semantic HTML structure
- 🎨 **Customizable** - Easy to modify colors, content, and images

## 🚀 Live Demo

[View Live Demo](https://tanmaybamdale.github.io/Villas-Template/) 

## 🛠️ Technologies Used

- **HTML5** - Semantic markup
- **CSS3** - Custom styles with Tailwind CSS
- **JavaScript (ES6+)** - Vanilla JS for functionality
- **Tailwind CSS** - Utility-first CSS framework
- **GSAP** - Professional-grade animation library
- **Font Awesome** - Icon library
- **Google Fonts** - Playfair Display & Lato

## 📁 Project Structure

```
earthcon-villas/
├── index.html          # Homepage
├── about.html          # About page
├── villas.html         # Villa listings
├── amenities.html      # Amenities page
├── book.html           # Booking page
├── style.css           # Custom CSS styles
├── config.js           # Tailwind configuration
├── data.js             # Villa data and content
├── utils.js            # Utility functions
├── script.js           # Main JavaScript
├── images/             # Image assets
│   ├── villa1/
│   ├── villa2/
│   ├── villa3/
│   └── villa4/
└── README.md
```

## 🚀 Getting Started

### Prerequisites

- A modern web browser
- A text editor (VS Code recommended)
- Basic knowledge of HTML, CSS, and JavaScript

### Installation

1. **Clone the repository**
   ```bash
   git clone https://github.com/yourusername/earthcon-villas.git
   ```

2. **Navigate to project directory**
   ```bash
   cd earthcon-villas
   ```

3. **Open in browser**
   - Simply open `index.html` in your browser
   - Or use a local server (recommended):
   ```bash
   # Using Python
   python -m http.server 8000
   
   # Using Node.js
   npx http-server
   ```

4. **Visit** `http://localhost:8000`

## 🎨 Customization

### Changing Colors

Edit `config.js` to modify the brand colors:

```javascript
tailwind.config = {
    theme: {
        extend: {
            colors: {
                'brand-gold': '#D4AF37',    // Primary accent color
                'brand-dark': '#1a1a1a',    // Dark background
                'brand-cream': '#F9F9F5',   // Light background
            }
        }
    }
}
```

### Adding Villa Data

Edit `data.js` to add or modify villa information:

```javascript
const villaData = {
    'your-villa-id': {
        title: 'Your Villa Name',
        price: '₹20k',
        tag: 'New',
        desc: 'Your villa description...',
        beds: '4 Bedrooms',
        baths: '5 Bathrooms',
        guests: 'Up to 12',
        images: ['path/to/image1.jpg', 'path/to/image2.jpg']
    }
};
```

### Contact Information

Update contact details in `data.js`:

```javascript
const contactInfo = {
    phone: '+919767339333',
    whatsapp: '919767339333',
    email: '[email protected]',
    address: 'Your Address Here'
};
```

## 📱 Features Breakdown

### Homepage
- Hero section with image slider
- Featured villas preview
- Call-to-action sections
- Responsive navigation

### About Page
- Company information
- Values section
- Location/destination slider
- Customer testimonials

### Villas Page
- Villa grid with hover effects
- Modal gallery viewer
- Detailed villa information
- Click-to-view functionality

### Amenities Page
- Comprehensive amenities list
- Icon-based presentation
- Premium services section

### Booking Page
- Contact form with validation
- WhatsApp integration
- Booking information
- FAQ section

## 🎯 WhatsApp Integration

The template includes WhatsApp booking functionality. Messages are pre-formatted with:
- Customer name and contact
- Check-in/check-out dates
- Selected villa
- Number of guests
- Special requests

## 🌐 Browser Support

- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
- Opera (latest)

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
4. Push to the branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

## 💡 Usage Ideas

This template is perfect for:
- Luxury villa rentals
- Resort websites
- Real estate property listings
- Vacation home bookings
- Hotel websites
- Airbnb-style properties

## 🐛 Known Issues

- Image paths need to be updated with your own images
- WhatsApp number needs to be configured
- Google Maps integration requires API key (optional)

## 📧 Contact

Your Name - [@yourusername](https://twitter.com/yourusername)

Project Link: [https://github.com/yourusername/earthcon-villas](https://github.com/yourusername/earthcon-villas)

## 🙏 Acknowledgments

- [Tailwind CSS](https://tailwindcss.com/)
- [GSAP](https://greensock.com/gsap/)
- [Font Awesome](https://fontawesome.com/)
- [Google Fonts](https://fonts.google.com/)
- [Unsplash](https://unsplash.com/) for placeholder images

## ⭐ Show your support

Give a ⭐️ if this project helped you!

---


Made with ❤️ by [Your Name](https://github.com/yourusername)S

Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.