Skip to content
New: Customize your theme with an AI assistant. Read the guide

Deployment & Launch

Covena builds a static site into dist/, so it runs on any static host. It ships ready-made settings for Netlify (netlify.toml), Vercel (vercel.json, vercel.sh), and Cloudflare Pages (wrangler.toml). The site needs no account, database, or environment variables.

SettingValue
Build commandnpm run build
Output directorydist
Node.js version22.12 or later
Package managernpm (package-lock.json)

Before You Launch

Go through this list once. Each item links to the page that explains it. PUBLIC-VALUES-NEEDED.md in the theme folder lists every demo value and the file it lives in, if you want the same list as a file.

Address and identity

  • baseUrl in [site] is your real address, and npm run build prints no [site] warning (SEO & AI Visibility)
  • title, tagline, description, and logoText in [site], and common.tagline and common.siteDescription in each src/i18n/<lang>.json, describe your firm (Site Identity & Logo)
  • The logo, favicons (npm run generate-favicons), the sharing image (public/images/og-image.jpg), colors in theme.css, and fonts in fonts.json are yours (Colors & Fonts)

Firm details

  • [seo] author is your firm’s name (search engines read it in the structured data), and [settings.contactInfo] has your phone and email (Firm Info)
  • contactInfo in each src/i18n/<lang>.json has your address, and the office files in src/content/offices/ are your offices
  • The regulator line in src/content/pages/<language>/regulatory-information.md has your regulator, your number, and a link to its rules. No square-bracket placeholders are left
  • footer.description and footer.copyright in each src/i18n/<lang>.json name your firm, and the links in src/config/social.json are your profiles (or "enable": false)
  • A project-wide search for example.com, 7946, and 496 0 finds nothing you still need to change. The sample numbers are in UK ranges set aside for TV and film

Forms

  • contactFormAction and contactFormProvider post to your own account, and a test message arrives (Forms)
  • The Mailchimp formAction in [settings.subscription] and in src/content/sections/<language>/newsletter.md is your list, or the forms are turned off
  • The careers inbox ([email protected] in src/content/careers/<language>/) is yours, or the sample roles are removed

Sample content

  • The attorneys, results, reviews, the 4.9 rating, awards, press mentions, client logos, fees, insights posts, and roles are yours or deleted (Collections, Results & Reviews, Fees)
  • Every result still shows the disclaimer (results.disclaimer in src/i18n/<lang>.json)
  • The demo photos in src/assets/images/covena/ are replaced with your own (Icons & Images)

Pages and menus

  • The privacy policy, terms, disclaimer, and accessibility statement in src/content/pages/<language>/ are rewritten for your firm and reviewed
  • The homepages you don’t use are removed, and the menus point at your pages (Homepages, Menus)
  • /components/ is removed or set to draft: true if you don’t want the component gallery online (Pages)
  • url in [settings.quickExit] is a neutral page for your country, or the button is turned off (Quick Exit)

Analytics and checks

  • Analytics tags are in [head], marked with data-consent, and the cookie banner text lists the tools you use (Cookies & Analytics)
  • npm run verify finishes without errors
  • The French and Arabic text has been reviewed by a native speaker, or the languages you don’t need are removed (Internationalization)
  • You checked the site at phone width and in every language you keep

Deploy

  1. Push your project to GitHub, GitLab, or Bitbucket.
  2. In Netlify, choose Add new site → Import an existing project and pick the repository.
  3. Netlify reads netlify.toml: build command npm run build, publish folder dist, Node.js 22. Click Deploy.

The build uses baseUrl from config.toml unless you add a SITE_URL environment variable in the Netlify site settings.

netlify.toml also sets long-term caching for /_astro/* and /images/*, and sends missing /fr/... and /ar/... addresses to that language’s 404 page. When you add a language, add a block like the /fr/* one for it.

Using Netlify Forms? Set contactFormProvider = "netlify" and contactFormAction = "/", turn on form detection under Forms in the Netlify dashboard, and deploy again.

After You Launch

  1. Open the live site and click through the main pages on a computer and on a phone, including the mega menu, the mobile menu, and the language switcher.
  2. Send a test through the contact form, the consultation form on /consultation/, and the callback form on Home 3 (if you keep it), and check that each one arrives.
  3. If you keep the quick exit button, press it and check where it lands. Then go back to a page that shows the button, press Escape twice, and check that it lands in the same place.
  4. Submit https://your-domain/sitemap-index.xml in Google Search Console and Bing Webmaster Tools.
  5. Check the homepage and an attorney profile with Google’s Rich Results Test.
  6. Share a link in a chat app to check the preview image.

Updating The Live Site

With a git-connected host, every push to your main branch deploys on its own. Run npm run build (or npm run verify) first to catch errors before they reach your visitors. To take a new version of the theme, see Updating The Theme.

Type something to search...