Wexford Links Golf Club: Crafting a Heritage Course Scorecard with AI
Most sports club websites fail because they look like loud SaaS landing pages instead of established institutions. When I tested this golf club website prompt, originally published by Websiteprompts.ai, what stood out immediately was its architectural restraint. Built around a fictional 1926 parkland course called Wexford Links, it pairs warm cream surfaces with deep fairway ink, engraved brass accents, and honest, understated copywriting. You can inspect the finished aesthetic in the live preview before writing a line of code.
In this tutorial, I will walk you through turning the full prompt on this page into a production-ready React, TypeScript, and Tailwind CSS site using Lovable, Bolt, or v0. Expect to spend about 35 minutes generating the layout, verifying the interactive 18-hole scorecard, checking scroll animations, and swapping in your own club details.
What you need
- An account on Lovable, Bolt, or v0 (free tiers handle the initial generation).
- The full prompt on this page, located in the copyable block right above Step 1.
- About 35 minutes to generate, audit responsive states, and customize club data.
- Basic familiarity with inspecting CSS custom properties and React component props.
- Optional: course photography and real yardage/par figures if building for a live club.
The full prompt
# Wexford Links — Golf Club Website Prompt
## 1. Goal Statement
Build a heritage private golf club website for **Wexford Links**, defined by deep fairway green, warm cream, and a restrained engraved-crest aesthetic that signals a club founded in 1926 rather than a driving range.
## 2. Tech Stack
```
React + Vite + TypeScript + Tailwind CSS + Framer Motion (motion/react) + shadcn/ui + lucide-react
```
## 3. Design System — Colors
```css
:root {
--background: hsl(42, 34%, 95%); /* #f7f2e8 cream */
--foreground: hsl(150, 26%, 14%); /* #1a2e24 fairway ink */
--primary: hsl(150, 38%, 22%); /* #23503c deep green */
--primary-foreground: hsl(42, 34%, 96%);
--muted-foreground: hsl(150, 8%, 44%);
--border: hsl(40, 18%, 85%);
--card: hsl(42, 36%, 91%);
--accent-brass: hsl(38, 46%, 52%); /* engraved brass */
}
```
## 4. Typography
```html
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet" />
```
- **H1:** Cormorant Garamond 300, clamp(40px, 5vw, 72px), letter-spacing 0.01em
- **H2:** Cormorant Garamond 400, 32–46px
- **H3 / card titles:** Inter 600, 17–20px
- **Body:** Inter 300, 17px, line-height 1.78
- **Eyebrows:** Inter 600, uppercase, letter-spacing 0.2em, 11px, brass
- **Hole numbers / yardages:** Cormorant Garamond 600, tabular-nums
## 5. Visual Effects
**Effect 1 — Interactive course scorecard.** An 18-row table where hovering a row expands a short hole description and highlights the row in pale green. Front nine and back nine split by a brass rule with running totals.
```tsx
<tr
onMouseEnter={() => setActive(h.number)}
className="border-b border-[var(--border)] transition-colors duration-200"
style={{ background: active === h.number ? 'var(--card)' : 'transparent' }}
>
<td className="py-4 font-serif text-2xl tabular-nums">{h.number}</td>
<td className="py-4 tabular-nums">{h.yards}</td>
<td className="py-4 tabular-nums">{h.par}</td>
<td className="py-4 text-sm text-[var(--muted-foreground)]">{h.handicap}</td>
</tr>
```
**Effect 2 — Brass rule reveal.** Every section heading is followed by a 1px brass line that scales from the left (`scaleX 0 → 1`, originX 0, 0.8s) on scroll entry.
## 6. Component Breakdown
1. **Navbar** — 80px, sticky, cream with 1px bottom border. Centred engraved-style crest wordmark, links split left and right, `Enquire About Membership` brass outline button right.
2. **Hero** — 92vh, full-bleed course photograph with a bottom-weighted cream gradient. Eyebrow, serif H1, subline, two CTAs. *Image: wide golf course fairway at early morning, low mist over manicured grass, mature trees framing the shot, soft warm light, landscape photography.*
3. **Club stats band** — four figures on `--card`: founded, holes, par, course rating.
4. **The Course** — 2-col: left sticky heading and description, right the 18-row scorecard (Effect 1).
5. **Signature holes** — 3 cards with images, hole number in large serif, yardage, par, and a two-sentence description.
6. **Membership** — three tiers (Full, Weekday, Junior) in bordered cream cards with joining fee, annual dues, and four benefit lines each.
7. **Practice & Coaching** — 3-col: driving range, short game area, PGA lessons, each with hours and pricing.
8. **Clubhouse & Dining** — split image and text with opening hours and dress code note.
9. **Events & Societies** — corporate days and society packages with an enquiry CTA.
10. **Visitor information** — green times, guest fees, handicap requirement, directions.
11. **Footer** — deep green, four columns, crest, address, affiliations.
## 7. Animations
- Hero: image scales `1.06 → 1` over 12s linear; H1 fades up 0.85s
- Brass rules under headings: `scaleX 0 → 1`, 0.8s, originX left
- Scorecard rows: fade in staggered `i * 0.03`; hover tints row 0.2s
- Signature hole cards: `y: 30 → 0`, stagger 0.12s; image scales 1.04 on hover over 0.6s
- Stats: count-up 1600ms on `useInView`
- Membership cards: lift `-4px` with a brass 1px border appearing on hover
## 8. Responsive
- **Mobile (<768px):** hamburger menu; H1 clamps to 40px; stats become 2x2; scorecard becomes stacked cards showing hole, par, yards on one line and description below; membership tiers stack; signature holes 1-col.
- **Tablet:** scorecard keeps table form with the handicap column hidden; signature holes 2-col.
- **Desktop:** max width 1180px, `px-16`, sections `py-24`.
## 9. Full Copy
**Brand:** WEXFORD LINKS · Est. 1926 · County Wexford
**Navbar:** The Course · Membership · Coaching · Clubhouse · Events · Visitors · [Button] Enquire About Membership
**Hero**
- Eyebrow: `FOUNDED 1926 · PARKLAND · 18 HOLES · PAR 72`
- H1: `A course that has never needed to shout.`
- Subline: `Ninety-nine years of parkland golf on the same stretch of land, with a members' waiting list we are honest about and a clubhouse that still serves a proper lunch.`
- CTAs: `Enquire About Membership` · `View the Course`
**Stats:** `1926` Founded · `18` Holes · `72` Par · `71.4` Course rating
**The Course** — Eyebrow `THE COURSE` — H2 `Eighteen holes, four of them memorable and one you will complain about.`
Description: `Mature parkland laid over gently rolling ground, with tree-lined fairways, small fast greens, and a stretch from the eleventh to the fourteenth that decides most club competitions. The course plays 6,412 yards from the whites and considerably longer into a westerly.`
**Signature holes**
1. **The 7th — 168 yards, par 3** — Downhill across water to a green that slopes away from you. Club selection is a guess and everyone claims otherwise.
2. **The 12th — 441 yards, par 4** — The hardest hole on the card. A blind drive over the ridge, then a long approach into a green guarded left by bunkers cut in 1931.
3. **The 18th — 512 yards, par 5** — Reachable in two with a following wind, which is roughly one day in nine. The clubhouse windows watch every approach.
**Membership**
- **Full Membership** — Joining fee £1,200 · Annual dues £1,850 — Unrestricted play seven days · Full competition eligibility · Guest rate of £30 · Reciprocal access to eleven partner clubs
- **Weekday Membership** — Joining fee £600 · Annual dues £1,050 — Play Monday to Friday · Weekday competitions · Guest rate of £35 · Full clubhouse rights
- **Junior Membership** — No joining fee · Annual dues £180 — Under 18 · Free group coaching · Supervised weekend play · Progression to full membership at reduced entry
Note: `Full membership currently has a waiting list of approximately fourteen months. We will tell you honestly where you sit on it.`
**Coaching** — `Driving Range` 24 covered bays, £6 per 60 balls · `Short Game Area` free to members, two practice greens and three bunkers · `PGA Lessons` £45 per half hour with Head Professional Alan Reid, video analysis included
**Clubhouse** — `The dining room serves lunch from noon to three and dinner Thursday to Sunday. Jackets are not required, but denim and trainers are not welcome after six.`
**Events** — `Corporate days from £68 per head including coffee, eighteen holes, and a two-course meal. Society packages available Monday to Thursday.`
**Visitors** — `Green fees £75 weekday, £95 weekend. Handicap certificate required. Visitor tee times from 10:30am. Book by phone on 053 555 0142.`
**Footer** — WEXFORD LINKS · `Ballymore Road, County Wexford` · Affiliated to Golf Ireland · © 2026
## 10. Key Dependencies
```json
{
"motion": "^12.0.0",
"lucide-react": "^0.460.0",
"clsx": "^2.1.0",
"tailwind-merge": "^2.5.0"
}
```1Paste the golf club website prompt into your AI builder
Open a fresh project in Lovable, Bolt, or v0. Copy the full prompt on this page from the code block right above Step 1 and paste the entire specification into the chat input in a single pass. Resist the urge to feed it piece by piece. Modern AI builders generate cleaner component trees when they see the color tokens, interactive state rules, and final copywriting together on the initial run.
The architecture uses React, Vite, TypeScript, Tailwind CSS, shadcn/ui, lucide-react, and Framer Motion imported from motion/react. Give the workspace 60 to 90 seconds to scaffold the files and install dependencies.
Before inspecting visual polish, run three baseline checks:
- Confirm all eleven sections render in sequence from top navbar to footer.
- Verify
motion(^12.0.0) is installed; if your builder defaults toframer-motion, align the import path so animations compile cleanly. - Check that no generic placeholder text leaked into any card.
Pro tip: In v0, start a full project workspace rather than a single-file snippet so custom CSS tokens and Google Fonts load properly.
2Audit the cream, fairway green, and brass CSS tokens
Open your global stylesheet, usually src/index.css or app/globals.css, and inspect the :root block. Heritage brands fail on screen when developers default to pure #ffffff white, which creates harsh glare and feels clinical. This palette uses warm cream (hsl(42, 34%, 95%)) for the page surface and dark fairway ink (hsl(150, 26%, 14%)) for text, delivering well above WCAG AAA contrast without eye strain.
:root {
--background: hsl(42, 34%, 95%);
--foreground: hsl(150, 26%, 14%);
--primary: hsl(150, 38%, 22%);
--card: hsl(42, 36%, 91%);
--accent-brass: hsl(38, 46%, 52%);
}
Notice how --card shifts slightly darker to hsl(42, 36%, 91%) so stats bands and hovered rows separate from the background without heavy drop shadows. If the AI hardcoded standard utility classes like bg-white or text-gray-900, ask it to replace them:
- Map primary buttons and the footer background to
var(--primary). - Reserve
--accent-brassstrictly for thin1pxrules, eyebrows, and button borders so brass never compromises text legibility.
Pro tip: Never use --accent-brass for small body text on cream; keep brass for decorative borders and uppercase eyebrows while using --foreground for copy.
3Verify the Cormorant Garamond and Inter font pairing
Check index.html (or your root layout file in v0) to ensure the Google Fonts stylesheet loads Cormorant Garamond in weights 300, 400, and 600 alongside Inter in weights 300, 400, 500, and 600. Editorial luxury relies on high typographic contrast: light-weight classical serifs signal ninety-nine years of history, while clean geometric sans-serif body text keeps pricing, rules, and yardages effortless to scan.
Inspect computed styles in your preview panel and verify four critical typographic details from the prompt above:
- Hero H1: Uses
Cormorant Garamondweight 300 with fluid sizingclamp(40px, 5vw, 72px)and0.01emletter-spacing so the headline breathes across desktop and mobile viewports. - Body copy: Uses
Interweight 300 at17pxwith a generous1.78line-height, preventing dense parkland descriptions from feeling cramped. - Eyebrows: Set in
Inter600, uppercase,11px,0.2emtracking, colored in--accent-brass. - Scorecard figures: Apply
tabular-numsonCormorant Garamond600 so hole numbers and yardages align vertically in crisp columns.
Pro tip: Check Tailwind config so font-serif maps explicitly to Cormorant Garamond instead of falling back to Georgia or Times New Roman.
4Inspect the sticky navbar, misty hero, and club stats band
Scroll to the top of the preview and examine the first three components together. The 80px sticky navbar sits on --background cream with a subtle 1px bottom border, placing the engraved-style Wexford Links crest wordmark dead center. Splitting navigation links left and right around a centered crest mimics traditional printed club stationery while keeping the Enquire About Membership brass outline CTA prominent on the far right.
Below the header, the 92vh hero pairs a misty early-morning fairway photograph with a bottom-weighted cream gradient scrim. Placing typography over a calculated gradient scrim rather than an empty patch of sky guarantees strong contrast even when you swap in your own photography later. Verify that the background image runs a slow 1.06 to 1 linear scale over 12 seconds while the H1 (A course that has never needed to shout.) fades up in 0.85s.
Directly underneath, confirm the four-column club stats band sits on --card and triggers a 1600ms count-up animation via useInView for 1926 Founded, 18 Holes, 72 Par, and 71.4 Course rating.

