AstroCorporate Website

servland — Astro Business Template

By locobean

Servland is an Astro and Tailwind CSS landing page theme for service provider businesses, including a contact form, WhatsApp entry point, cookie consent, and dark mode modules.

Explore the design

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

1 previews
Author preview
Author-provided previewTop of page

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

Built with Astro and Tailwind CSS, with clear page and component structure

02

Built-in contact form supporting either EmailJS or Nodemailer/SMTP submission

03

Includes a direct WhatsApp chat entry point and a GDPR-style cookie consent banner

04

Supports automatic and manual dark mode, with parallax background effects

05

Provides SEO-related meta tags and structured data

06

MIT licensed, allowing free use, modification, commercial use, and distribution

Template Details

Servland is an open-source Astro landing page theme by locobean on GitHub, aimed at service providers' business showcase scenarios. The main page is located at src/pages/index.astro, components are split under src/components/, and styles are configured via tailwind.config.mjs, making it suitable for replacing copy, images, and color schemes within the existing structure.

The theme includes a built-in contact form offering two submission methods—EmailJS and Nodemailer/SMTP—requiring corresponding credentials in .env; it also includes a direct WhatsApp chat entry point, a GDPR-style cookie consent banner, parallax background effects, and automatic and manual dark mode. For SEO, it provides meta tags and structured data.

Before use, note: the form depends on external email services, so you must register and configure keys yourself; licenses for third-party assets such as demo images, fonts, and icons must be verified separately and cannot be judged solely by the code's MIT license. The project does not provide a content management backend, so content updates are mainly done by directly editing Astro files.

AstroCorporate Website

Is it right for your project?

Use Cases

  • Building a business introduction landing page for local service providers or small service teams
  • Sites that need a form to collect inquiries and receive leads via email or WhatsApp
  • Front-end projects that want to quickly replace copy, colors, and images to customize brand appearance

Suitable For

  • Developers familiar with Astro and Tailwind CSS who can edit source code directly
  • Teams that need a static landing page and are willing to configure email service credentials themselves
  • Business sites focused on service introduction and lead collection

Getting started & customization

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

  1. 1

    After cloning the repository, run npm install to install dependencies, and use npm run dev to start the development server (default port 4321)

  2. 2

    Copy .env.example to .env and fill in the EmailJS service/template/user identifiers or SMTP account, password, recipient email, and SECRET_KEY according to the chosen method

  3. 3

    When using Gmail SMTP, generate an app-specific password rather than the account login password

  4. 4

    Modify content and styles in src/pages/index.astro, src/components/, and tailwind.config.mjs respectively

  5. 5

    Before replacing public/preview.png and public/favicon.svg, confirm the licensing of the assets used

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 imply that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • 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

  • The EmailJS option for the contact form requires registering a third-party EmailJS account and obtaining service/template/user credentials; it is an external service dependency, not a purely local feature.
  • Sending email via Gmail SMTP requires generating an app-specific password and depends on a Google account and external SMTP service.
  • The Nodemailer option requires providing your own SMTP server account and password; the form depends on an external email service to actually deliver messages.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domain, hosting, database, payment, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Create an account at [EmailJS](https://www.emailjs.com/)

Original README

For Gmail, use an [App-Specific Password](https://support.google.com/accounts/answer/185833).

Original README

Configure SMTP settings in `.env`:

Original README
https://github.com/locobean/servland/blob/main/LICENSEhttps://github.com/locobean/servland/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. 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
Partly documented · 65 / 100
Technologies
Astro
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
2025-01-22
Screenshot last checked
2026-10-02

No demo link is recorded. Use the repository instructions to evaluate the project locally; the screenshot alone cannot establish interactive behavior.

The catalog identifies Astro 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.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: d9658a3b2e2b0d6d3ad590f67dc0a9b3b2902a8fffb9f766286318b00ccae7e8

2026-10-02T09:47:26.021Z

Source file / repository
# Servland - Business Landing Page Theme

A modern, responsive business landing page theme built with Astro and Tailwind CSS. Perfect for businesses looking for an effective and speedy online presence.

![Servland Preview](preview.png)

## 🚀 Features

- ⚡️ **Lightning Fast**: Built with Astro for optimal performance
- 🎨 **Beautiful Design**: Modern UI with Tailwind CSS
- 🌗 **Dark Mode**: Automatic and manual dark mode support
- 📱 **Fully Responsive**: Looks great on all devices
- 📧 **Contact Form**: Integrated with EmailJS or Nodemailer
- 💬 **WhatsApp Integration**: Direct messaging capability
- 🍪 **Cookie Consent**: GDPR-compliant cookie banner
- 🖼️ **Parallax Effects**: Engaging background animations
- 🔍 **SEO Ready**: Optimized meta tags and structured data
- 🛠️ **Easy to Customize**: Well-organized code structure

## 🛠️ Quick Start

1. **Clone the repository**
```bash
git clone https://github.com/locobean/servland.git
cd servland
```

2. **Install dependencies**
```bash
npm install
```

3. **Set up environment variables**
```bash
cp .env.example .env
```

4. **Start development server**
```bash
npm run dev
```

Visit `http://localhost:4321` to see your site!

## 📧 Email Configuration

### Option 1: EmailJS (Recommended for Static Sites)

1. Create an account at [EmailJS](https://www.emailjs.com/)
2. Create an email template with variables:
   - `{{name}}` - Sender's name
   - `{{email}}` - Sender's email
   - `{{tel}}` - Phone number
   - `{{message}}` - Message content
3. Add credentials to `.env`:
```env
PUBLIC_EMAILJS_SERVICE_ID=your-service-id
PUBLIC_EMAILJS_TEMPLATE_ID=your-template-id
PUBLIC_EMAILJS_USER_ID=your-public-key
```

### Option 2: Nodemailer with SMTP

1. Configure SMTP settings in `.env`:
```env
[email protected]
EMAIL_PASSWORD=your-app-specific-password
[email protected]
SECRET_KEY=your-secret-key-for-hashing
```

For Gmail, use an [App-Specific Password](https://support.google.com/accounts/answer/185833).

## 🎨 Customization

### Content
- Edit main content in `src/pages/index.astro`
- Modify components in `src/components/`
- Update styles in `tailwind.config.mjs`

### Styling
- Colors: Update `tailwind.config.mjs`
- Typography: Modify font imports in `Layout.astro`
- Components: Edit individual component files

### Images
- Replace `public/preview.png` with your site preview
- Update favicon in `public/favicon.svg`

## 📦 Building for Production

1. **Build the site**
```bash
npm run build
```

2. **Preview the build**
```bash
npm run preview
```

The built files will be in the `dist/` directory.

## 🤝 Contributing

Contributions are welcome! Please read our [Contributing Guide](CONTRIBUTING.md).

1. Fork the repository
2. Create your feature branch
3. Commit your changes
4. Push to the branch
5. Open a Pull Request

## 📄 License

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

## 💖 Support

- Star this repository
- Report issues
- Follow for updates

---

Made with ❤️ by [locobean](https://github.com/locobean)
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.