Olivia Clark’s Lawyer Site: AI-Coded Gold-Annotated Hero Section
Are you looking to build a professional lawyer website that stands out from the competition? In this guide, we'll show you how to use AI and Tailwind CSS to create a clean, modern, and efficient website. We'll cover the tech stack, design system, and full prompt for a clean, modern, and efficient website.
What you need
- Basic knowledge of HTML, CSS, and JavaScript
- A code editor (VS Code recommended)
- A new website template or a website builder
- An understanding of Tailwind CSS and Framer Motion
- An AI builder (Lovable, Bolt, v0)
The full prompt
# Lawyer Website Prompt
# websiteprompts.ai
Build a professional lawyer / law firm website for **Olivia Clark** — a boutique solicitor specialising in family law, estate planning, and business formation. Clean, trustworthy, premium. White foundation with navy and warm gold accents. Editorial serif meets modern clean layout.
## Tech Stack
React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + shadcn/ui + lucide-react
## Design System
```css
:root {
--background: 0 0% 100%; /* #ffffff white */
--surface: 220 20% 97%; /* #f5f7fa light grey */
--border: 220 16% 88%; /* #d8dde8 border */
--ink: 222 40% 12%; /* #111e38 deep navy ink */
--muted: 222 14% 52%; /* #6d7fa3 muted navy */
--primary: 222 62% 22%; /* #0e1f40 deep navy */
--primary-foreground: 0 0% 100%;
--gold: 42 72% 48%; /* #c49a18 warm gold */
--gold-light: 42 60% 94%; /* #fdf8e8 gold tint */
--foreground: 222 40% 12%;
}
```
## Typography
Import: `https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400&display=swap`
- Display / H1–H2: Cormorant Garamond 600–700, italic accents in gold
- Body / UI / Nav: Inter 300–600
- Labels / Tags / Prices: JetBrains Mono 400
## Visual Effects
**Gold rule** — animated 1px horizontal gold line scales in from left before each H2:
```
initial={{ scaleX: 0, transformOrigin: 'left center' }}
animate={{ scaleX: 1 }} transition={{ duration: 0.5, ease: 'easeOut' }}
```
Width: 40px, height: 1.5px, `background: hsl(var(--gold))`, display block, margin-bottom 16px.
**Stagger fade-up** — `initial={{ opacity: 0, y: 20 }}` → `animate={{ opacity: 1, y: 0 }}`, 0.5s, IntersectionObserver.
**Card hover** — practice area and service cards: `transition: border-color 0.15s, box-shadow 0.15s`. Hover: `border-color: hsl(var(--gold))`, `box-shadow: 0 8px 32px rgba(196,154,24,0.10)`.
## Sections
**1. Navbar** — sticky, white bg, `border-bottom: 1px solid hsl(var(--border))`, padding 18px 64px. Left: "Olivia Clark" in Cormorant Garamond italic 600 20px, color `hsl(var(--primary))`. Center: Specialisations · About · Blog · Contact. Right: "Get the template" — navy filled button, Inter 13px, border-radius 4px. Below brand: "+44 123 456 7890 · [email protected]" in JetBrains Mono 9px muted — separated by dot.
**2. Hero** — two-column split, min-height 100vh, padding-top 80px. Left (padding 80px 64px): tag line "PROFESSIONAL LAWYER" JetBrains Mono 9px uppercase gold + gold rule. H1 in Cormorant Garamond 700, clamp(52px, 5.5vw, 80px), line-height 0.95:
```
Expert Legal Services
Tailored for You.
```
"Tailored for You." in italic gold. Sub: "Specialising in family law, estate planning, and business formation — guided by clarity, compassion, and decades of experience." Inter 15px muted, max-width 400px. CTA: "Contact me today" — navy filled, border-radius 4px.
Right: professional portrait photo + floating availability card (bottom-left, white bg, shadow, "Taking new clients · Spring 2026" with green dot pulse):
```
{/* Image: professional female lawyer in dark blazer, confident composed expression, neutral studio background, editorial headshot, warm neutral light */}
```
**3. Specialisations** — full-width surface bg, padding 96px 64px. Gold rule + "I specialise in" tag. 6-card grid (3×2), each `border-top: 2px solid hsl(var(--border))`, padding 24px 0, hover gold border. Each card: area name in Cormorant Garamond 700 20px + 2-line description in Inter 13px muted + "Read more →" gold link. Areas: Mediation Law · Estate Planning Law · Business Formation Law · Contract Law · Child Custody Law · Divorce Law.
**4. About** — two-column, padding 96px 64px. Left: H2 "A trusted guide through complex times." + 3 paragraphs (background, approach, values). Gold rule before H2. "Learn more →" link. Right: credentials panel — 4 chips in navy surface (Admitted to the Bar · 15 yrs experience · 500+ cases resolved · Law Society member) + 1 testimonial quote card in gold tint bg.
**5. Process** — centered, surface bg, padding 96px 64px. H2 "How we work together." 4 horizontal steps: 01 Free consultation → 02 Case assessment → 03 Legal strategy → 04 Resolution. Each step: Cormorant Garamond 700 number in faded navy (opacity 0.12) + step name + 1-line description.
**6. Testimonials** — white bg, padding 96px 64px. H2 "Client experiences." 3-column grid. Each card: gold rule + quote in Cormorant italic 15px + client name in Inter 600 + case type in JetBrains Mono 9px gold. Stagger entrance.
**7. Blog / Insights** — surface bg, padding 96px 64px. H2 "Legal insights." 3 article cards, each: category tag JetBrains Mono 9px gold + article title Cormorant 700 20px + 1-line excerpt + "Read article →" link. Cards with border and hover gold border.
**8. Contact CTA** — navy background `hsl(var(--primary))`, padding 80px 64px centered. H2 in Cormorant italic 700 white: "Schedule your free consultation." Sub white 65%. Two CTAs: "Book a call" (gold bg, navy text) + "Send a message" (ghost white border). Below: contact details row in JetBrains Mono 11px white 50% — phone · email · address.
**9. Footer** — near-black `hsl(222 40% 8%)`, padding 48px 64px 28px. Left: "Olivia Clark" + "Solicitor · London" + disclaimer text in 11px muted. Right: nav columns (Specialisations / Company). Bottom: copyright + "Regulated by the Solicitors Regulation Authority" in JetBrains Mono 10px muted.
## Responsive
Mobile: nav → hamburger overlay · hero single column, photo below · specialisations 1-column · process 2×2 grid · testimonials scroll snap.
## Animations Summary
| Element | Animation | Trigger |
|---|---|---|
| Hero content | Fade-up stagger | On mount |
| Gold rules | scaleX 0→1 | Scroll |
| Specialisation cards | Stagger fade-up | Scroll |
| Testimonial cards | Stagger fade-up | Scroll |
| Floating avail card | Fade-up delay 0.6s | On mount |
## Key Dependencies
```json
{ "motion": "^12.x", "lucide-react": "^0.400.x" }
```
> **Quick notes:** "Olivia Clark" and all copy are placeholders — swap name, specialisations, bar admission details, and contact info. Blog articles need real content or CMS connection. SRA disclaimer in footer should reflect real regulatory body.1Install Node.js and Create a React Project
First, install Node.js on your machine. Then, create a new React project using the create-react-app command. This will set up the necessary files and dependencies for your project.
Pro tip: Make sure to use a new project to start fresh.
2Install Tailwind CSS
Install Tailwind CSS by adding it to your project's dependencies. This will add a set of utility classes to your CSS files.
Pro tip: Make sure to follow the installation instructions for Tailwind CSS.
3Install Framer Motion
Install Framer Motion by adding it to your project's dependencies. This will add animations and transitions to your website.
Pro tip: Make sure to follow the installation instructions for Framer Motion.
4Add the Full Prompt to Your Project
Add the full prompt to your project's code editor. This will provide you with the necessary information to build your website.
Pro tip: Make sure to copy the prompt from this page and paste it into your project.
5Generate Content Using AI
Use your AI builder to generate content for your website. This will help you build a website that is optimized for SEO and looks great.
Pro tip: Make sure to follow the instructions for your AI builder.
6Customize the Website Template
Customize the website template by replacing the placeholder content with your actual practice areas, bar admission details, and contact info. This will help you build a website that reflects your business.
Pro tip: Make sure to swap out the placeholder content with your actual practice areas, bar admission details, and contact info.
7Add Animations and Transitions
Add animations and transitions to your website using Framer Motion. This will make your website more engaging and user-friendly.
Pro tip: Make sure to follow the instructions for Framer Motion.
8Test the Website
Test the website to ensure that it is functioning properly. This will help you build a website that is easy to use and looks great.
Pro tip: Make sure to test the website in different browsers and devices.
9Deploy the Website
Deploy the website to a hosting service like Vercel or Netlify. This will make your website accessible to the public.
Pro tip: Make sure to follow the instructions for deploying your website.
Adapt it to your own brand
- Customize the website template by replacing the placeholder content with your actual practice areas, bar admission details, and contact info.
- Use different fonts and colors to make the website more visually appealing.
- Add images to the website to make it more engaging.
- Optimize the website for search engines by using relevant keywords and meta descriptions.
- Add a contact form to the website to allow clients to reach out to you.
- Add a blog section to the website to share your thoughts and insights with clients.
Common mistakes and fixes
- Forgetting to replace the placeholder content with actual practice areas, bar admission details, and contact info.
- Not using the right tech stack for the project.
- Not testing the website thoroughly before deployment.
- Not using the right AI builder for the project.
- Not optimizing the website for search engines.
Frequently asked questions
Can I use this prompt to create a lawyer website?
Yes, this prompt can be used to create a lawyer website.
What sections does the lawyer website prompt include?
The lawyer website prompt includes a Navbar, Hero with a clear practice focus, Areas of Law, About the Lawyer and Credentials, Case Results or Track Record, Client Testimonials, FAQ, and Contact.
Does this prompt work for a solo lawyer as well as a firm?
Yes, this prompt can be used to create a lawyer website for both solo practitioners and multi-partner firms.
Does this work in Lovable?
Yes, this prompt can be used in Lovable, Bolt, and v0. The first generation produces a clean, professional result without much editing needed.
Can I update the practice areas and bar credentials?
Yes, the practice areas, bar admission details, and case results are all placeholder content. Swap them out to reflect your actual practice before pasting or after generation.
Final thoughts
Building a professional lawyer website using AI and Tailwind CSS is a great way to create a clean, modern, and efficient website. Follow the steps in this guide and customize the website template to reflect your business. Remember to test the website thoroughly before deployment and optimize it for search engines. With the right tools and AI builder, you can build a lawyer website that stands out from the competition.