Pro tip: Make sure the stats counter formats 71.4 to one decimal place during the count-up animation rather than rounding it to 71.
5Test the sticky course overview and interactive 18-hole scorecard
Scroll to The Course section, structured as a two-column desktop grid. On the left, the heading (Eighteen holes, four of them memorable and one you will complain about.) and 6,412-yard parkland overview must stay pinned with sticky positioning while the reader scrolls down the full 18-hole table on the right. That spatial anchor prevents an awkward blank column beside the back nine.
<tr
onMouseEnter={() => setActive(h.number)}
className="border-b border-[var(--border)] transition-colors duration-200"
style={{ background: active === h.number ? 'var(--card)' : 'transparent' }}
>
Hover slowly across every row in the scorecard to test Effect 1 from the prompt above:
- Hovering or focusing a hole should update React state (
active === h.number), tinting the row withvar(--card)over200msand expanding a short hole description smoothly. - Check that holes 1 through 9 and 10 through 18 are divided by a
1pxbrass rule showing Out and In running yardage and par totals. - Confirm rows stagger in on scroll using an
i * 0.03delay.

Pro tip: Add onClick and onFocus handlers alongside onMouseEnter so keyboard and touch-screen users can expand hole descriptions too.
6Review the signature holes grid and hover micro-interactions
A full 18-row table satisfies serious golfers checking stroke indexes, while casual visitors and society organisers connect faster with visual storytelling. That is why the Signature Holes section highlights just three memorable tests in a balanced three-column grid: The 7th (168 yards, par 3 downhill over water), The 12th (441 yards, par 4 blind ridge drive to 1931 bunkers), and The 18th (512 yards, par 5 watched from the clubhouse windows).
Inspect both the card hierarchy and motion timing in your AI builder preview:
- Verify each card pairs a landscape course photo with a large
Cormorant Garamondhole number, tabular yardage and par specs, and the exact two-sentence editorial copy. - Scroll the section into view to confirm cards rise from
y: 30to0with a0.12sstagger. - Hover each card image to ensure
overflow-hiddenclips the container cleanly while the photo scales to1.04over0.6s. If the image spills outside its frame, addoverflow-hiddento the image wrapperdiv.

