跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。

关于这个模板

Community Bank Website 是一个面向本地社区银行的单页网站,采用深常青绿、黄铜金和纸白色,搭配精致的衬线字体——以沉稳而非夸张徽章来赢得信任的金融网站庄重感。两个实用的金融工具支撑着页面:一个贷款计算器,其摊还图表由代码绘制(金额、利率、期限 → 月供、本金/利息拆分、实时重绘的累计利息曲线),以及一个 CD 阶梯构建器,将存款分散到四个档位,并显示每个档位的 APY、到期价值、混合利率和逐年到期时间表。围绕这些工具:一个带有诚实截止日期说明的示例利率表、个人/商业/贷款板块、一个风格化的 SVG 分行与 ATM 地图(含营业时间和筛选器)、一个交互式的“转投我们”清单,以及一个提供简明欺诈提示的安全中心。该模板从不提及真实机构,从不声称存款保险,并将所有利率标注为示例数据。它适用于社区银行、信用合作社和本地贷款机构,也可通过重新调整工具来适配投资顾问。五个变量可替换银行名称、城镇、行长、电话和年限;利率、分行和 ATM 均为一个内容文件中的虚构示例数据。

模板提示词

在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。

# Community Bank Website

Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.

## Brief
Build a one-page site for [BRAND], the community bank serving [CITY] for [EXPERIENCE], led by president [FOUNDER]. The page presents personal, business and lending services around two working tools: a loan calculator with a code-drawn amortization chart, and a CD ladder builder with a blended-rate and maturity schedule. A sample rates table, a stylized branch-and-ATM map with hours, a switch-to-us checklist and a security center complete the page. Rates are sample data with an as-of note; the site never names real institutions, never claims deposit insurance, and never offers financial advice. All branches, ATMs and figures are invented.

- Audience: Primary: households and small businesses around [CITY] choosing between a local institution and a megabank app — people who want better rates visible, a branch they can walk into, and no dark-pattern account openings. Secondary: credit unions and local lenders adapting the tools.
- Goal: Move a visitor from 'is the local bank actually competitive' to a started conversation: show the numbers first (rates and tools with visible math), prove the branches exist, make switching feel like five checklist items, then offer the short contact form.
- Tone: Plain, unhurried banker's English — explains numbers the way a good branch manager would across a desk. Informative, never advice; confident, never sales-y.

## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), vite (MIT), typescript (Apache-2.0), tailwindcss (MIT), motion (MIT), lucide-react (ISC), @fontsource/lora (OFL-1.1), @fontsource/public-sans (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Create a Vite 6 + React 18 + TypeScript project with base './', build.outDir 'dist', build.sourcemap: false. No router, no backend, no server code.
  - Install Tailwind CSS 3.4 with PostCSS and Autoprefixer. Extend the theme with the exact palette below, fontFamily.display 'Lora' and fontFamily.body 'Public Sans'.
  - Self-host Lora weights 600 and 700 and Public Sans weights 400, 500, 600, 700 through @fontsource/lora and @fontsource/public-sans, imported in src/main.tsx. Never load fonts from a CDN.
  - Use Motion from 'motion/react' (motion, useInView, useReducedMotion) for reveals and number tweens; gate every animation on useReducedMotion().
  - Keep all copy and data in src/content.ts: brand strings, hero copy, services, rates table rows (product, term, APY, note), calculator defaults, CD rung rates, branches and ATMs with hours, checklist steps, security tips, stats, form options. When variable values change, rewrite the dependent copy there and derive storage keys and the tel: link from [BRAND] and [PHONE] so no default-brand remnants remain.
  - Loan calculator math, exactly: monthly = P × r(1+r)^n ÷ ((1+r)^n − 1) with r = rate ÷ 1200, n = term months; controls: amount slider $5,000–$600,000 (default $320,000 mortgage-style), rate slider 3.0%–9.0% step 0.05 (default 6.40%), term chips 120 / 180 / 240 / 360 months (default 360); outputs: monthly payment, total interest, total paid, all rounded to whole dollars; the chart is a hand-rolled SVG of two series over time — remaining balance line and cumulative-interest area — recomputed at 24 evenly spaced points, redrawn with a 250ms transition; footnote 'Sample math, not an offer.'
  - CD ladder builder math, exactly: deposit input $5,000–$500,000 step $1,000 (default $25,000) split evenly across four rungs — 12-month 4.00% APY, 24-month 3.85%, 36-month 3.70%, 60-month 3.55%; each rung's maturity value = share × (1 + APY ÷ 12) ^ months; blended APY = average of rung APYs weighted by share (equal shares → simple average); outputs: blended APY, each rung's row (term, APY, share, maturity value), total value if all four run through their terms, and a schedule note 'a rung matures every 12 months — roll each into a new 60-month CD to keep the ladder walking'; persist inputs to localStorage under [BRAND_SLUG]-ladder.
  - Draw the branch map as a stylized inline SVG on a paper panel: a simplified street grid, a river curve, three brass branch markers (evergreen pins with brass cores) labeled with branch names, six gold ATM dots; filter chips (All / Branches / ATMs only) toggle marker visibility; each branch's hours sit in a list beside the map; a sample note 'Hours shown for this demo — holiday hours post in-branch.' No real map tiles, no real geography.
  - The switch-to-us checklist is interactive: five items ('Open your [BRAND] account online or in-branch — 15 minutes', 'Move your direct deposit (we give your payroll department the form)', 'Point your bill-pay and auto-pays at the new account', 'Let checks and card charges clear for two weeks', 'Close the old account and ask for a written confirmation'), checkboxes persist to localStorage under [BRAND_SLUG]-switch with a '3 of 5' progress chip.
  - Use only these lucide-react icons: Phone, Landmark, PiggyBank, Briefcase, Home, Car, ShieldCheck, Lock, AlertTriangle, CheckCircle2, MapPin, Clock, ChevronRight, ArrowRight, Menu, X, Calculator, TrendingUp, Users, FileCheck.
  - Persist the ladder inputs, checklist state and the contact form to localStorage, namespaced with [BRAND_SLUG]; validate restored JSON and recover silently from malformed data.
  - Download the five generated photos to the exact public paths listed in Assets before building. Create ASSETS.md at the project root listing every file's path, source URL, author or generator, and license.
  - A plain <title> of [BRAND] and a favicon (the evergreen square with a brass coin mark) are enough; no meta descriptions, Open Graph tags, JSON-LD, or sitemaps.

## Variables
- [BRAND] — Bank name (default: "Almstead Community Bank"). Invented bank name; a brass-coin logomark is derived from it in code.
- [CITY] — Town (default: "Calverton"). The bank's home town; appears in hero, branches, map labels and footer.
- [FOUNDER] — President (default: "Ellen Marchetti"). Invented bank president, named in hero and about copy.
- [PHONE] — Phone (default: "(555) 664-1000"). Branch line; links as tel: with digits only.
- [EXPERIENCE] — Years serving (default: "93 years"). Plain phrase like '93 years'; used in hero and stats copy.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/community-bank-website in the footer (default: yes; delete this line to remove it)

The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.

Pro 模板

解锁完整提示词和源码

  • 完整提示词:设计、版块、动效、素材
  • 每个在线演示的源码
  • 商用授权

在线演示和 DESIGN.md 仍然免费。

$9/月起 · 年付和终身正在上线特惠

DESIGN.md

单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。

---
name: "Community Bank Website"
colors:
  deep_evergreen: "#0F3D3E"
  evergreen_deeper: "#0A2C2D"
  brass_gold: "#C9A227"
  brass_tint: "#F6EFD8"
  paper_white: "#FBFAF6"
  white: "#FFFFFF"
  ink: "#1F2B2A"
  steel: "#5A6967"
  hairline: "#E3E1D7"
typography:
  display_headlines_rates_big_numbers: { family: "Lora", weights: [600, 700] }
  body_paragraphs_controls_table_cells: { family: "Public Sans", weights: [400, 500, 600, 700] }
spacing: "Sections separated by 96px desktop / 64px mobile; section headers use a 13px letter-spaced brass eyebrow over a Lora 700 title at clamp(30px, 3.4vw, 46px); cards 28px padding, 24px gaps; tables get 12px vertical cell padding."
radius: "Bank restraint: 4px on cards and chips, 2px on tables; only photos round to 6px."
---

