Construction Template
The Construction template provides a maintenance page with a construction theme, perfect for sites that are being built or undergoing significant changes. It features construction-themed visuals to clearly communicate that your site is a work in progress.
Features
Section titled “Features”- Construction-themed design with visual elements
- All standard customization options (logo, title, description, etc.)
- Clean, professional appearance
- Clearly communicates that the site is under development
Configuration
Section titled “Configuration”To use the Construction template, set the template
property to "construction"
in your configuration:
import { defineConfig } from "astro/config";import maintenance from "astro-maintenance";
export default defineConfig({ integrations: [ maintenance({ enabled: true, template: "construction", title: "Under Construction", description: "We are building something awesome.", logo: "/logo.png", // Optional - path to your logo in the public folder emailText: "Questions? Contact us at:", // Optional copyright: "© 2025 Your Company", // Optional override: "preview", // Optional - access your site with ?preview in the URL }), ],});
Customization Options
Section titled “Customization Options”The Construction template supports all the standard configuration options:
Option | Description |
---|---|
title | The main heading displayed on the maintenance page |
description | Descriptive text explaining the construction status |
logo | Path to your logo image (must be in your public folder) |
emailAddress | Contact email address for visitors |
emailText | Text label displayed before the email address |
copyright | Copyright text for the footer |
override | Query parameter to bypass the maintenance page |
When to Use Construction Template
Section titled “When to Use Construction Template”The Construction template is ideal for:
- New websites that are still being built
- Major redesigns or rebuilds of existing sites
- When you want to clearly communicate that the site is under development
- Situations where you want a more thematic approach than the Simple template
Example Result
Section titled “Example Result”When configured as shown above, visitors to your site will see a construction-themed maintenance page with your logo, custom title and description, contact information, and copyright notice.
The page includes construction-themed visual elements to reinforce the message that the site is being built or undergoing significant changes.
Next Steps
Section titled “Next Steps”Explore other templates:
- Simple Template - A clean, minimal maintenance page
- Countdown Template - Add a countdown timer to your maintenance page
- Custom Templates - Create your own custom template