Pro tip: Lock signature hole images to a consistent aspect-[4/3] container so uneven photo dimensions never misalign the serif hole numbers below.
7Check the membership tiers and PGA coaching columns
Private clubs win enquiries through transparency rather than high-pressure sales funnels. Move down to the Membership section and verify that Full Membership (£1,200 joining fee, £1,850 annual dues), Weekday Membership (£600 joining, £1,050 dues), and Junior Membership (no joining fee, £180 dues) sit in equal bordered cream cards. Unlike SaaS pricing tables, none of the cards should wear a loud 'Most Popular' ribbon.
Test the restraint of the hover physics and adjacent coaching layout:
- Hover each membership tier to verify it lifts
-4pxon the Y-axis while transitioning its border to1px--accent-brass. - Confirm the fourteen-month waiting list note renders clearly beneath the three tiers, preserving the candid tone of the prompt above.
- Check Practice & Coaching directly below for a clean three-column split covering the 24-bay Driving Range (
£6 per 60 balls), member-free Short Game Area, and PGA Lessons (£45 per half hourwith Head Professional Alan Reid).

Pro tip: Use flex-col and justify-between inside the three membership cards so bottom borders and action links align horizontally regardless of text wrap.
8Validate clubhouse dining, society events, visitors, and footer
The lower third of the page serves non-member revenue streams without diluting the private club atmosphere. Inspect Clubhouse & Dining first: it should render as an asymmetric split with an atmospheric dining room photograph beside lunch hours (noon to three), dinner service (Thursday to Sunday), and the understated dress code note restricting denim and trainers after six.
Continue scrolling to verify the remaining conversion strips and structural anchor:
- Events & Societies: Check that corporate days (
from £68 per head) and Monday-to-Thursday society packages pair with a clear enquiry button. - Visitor Information: Confirm weekday (
£75) and weekend (£95) green fees, handicap certificate rules,10:30amtee times, and phone booking (053 555 0142) are easy to scan on mobile when travellers check requirements. - Footer: Ensure the four-column footer switches to
--primarydeep green (#23503c) with--primary-foregroundcream text, displaying the Wexford Links crest, Ballymore Road address, and Golf Ireland affiliation.

Pro tip: Wrap the visitor phone number in a clickable tel:0535550142 link so mobile visitors can tap to book tee times immediately.
9Tune the brass rule reveals and responsive breakpoints
Consistent motion architecture ties eleven sections into one cohesive product. Check Effect 2 from the prompt above: every section heading should be followed by a 1px line in --accent-brass that animates scaleX from 0 to 1 over 0.8s on scroll entry. Always confirm transformOrigin: 'left' (or origin-left in Tailwind) is applied; otherwise Framer Motion scales lines outward from the center, breaking left-aligned editorial grids.
Next, toggle the viewport switcher in Lovable, Bolt, or v0 across three target widths:
- Desktop (
1180pxmax-width): Verifypx-16horizontal gutters and generouspy-24vertical section rhythm. - Tablet: Confirm the 18-hole scorecard remains a table while hiding the handicap column, and signature holes drop to two columns.
- Mobile (
<768px): Check that the split navbar collapses into a working hamburger drawer, stats form a2x2grid, and the 18-row scorecard converts into stacked cards showing hole, par, and yards on top with the description underneath.
Pro tip: Pass viewport={{ once: true, amount: 0.3 }} to your brass rule motion components so lines animate smoothly once instead of flickering on scroll up.
10Swap in your club copy, photography, and enquiry handler
Because the full prompt on this page isolates club data cleanly, rebranding Wexford Links for a real client or portfolio piece takes less than ten minutes. Ask your AI builder to extract the 18 holes, three signature holes, membership tiers, and visitor fees into a dedicated src/data/courseData.ts file if they are currently inline inside JSX components.
Finish your build with three production readiness updates before clicking publish:
- Photography: Replace generated course, signature hole, and dining images with real WebP photos around
1600pxwide for the hero and800pxfor cards, adding descriptivealtattributes for screen readers. - Enquiry modal or form: Wire the
Enquire About Membershipand society CTA buttons to an accessibleshadcn/uiDialog form or email endpoint rather than inert#anchor links. - Accessibility check: Enable OS reduced-motion preferences in DevTools and verify
motion/reactrespects reduced motion on the 12-second hero zoom and counter animations.
Pro tip: Verify that Out and In scorecard totals sum to your exact course yardage (6,412 yards in the default copy) when customizing individual holes.
Adapt it to your own brand
- Tennis, Cricket, or Rowing Clubs: Keep the cream, deep green, and brass palette intact, replacing the 18-hole scorecard with court surface specs, regatta fixtures, or pavilion pitch schedules.
- Coastal Links or Yacht Clubs: Shift
--primaryfrom parkland green (hsl(150, 38%, 22%)) to deep maritime navy (hsl(215, 42%, 20%)) while preserving--accent-brassand warm cream surfaces. - Country House Hotels & Estates: Repurpose Signature Holes into Signature Suites, Membership into Seasonal Patronage, and the 18-row table into an interactive estate tasting or spa menu.
- Multi-Tee Yardage Selector: Add a controlled segmented toggle above the scorecard (
Championship Blue,Medal White,Forward Red) that dynamically updates hole yardages and course ratings. - Live Tee-Time Widget Integration: Keep the honest phone-booking copy for heritage clubs, or connect the Visitor Information CTA to a BRS Golf or ClubV1 booking iframe inside a slide-over drawer.
- Currency & Governing Body Localization: Swap
£pricing, county addresses, and the Golf Ireland footer affiliation to USGA, R&A, or Golf Australia equivalents in your central config file.
Common mistakes and fixes
- Scorecard overflows horizontally on phones: AI builders sometimes leave a wide HTML
<table>on<768pxscreens. Prompt the builder to render amd:hiddenstacked card list on mobile andhidden md:tableon tablet and desktop. - Sticky left column fails to stick in The Course section: If a parent wrapper has
overflow-hidden, CSSposition: stickybreaks silently. Change ancestor overflow tooverflow-x-cliporoverflow-visibleand addself-start top-28to the left column. - Framer Motion import mismatch: The specification uses
motion/react(motionv12+), whereas older templates installframer-motion. Align the package inpackage.jsonwith your import statement so builds do not fail. - AI invents mismatched scorecard math: When generating 18 individual holes, models often pick random yardages that do not sum to
6,412yards or Par72. Ask the AI to compute Out, In, and Total cells dynamically withArray.reduce(). - Hero headline washes out over bright sky photos: If the builder applies a weak uniform overlay instead of a bottom-weighted cream gradient (
bg-gradient-to-t from-[var(--background)] via-[var(--background)]/75 to-transparent), ask it to anchor the scrim to the bottom 55% of the hero.
Frequently asked questions
What sections are included in this golf club website prompt?
The prompt generates eleven complete sections: a sticky centered-crest Navbar, a full-bleed misty Hero, a four-figure Club Stats band, The Course overview with an interactive 18-hole scorecard, Signature Holes, three Membership tiers, Practice and Coaching, Clubhouse and Dining, Events and Societies, Visitor Information, and a four-column deep green Footer.
Does this prompt work out of the box in Lovable, Bolt, and v0?
Yes. Because the specification targets standard React, Vite, TypeScript, Tailwind CSS, shadcn/ui, and Framer Motion, you can paste the full prompt on this page into Lovable, Bolt, or v0 in one shot. Only double-check whether your builder installs the newer motion package or classic framer-motion so imports compile cleanly.
Do I need custom golf course photography before running the prompt?
No. The prompt describes the misty morning fairway, signature holes, and clubhouse dining room in plain English so AI builders generate cohesive placeholder photography automatically. Because the hero headline sits over a bottom-weighted cream gradient scrim rather than an empty sky patch, your own course photos can drop in later without breaking text legibility.
How easy is it to customize the club name, fees, and scorecard data?
Very straightforward. Every detail, including the club name, 1926 founding year, 71.4 course rating, signature holes, membership dues, PGA lesson rates, and visitor green fees, is defined explicitly in the copy specification. You can update those figures directly in a single follow-up prompt or centralize them in a TypeScript data file.
Final thoughts
What makes this heritage golf club architecture work is restraint. Instead of flashy gradients or cluttered booking widgets, warm cream surfaces, tabular Cormorant Garamond numerals, subtle 1px brass rules, and an interactive 18-hole scorecard do the heavy lifting. In roughly half an hour, you end up with a responsive site that respects ninety-nine years of sporting tradition while running on a clean modern React and Tailwind stack. Scroll back up, copy the full prompt on this page right above Step 1, paste it into Lovable, Bolt, or v0, and build your own version today.