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

Glossary

Plain-language meanings of the words used in these docs.

Theme Words

WordWhat it means
AstroThe tool that turns Covena’s files into a website. You don’t need to learn it to edit content
Tailwind CSSThe styling system. Classes like bg-navy or mt-8 in components set colours and spacing
Static siteA website made of ready-made files, with no database or server code to run, so it is simple to host
Node.jsThe program that runs Astro on your computer
npmComes with Node.js. Installs the theme’s tools (npm ci) and runs its commands (npm run dev)
TerminalA window where you type commands. In VS Code: Terminal → New Terminal
Dev serverThe local copy of your site at http://localhost:4321/ that updates when you save. Started with npm run dev
BuildTurning the files into the finished website in the dist/ folder, with npm run build
DeployPutting the built site on the internet, on a host such as Netlify, Vercel, or Cloudflare Pages
RouteA file in src/pages/[...lang]/ that becomes a page and decides which sections, header, and footer it shows
SectionOne full-width block of a page (hero, practice areas, FAQ). A component plus a content file
ComponentA .astro file that draws part of the page. You rarely need to edit these
Content fileA .md or .mdx file in src/content/ that holds text and options
MarkdownA simple way to format text: **bold**, ## heading, - list item
MDXMarkdown that can also use components (shortcodes). Insights posts are .mdx files
ShortcodeA ready-made component you can place inside an .mdx file, such as a notice, tabs, or an accordion. /components/ on your local site shows them all
FrontmatterThe settings block between two --- lines at the top of a content file, written in YAML
YAMLThe key: value format used in frontmatter. Indentation matters
TOMLThe key = value format of config.toml, grouped under [tables]
JSONThe "key": "value" format of the menu, language, font, social, and translation files
CollectionA folder of similar entries: practice areas, industries, attorneys, results, offices, careers roles, insights posts
EntryOne file in a collection, which usually becomes one page
SlugThe part of the URL that names a page: employment in /practice-areas/employment/. It comes from the file name
-index.mdThe file in a collection folder that sets up the list page, such as /practice-areas/
Named blockA section’s settings written inside a page’s frontmatter, to change that section on that page only
LayoutOne of the looks a kind of section has, such as the three hero layouts. Each layout is its own component
DraftA page with draft: true. It is left out of the production build
i18nShort for “internationalization”: the multi-language setup
RTLRight to left: the reading direction of languages such as Arabic. Covena’s Arabic pages are mirrored
SchemaThe list of fields a content file may have. npm run astro-check reports mistakes in files that have one
LucideThe free icon set Covena uses. Any name from lucide.dev/icons works, for example "users" or "briefcase"
Open Graph imageThe preview picture shown when a link is shared on social media or in chat apps (public/images/og-image.jpg)
Structured dataHidden JSON-LD in each page that tells search engines about your firm and each attorney
SitemapA list of every page, for search engines. Built when [site] baseUrl is set
llms.txtA proposed format: a Markdown map of your site that AI assistants can read
GitA tool that saves versions of your project, so you can undo any change
CommitOne saved version in git
DiffA view of exactly what changed in a file: removed lines and added lines

Covena Words

WordWhat it means
Home 1, Home 2, Home 3The three homepages: general practice (/), corporate (/home-corporate/), and family and private client (/home-family/). Each has its own header and footer
Header variantThe header layout a page uses: panel (Home 1 and inner pages), bar (Home 2), or transparent (Home 3). Set with headerVariant in the page file
Footer variantThe footer layout a page uses: marquee, columns-light, or offices. Set with footerVariant in the page file
Contact chipsThe “Call us / Email us / Visit us” row above the menu in the panel header (showChips in [settings.header])
Office stripThe thin strip with the office cities and the phone number above the bar header (showOfficeStrip)
Quick exitThe button that sends a visitor straight to a neutral page, for someone reading about family or domestic matters on a shared device. Set in [settings.quickExit]. See Quick Exit
Practice areaOne area of law you work in, such as employment or family law. One file in src/content/practice-areas/, with its own page
IndustryA type of business client, such as construction or healthcare. One file in src/content/industries/
ResultA past matter shown as a case page, in src/content/results/. Every result shows the past-results disclaimer
Results disclaimer“Past results do not guarantee a similar outcome. Every case is different.” It is results.disclaimer in src/i18n/<lang>.json, and the result cards and pages show it for you
detailDefaultsThe part of a collection’s -index.md that holds what every detail page shares (labels, sections), so each entry only sets what differs
InsightsThe blog. Posts are in src/content/blog/ and are published under /insights/
Regulator lineThe placeholder “Authorised and regulated by [Regulator], number [000000].” on /regulatory-information/. Replace it with your own regulator and number
Mega menuThe wide dropdown under Practice areas in the header, with groups of links you write in the menu files
Scroll motionThe reveals, image wipes, pinned steps, and stacked cards as you scroll, set with data-motion attributes and switched in [effects]
Demo mode (forms)While contactFormAction is empty, the forms check the fields and then say nothing was sent. No visitor data goes anywhere until you set an endpoint
Sample dataThe made-up firm Covena Law, its attorneys, offices, results, reviews, rating, awards, press, and fees. PUBLIC-VALUES-NEEDED.md lists every value to replace
Type something to search...