Skip to content

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.

Construction Template Preview

  • 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

To use the Construction template, set the template property to "construction" in your configuration:

astro.config.mjs
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
emailAddress: "[email protected]", // Optional
emailText: "Questions? Contact us at:", // Optional
copyright: "© 2025 Your Company", // Optional
override: "preview", // Optional - access your site with ?preview in the URL
}),
],
});

The Construction template supports all the standard configuration options:

OptionDescription
titleThe main heading displayed on the maintenance page
descriptionDescriptive text explaining the construction status
logoPath to your logo image (must be in your public folder)
emailAddressContact email address for visitors
emailTextText label displayed before the email address
copyrightCopyright text for the footer
overrideQuery parameter to bypass the maintenance page

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

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.

Explore other templates: