Pub Website Prompt: How to Build a Country Inn Site with AI
Most AI-generated hospitality sites fail for the same reason: vague prompts produce neon gradients, generic card grids, and fake placeholder text. When I tested this pub website prompt for The Fox and Lantern, a two hundred year old Cotswolds inn, it stood out immediately because every design token, layout rule, and negative constraint is locked down up front. This prompt was originally published by Websiteprompts.ai, and it pairs a deep bottle green and brass palette with grounded, realistic copywriting.
In about 35 minutes, I will walk you through turning the full prompt on this page into a finished single-page website using Lovable, Bolt, or v0. You can inspect the target aesthetic in the live preview first, then follow the steps below to verify contrast ratios, serif typography, priced menus, custom SVG artwork, and mobile booking behaviour.
What you need
- A free or paid workspace in Lovable, Bolt, or v0.
- The full prompt on this page, copied from the block right above Step 1.
- A desktop browser with DevTools for checking contrast ratios and mobile breakpoints.
- A destination URL (or placeholder link) for outbound table reservation buttons.
- Around 35 minutes to generate, audit, and test all nine sections.
The full prompt
# The Fox and Lantern: Pub Website Prompt
## 1. Goal
Build a warm, welcoming website for **The Fox and Lantern**, a two hundred year old country pub with rooms in the Cotswolds, known for its Sunday roast and real ales. Deep bottle green background, cream text, brass accents and a characterful serif. It should feel like walking in from the cold to a fire, polished wood and a pint. Photography of food and the bar carries the page.
## 2. Tech Stack
```
React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + lucide-react
```
Single page. No component libraries, no booking widget, no map library. Table bookings link out.
## 3. Design system
```css
:root {
--paper: #13291F; /* bottle green, main background */
--ink: #F3EBDD; /* cream */
--accent: #C9A15B; /* brass */
--on-accent: #13291F;
--surface: #1B3829;
--muted: #B9B09F;
--line: rgba(201,161,91,0.35);
}
```
One cream section in the middle (the menu) uses green text on cream for contrast and rhythm. Every text colour must reach at least 4.5 to 1 against its background. No text under 14px.
## 4. Typography
```html
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Work+Sans:wght@400;500;600&display=swap" rel="stylesheet" />
```
- **Headings:** DM Serif Display 400, clamp(40px, 5.4vw, 84px), line-height 1.05. Italic for one word per heading.
- **Body:** Work Sans 400, 17px, line-height 1.65
- **Small labels:** Work Sans 600, 14px, uppercase, letter-spacing 0.14em, in brass
- **Prices:** Work Sans 500, tabular numbers
## 5. Buttons
Classic and solid:
- **Primary:** brass fill, green text, 6px radius, Work Sans 600 16px, padding 14px 24px. Hover: background lightens slightly and moves up 1px.
- **Secondary:** cream text link with a brass underline 2px, no box.
- No pills, no outline boxes, no arrow circles.
## 6. Sections
1. **Navbar:** green, 80px. Pub name in DM Serif left with a small brass fox outline icon (simple SVG), links centred, `Book a table` primary button right. Turns slightly darker with a brass bottom line after scrolling.
2. **Hero, split:** left half text on green: label `FREE HOUSE SINCE 1824`, the heading, a short paragraph, the primary button and a secondary link. Right half a tall photograph with 12px radius. Under the text a small box with today's opening hours. *Photograph: a cosy pub interior with a lit open fire, dark wooden beams, brass lamps, a pint of amber ale on an oak table in the foreground.*
3. **Three things we do well:** surface coloured. Three columns, each with a photograph on top (4:3, 10px radius), a short heading and two sentences. *Photographs: a Sunday roast with Yorkshire puddings and gravy; four hand pulled ale pumps on a polished bar; a sunny beer garden with wooden tables and hanging lanterns.*
4. **The menu:** cream background, green text. Two columns with menu sections (Starters, Mains, Puddings) and a dotted leader between dish and price. A note about allergens and the Sunday roast under the columns, and a link to the full menu PDF.
5. **On the bar:** green. A list of six cask ales and ciders in two columns, each line with name, brewery, strength and a short tasting note. A brass rule separates the list from the heading.
6. **Rooms upstairs:** a wide photograph on the left, text on the right with three short facts (number of rooms, breakfast, dogs) and a secondary link `See the rooms`. *Photograph: a bright cottage bedroom with exposed beams, a white bed, a wool throw and a window over green fields.*
7. **What's on:** surface. A simple weekly list: day, event, time. Five rows with brass dividers.
8. **Find us:** two columns. Left: address, phone, email and opening hours as a small table. Right: a stylised illustration of the village lane in green and brass lines (SVG), not a real map.
9. **Footer:** dark green. Pub name in DM Serif, a one line welcome, social links and the licensee line.
## 7. Motion
- Hero text fades in from 16px below, 0.6s. Photograph fades and scales from 1.02.
- Menu items appear with a 0.03s stagger when the menu enters view.
- Images inside cards scale to 1.03 on hover over 0.5s.
- Respect `prefers-reduced-motion`.
## 8. Responsive
- **Mobile under 768px:** hero stacks, photo first at 4:3. Three things become one column. Menu becomes one column. Ale list one column. Find us stacks. The navbar shows the name and a `Menu` button opening a full screen green panel. A brass `Book a table` bar is fixed at the bottom of the screen with safe area padding.
- **Desktop:** max-width 1200px, section padding 100px.
## 9. Full copy
**Name:** The Fox and Lantern
**Nav:** Food, Drink, Rooms, What's On, Find Us. Button: `Book a table`
**Hero**
- Label: `FREE HOUSE SINCE 1824`
- Heading: `A proper pub, a roaring fire and a roast worth the drive.` (set the word "roaring" in italic)
- Text: `Real ale, seasonal food from farms within twelve miles and six rooms upstairs if you would rather not drive home. Dogs and muddy boots welcome in the bar.`
- Button: `Book a table` · Link: `See the menu`
- Hours box: `OPEN TODAY 12:00 to 23:00 Kitchen 12:00 to 21:00`
**Three things we do well**
- `The Sunday roast` `Rare beef, crisp potatoes and Yorkshire puddings the size of your head. Book ahead, it sells out by one.`
- `Cask ale, kept properly` `Four hand pulls, cellared at eleven degrees and changed every week. Ask behind the bar for a taster.`
- `The garden` `Forty seats under the apple trees, heaters in spring and autumn, and lanterns after dark.`
**Menu**
- Starters: `Ham hock terrine, piccalilli, toast £8.50` · `Soup of the day, warm bread £6.95` · `Potted shrimps, brown butter, sourdough £9.50`
- Mains: `Beer battered haddock, chips, minted peas £17.50` · `Steak and ale pie, mash, greens £18.00` · `Wild mushroom risotto, aged Parmesan £15.50` · `Sunday roast, beef or pork, all the trimmings £21.00`
- Puddings: `Sticky toffee pudding, clotted cream £7.50` · `Apple and blackberry crumble, custard £7.00` · `Local cheeses, oatcakes, chutney £10.50`
- Note: `Please tell us about allergies when you order. The Sunday roast is served from 12:00 until it runs out.` · Link: `Full menu (PDF)`
**On the bar**
- `Lantern Bitter` Stroud Brewery, 3.8%, `Our house ale. Biscuity and easy.`
- `Cotswold Gold` Cotswold Brew Co, 4.2%, `Golden, citrus, dangerously drinkable.`
- `Old Fox Porter` Wye Valley, 5.0%, `Dark chocolate and coffee. Winter in a glass.`
- `Hook Norton Old Hooky` Hook Norton, 4.6%, `Fruity, full and a local favourite.`
- `Orchard Dry` Westons, 5.5%, `Crisp, still cider from Herefordshire.`
- `Guest ale` changes weekly, `Ask what is on today.`
**Rooms upstairs**
- Heading: `Stay the night`
- Text: `Six rooms above the pub, each with its own bathroom and a view of the fields. Quiet after 11, we promise.`
- Facts: `6 rooms from £120 a night` · `Full breakfast included` · `Dogs welcome in two rooms`
- Link: `See the rooms`
**What's on**
- Tuesday, `Quiz night`, 20:00
- Wednesday, `Pie and a pint £16`, all day
- Thursday, `Folk session, bring an instrument`, 20:30
- Friday, `Fish supper night`, from 17:00
- Sunday, `Roast and live acoustic music`, 13:00
**Find us**
- `The Fox and Lantern, Church Lane, Lower Slaughter, Gloucestershire GL54 2HP`
- `01451 555 0192` · `[email protected]`
- Hours: `Mon to Thu 12:00 to 23:00` · `Fri and Sat 12:00 to 00:00` · `Sun 12:00 to 22:30`
**Footer**
`The Fox and Lantern` · `Come for one, stay for the fire.` · `Instagram`, `Facebook` · `Licensee: James and Polly Arden`
## 10. Never
Gradients, glow, glassmorphism, neon, emoji, icon grids, pill buttons, stock phrases like "culinary journey", dashes of any kind in the copy, lorem ipsum, `100vh` heroes, a real embedded map.
## 11. Dependencies
```json
{ "motion": "^12.0.0", "lucide-react": "^0.460.0", "clsx": "^2.1.0" }
```1Choose your AI builder and verify the tech stack
Start a blank project in Lovable, Bolt, or v0. The prompt above targets React, Vite, TypeScript, and Tailwind CSS alongside motion (^12.0.0), lucide-react (^0.460.0), and clsx (^2.1.0), which all three platforms handle natively without custom bundler setup.
Pay close attention to what this architecture leaves out: there are no heavy component libraries, no embedded booking widgets, and no third-party map SDKs. Skipping external script bundles keeps initial load times fast on patchy countryside mobile connections and prevents third-party iframe styling clashes. Every Book a table button simply links out.
- Lovable generates the described pub interior, Sunday roast, and bedroom photographs automatically.
- Bolt exposes
package.jsonand Vite files directly if you prefer editing code alongside chat. - v0 works well for iterating on individual React sections before exporting.
Pro tip: Start in Lovable if you want the plain-text photo descriptions turned into matching visuals automatically on the first pass.
2Paste the pub website prompt and generate the first build
Copy the full prompt on this page and paste the entire text into your AI builder's prompt box in one go. Feeding the complete specification at once ensures the model sees the CSS variables, typography rules, section structure, verbatim copy, and negative guardrails together before writing a single component.
Once the initial preview renders, run a fast structural audit before tweaking details:
- Verify all nine sections appear in sequence on a single page from Navbar down to Footer.
- Check that real copy for The Fox and Lantern appears throughout with zero
lorem ipsumor stock phrases likeculinary journey. - Confirm the Never list held firm: no gradients, glow, glassmorphism, emoji, pill buttons,
100vhhero heights, or dashes anywhere in the text.
If the model abridged any copy, tell it to apply Section 9 from the prompt above word for word.
Pro tip: Never strip out Section 10 before pasting, because explicit negative rules stop AI builders from defaulting to SaaS cliches.
3Audit the bottle green, cream, and brass colour tokens
Open your global stylesheet (index.css or globals.css) and confirm the :root variables match Section 3 of the prompt above:
--paper: #13291Ffor the deep bottle green main background.--ink: #F3EBDDfor warm cream headings and body text.--accent: #C9A15Band--on-accent: #13291Ffor brass accents and solid button labels.--surface: #1B3829for subtle tonal shifts on alternating dark sections.--muted: #B9B09Fand--line: rgba(201,161,91,0.35)for secondary metadata and thin brass dividers.
Dark hospitality palettes often fail readability when muted gold text sits on dark green. Here, #F3EBDD cream against #13291F clears the 4.5 to 1 WCAG AA contrast requirement comfortably, and keeping every font size at 14px or above prevents eye strain. Flipping The menu to green text on a cream background halfway down the page also creates deliberate visual rhythm.
Pro tip: Use the Chrome DevTools colour picker to confirm muted brewery names and times still maintain at least 4.5 to 1 contrast.
4Configure serif typography and classic button styles
Check index.html to verify Google Fonts loads DM Serif Display (400 regular and italic) and Work Sans (400, 500, and 600). This pairing works because DM Serif Display echoes traditional painted pub signage while Work Sans keeps 17px body paragraphs (1.65 line-height) and 14px uppercase brass labels (0.14em tracking) crisp on screens.
Inspect three styling details where AI output frequently drifts:
- Headings: Fluid sizing via
clamp(40px, 5.4vw, 84px)at1.05line-height, setting exactly one word per heading in italic, such asroaringin the hero. - Primary buttons: Solid
#C9A15Bbrass fill,#13291Fgreen text,6pxradius,Work Sans600at16px,14px 24pxpadding, and a1pxupward hover lift. - Secondary links: Cream text with a
2pxbrass underline and zero outline boxes, pills, or arrow circles.
Pro tip: Apply tabular-nums to all Work Sans 500 menu prices so figures align cleanly down each column.
5Review the sticky navbar and split fireplace hero
Check the top of the viewport against Section 6. The 80px bottle green Navbar should align The Fox and Lantern in DM Serif Display on the left beside a simple SVG brass fox outline, centre the five anchor links (Food, Drink, Rooms, What's On, Find Us), and place Book a table on the right. Scroll the preview to confirm the bar darkens slightly and adds a brass bottom border.
Below it, verify the split Hero inside a 1200px max-width container:
- Left half: Brass label
FREE HOUSE SINCE 1824, the main heading withroaringin italic, the warm paragraph welcoming dogs and muddy boots, theBook a tableCTA besideSee the menu, and today's hours box (OPEN TODAY 12:00 to 23:00 Kitchen 12:00 to 21:00). - Right half: A tall
12pxradius photograph of a roaring pub fire, dark beams, brass lamps, and an amber pint on oak.

Pro tip: Keep natural content height on the hero instead of 100vh so visitors immediately sense more page content below the fold.
6Refine the feature cards and high-contrast cream menu
Scroll into Three things we do well on --surface (#1B3829) with 100px desktop vertical padding. Check that the three columns display 4:3 photographs (10px radius) above The Sunday roast, Cask ale, kept properly, and The garden. Concrete operational details, such as cellaring ales at eleven degrees and seating forty under apple trees, make the venue feel genuine.
Directly below, inspect The menu on #F3EBDD cream with #13291F green text:
- Confirm two balanced columns group Starters, Mains, and Puddings, from
Ham hock terrine, piccalilli, toast £8.50toSunday roast, beef or pork, all the trimmings £21.00. - Verify a dotted leader stretches cleanly between each dish name and its tabular price.
- Check that the allergy and Sunday roast note sits beneath the grid beside the
Full menu (PDF)link.

Pro tip: Build the dotted leader with a flex-grow span and a bottom dotted border so dish rows never wrap awkwardly.
7Format the cask ale cellar list on the bar
Continue to On the bar, which returns to --paper (#13291F) bottle green. A single horizontal brass rule (rgba(201,161,91,0.35)) should separate the heading from the two-column list underneath. Real-ale regulars look for brewery names, ABV percentages, and honest tasting notes, so presenting these six taps cleanly gives the site immediate local authority.
Verify every tap from the prompt above renders in two tidy columns:
Lantern Bitter(Stroud Brewery,3.8%),Cotswold Gold(Cotswold Brew Co,4.2%), andOld Fox Porter(Wye Valley,5.0%).Hook Norton Old Hooky(4.6%),Orchard Drycider (Westons,5.5%), and the weeklyGuest aleentry.
If the AI wrapped each beer in a card border or added pint icons, instruct it to remove the boxes and keep flat typographic rows.

Pro tip: Set brewery names and ABV figures in --muted (#B9B09F) so the ale titles and tasting notes lead the eye.
8Build out the upstairs rooms and weekly pub schedule
Inspect Rooms upstairs and What's on next. Rooms upstairs uses an asymmetric split with a wide cottage bedroom photo (exposed beams, white linen, wool throw, and green fields) on the left and the Stay the night copy on the right. Verify the three key facts (6 rooms from £120 a night, Full breakfast included, Dogs welcome in two rooms) sit clearly above the See the rooms link.
Underneath, What's on shifts to --surface (#1B3829) and lists five weekly fixtures separated by brass dividers:
- Tuesday
Quiz night(20:00) and WednesdayPie and a pint £16(all day). - Thursday
Folk session, bring an instrument(20:30), FridayFish supper night(from 17:00), and SundayRoast and live acoustic music(13:00).
Aligning day, event, and time into three clean columns makes the weekly rhythm effortless to scan.

Pro tip: Use a three-column CSS grid on desktop for What's on rows so start times line up cleanly on the right edge.
9Check the custom SVG village lane map and footer
Move to Find us and Footer at the base of the page. Find us pairs contact details on the left (Church Lane, Lower Slaughter, Gloucestershire GL54 2HP, 01451 555 0192, [email protected], and a three-row opening hours table) with a stylised SVG village lane map on the right.
Using an inline green-and-brass SVG illustration instead of an embedded map library avoids cookie consent banners, eliminates bright white map tiles that clash with dark UI, and weighs less than two kilobytes. If your builder drew a sparse box, ask it to render winding lanes, a stone bridge, and a brass marker pin for The Fox and Lantern.
Finish by verifying the dark green Footer includes the DM Serif Display title, Come for one, stay for the fire., Instagram and Facebook links, and Licensee: James and Polly Arden.

Pro tip: Include an accessible title tag inside the village map SVG so screen reader users understand the visual landmark.
10Test motion choreography and mobile booking behaviour
Complete the build by testing animations and responsive breakpoints. With motion/react, hero copy should fade up from 16px over 0.6s, the hero photo should scale from 1.02, menu items should stagger by 0.03s on scroll, and card photos should scale to 1.03 over 0.5s on hover. Enable prefers-reduced-motion in browser DevTools to confirm every movement disables gracefully for accessibility.
Resize your browser under 768px and verify each mobile rule from Section 8:
- Single-column flow: The hero stacks photo-first at a
4:3ratio, while feature cards, menu columns, cask ales, and Find us stack vertically. - Full-screen menu: The navbar condenses to the pub title and a
Menubutton opening a full-screen bottle green overlay. - Fixed booking bar: A brass
Book a tablebar anchors to the bottom edge with safe-area padding (env(safe-area-inset-bottom)).
Pro tip: Add extra bottom padding to the footer on mobile screens so the fixed brass booking bar never covers the licensee line.
Adapt it to your own brand
- Swap bottle green (#13291F) for deep slate navy (#162238) and brass (#C9A15B) for burnished copper (#C87D55) to adapt the aesthetic for a harbour seafood inn or steakhouse.
- Repurpose the On the bar two-column board for natural wines, house cocktails, or guest coffee roasters by replacing brewery and ABV metadata with region and tasting notes.
- Turn Rooms upstairs into a private dining or barn wedding showcase by swapping nightly room rates for seated capacity, set menu pricing, and enquiry links.
- Replace the AI-generated imagery with compressed WebP photographs of your own bar, roast plates, and garden while preserving the 4:3 card aspect ratios.
- Connect the Book a table buttons and mobile sticky bar to ResDiary, SevenRooms, OpenTable, or a direct telephone link on mobile devices.
Common mistakes and fixes
- Low-contrast muted text: AI builders sometimes darken --muted below #B9B09F, pushing small labels under 4.5 to 1 contrast; lock the exact hex codes in :root and verify in DevTools.
- Ragged price alignment on the cream menu: Without tabular numerals and flexible dotted leaders, prices drift horizontally; enforce tabular-nums on price spans and flex-1 on dotted dividers.
- Model slipping in banned dashes or SaaS cliches: LLMs naturally insert hyphens, dashes, or phrases like culinary journey; search your JSX copy and replace any stray dashes with commas or periods.
- Sticky mobile CTA obscuring footer credits: A fixed bottom bar hides the bottom of the footer on phones unless you add matching bottom padding (such as pb-20) below 768px.
Frequently asked questions
What sections are included in this pub website prompt?
The single-page layout includes nine distinct sections: a sticky Navbar, a split Hero with opening hours, Three Things We Do Well photo cards, a high-contrast cream Food Menu, On The Bar for cask ales and ciders, Rooms Upstairs, a weekly What's On events schedule, Find Us with an SVG village map, and the Footer.
Does this prompt work in Lovable, Bolt, and v0?
Yes, it runs cleanly in Lovable, Bolt, and v0 out of the box. It uses standard React, Vite, TypeScript, Tailwind CSS, Lucide icons, and Framer Motion without relying on external booking widgets or interactive map libraries that often break inside browser sandboxes.
Do I need to upload my own pub and food photos first?
No, you do not need custom photography to generate the initial build. Interior fireplace, Sunday roast, hand-pulled ale pump, beer garden, and cottage bedroom photos are all described in plain English so the AI generates matching placeholders until you swap in your own.
Can I change the menu dishes, cask ales, and opening hours?
Yes, every dish, price, cask ale, weekly event, and opening time is written directly in the code as editable data rather than locked inside a complex plugin. You can update seasonal menus or rotating guest ales directly in the component file or via follow-up prompts.
Final thoughts
What makes The Fox and Lantern stand out from typical AI templates is restraint. By skipping heavy booking iframes, map scripts, and flashy gradients in favour of accessible bottle green and brass contrast, DM Serif Display headings, honest local copy, and a thumb-friendly mobile booking bar, you end up with a fast site that genuinely feels like a warm country inn.
Scroll up, copy the full prompt above, paste it into Lovable, Bolt, or v0, and build your own custom version today.