# Community Bank Website — Design System

Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.

## Colors
- **Deep evergreen** `#0F3D3E` — Header ground, dark bands, authority color
- **Evergreen deeper** `#0A2C2D` — Footer ground
- **Brass gold** `#C9A227` — Accents: rates, wordmark details, active chips, CTAs
- **Brass tint** `#F6EFD8` — Highlight panels and notes
- **Paper white** `#FBFAF6` — Page ground
- **White** `#FFFFFF` — Cards and panels
- **Ink** `#1F2B2A` — Headings and body on light
- **Steel** `#5A6967` — Secondary text; #A9B8B5 on dark
- **Hairline** `#E3E1D7` — Hairline rules and card borders

## Typography
- **Display: headlines, rates, big numbers** — Lora (OFL), weights 600/700. Self-host the font files.
- **Body: paragraphs, controls, table cells** — Public Sans (OFL), weights 400/500/600/700. Self-host the font files.

## Spacing & shape
- Spacing: Sections separated by 96px desktop / 64px mobile; section headers use a 13px letter-spaced brass eyebrow over a Lora 700 title at clamp(30px, 3.4vw, 46px); cards 28px padding, 24px gaps; tables get 12px vertical cell padding.
- Radius: Bank restraint: 4px on cards and chips, 2px on tables; only photos round to 6px.

## Motion
- Fade-rise reveals (14px, 550ms, 70ms stagger) via useInView, once.
- The calculator and ladder outputs tween 200ms on change; the amortization chart redraws with a 250ms path transition.
- Map markers pop 1.1× once on section entry, staggered 60ms; stat numbers count up over 900ms.
- All motion disables instantly under prefers-reduced-motion; no parallax, no scroll-jacking, no autoplay media.

## Imagery
Warm institutional photography from one shoot: a walnut-and-evergreen bank lobby with brass details, a teller counter close-up, a small-town main street, and two studio banker portraits (fictional people, plain suits, warm light). No readable signage, no real bank marks, no customers in close-up.

## Tone
Plain, unhurried banker's English — explains numbers the way a good branch manager would across a desk. Informative, never advice; confident, never sales-y.

---
— Prompt by VibeFather · https://vibefather.ai/t/community-bank-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown

改成你自己的

  • 小镇上的信用合作社:将 BRAND 和 CITY 设置为您服务的会员范围,保留贷款计算器,并围绕会员所有制语言重写个人和商业板块。
  • 独立抵押贷款经纪人:保留贷款计算器和摊还图表,将利率表替换为您的贷款项目,并将分行地图替换为办公时间和预约表单。
  • 农业信贷贷款机构:将 CD 阶梯构建器指向季节性存款规划,重命名档位,并为农业账户重写转投清单。
  • 仅收费投资顾问:将两个工具重新指向投资组合情景,将利率表替换为服务概览,并保留沉稳的衬线布局。

社区银行网站:常见问题

Community Bank Website 上的贷款计算器是如何工作的?

Community Bank Website 上的贷款计算器接受 5,000 至 600,000 美元的金额、3.0% 至 9.0% 的利率以及 120、180、240 或 360 个月的期限,然后以整数美元显示月供、总利息和总还款额。代码绘制的图表会绘制整个期限内剩余余额和累计利息的变化,并随滑块移动实时重绘。

Community Bank Website 中的 CD 阶梯构建器会显示什么?

Community Bank Website 中的 CD 阶梯构建器将 5,000 至 500,000 美元的存款平均分配到 12、24、36 和 60 个月的四个档位,每个档位都有自己的示例 APY。它会显示每个档位的份额和到期价值、混合 APY、四个档位全部到期后的总价值,并注明每 12 个月有一个档位到期。

怎么用 AI 做一个社区银行网站?

复制本页的完整提示词(Pro),或者运行 npx vibefather add community-bank-website,把 [CITY]、[BRAND]、[PHONE]、[FOUNDER] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。

社区银行网站模板用什么技术栈,有几个页面?

社区银行网站是一个单页网站,用 React、Tailwind CSS、Motion 构建。提示词固定了技术栈,不同 AI 工具做出来的都是同一类项目,成品是静态网站,部署到哪里都可以。