关于这个模板
一个沉稳、易用的地区医院网站,采用大号易读字体、高对比度设计,在紧张状态下也能一目了然。功能包括:清晰的顶部急诊横幅(含示例急诊等候时间)、独立的科室与服务页面、可按专科、院区位置、使用语言、是否接收新患者筛选的查找医生名录(含完整临床医生简介)、院区位置与路线、引导式预约申请流程、患者与访客实用信息(停车、探视时间、需携带物品)、交互式模拟患者门户预览(化验结果、护理消息、账单明细)、用通俗英语撰写的健康文库、招聘信息以及基金会捐赠页面——并配合同一组拍摄的、阳光充足的建筑与临床摄影图片。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Hospital Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a calm, high-contrast regional hospital website for [HOSPITAL_NAME] serving the [REGION_NAME] (Main Desk: [PHONE_MAIN]; Emergency Banner: [EMERGENCY_LINE]). Use warm white surfaces (#FCFBF8) with hospital blue (#1356A8), calming mint (#3CC2A0), coral accent (#FF6F59), and big, high-contrast typography. Include a persistent top Emergency Banner showing sample ER wait times across three regional campuses and hash-routed navigation synced bidirectionally with window.location.hash across: (1) #/home — Sunlit atrium architectural hero, quick care actions (Find a Doctor, Request Appointment, ER Wait Times, Patient Portal), featured Departments, campus ER wait-time strip, and sample-data transparency note; (2) #/departments — Interactive department cards opening detailed service views (Cardiology, Orthopedics, Maternity & Family, Diagnostic Imaging, Neurology, Urgent & Primary Care); (3) #/doctors — Filterable physician directory (Specialty, Campus Location, Spoken Language, Accepting New Patients toggle, keyword search) opening full fictional clinician profile panels with direct appointment pre-fill; (4) #/locations — Three regional hospital & clinic campuses with sample ER wait times, parking decks, transit directions, and Patient & Visitor Guide (visiting hours, parking rates, what to bring); (5) #/appointments — Step-by-step Appointment Request flow with instant sample confirmation ticket; (6) #/portal — Interactive Mock Patient Portal Preview featuring tabbed sample Lab Results, Care Team Messages (with reply composer), and Billing Statements; (7) #/library — Health Library articles with topic filter and full article reader modal/view, plus Careers open roles and Foundation Giving impact tiers. Clearly label all wait times, portal records, and profiles as sample data with zero medical claims and zero calendar dates.
- Audience: Patients, families, visitors, referring clinicians, job applicants, and community donors.
- Goal: Deliver instant calm and wayfinding for stressed visitors—putting emergency wait times, doctor search, campus parking, and appointment booking within one click.
- Tone: Reassuring, transparent, modern civic healthcare—plain English, generous spacing, high contrast.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/plus-jakarta-sans (OFL-1.1), @fontsource/inter (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/plus-jakarta-sans (500, 600, 700) and @fontsource/inter (400, 500, 600) in src/main.tsx.
- Bundle all 4 generated WebP architectural/clinical hospital photos locally under public/images/ and reference via ./images/*.webp.
- Sync active route (#/home, #/departments, #/doctors, #/locations, #/appointments, #/portal, #/library, #/careers, #/giving) bidirectionally with window.location.hash.
## Variables
- [HOSPITAL_NAME] — Hospital System Name (default: "Meridian Valley Health"). Fictional regional hospital network name
- [REGION_NAME] — Service Region (default: "Meridian Valley"). Fictional valley or bay region served
- [PHONE_MAIN] — Main Desk Phone (default: "(555) 019-4400"). Sample non-working 555 telephone number
- [EMERGENCY_LINE] — Emergency Guidance Banner (default: "Dial 911 for emergencies · 24/7 Nurse Triage: (555) 019-4911"). Top emergency banner copy
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/hospital-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 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Hospital Website"
colors:
warm_clinical_white: "#FCFBF8"
hospital_blue: "#1356A8"
calming_mint: "#3CC2A0"
alert_coral: "#FF6F59"
deep_slate_ink: "#142136"
typography:
headings_wayfinding_titles: { family: "Plus Jakarta Sans", weights: [500, 600, 700] }
readable_body_copy_portal_data: { family: "Inter", weights: [400, 500, 600] }
spacing: "Clear persistent top emergency strip, clean header nav, and generous 1280px max-width cards with big touch targets and accessible line-height."
radius: "16px soft architectural cards with clean hairline borders."
---
# Hospital 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
- **Warm Clinical White** `#FCFBF8` — Primary calm page canvas
- **Hospital Blue** `#1356A8` — Primary trust accent, links, and clinical headers
- **Calming Mint** `#3CC2A0` — Availability badges, wellness highlights, and wayfinding
- **Alert Coral** `#FF6F59` — Emergency wait-time emphasis and urgent care indicators
- **Deep Slate Ink** `#142136` — High-contrast primary body text
## Typography
- **Headings & Wayfinding Titles** — Plus Jakarta Sans (OFL), weights 500/600/700. Self-host the font files.
- **Readable Body Copy & Portal Data** — Inter (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Clear persistent top emergency strip, clean header nav, and generous 1280px max-width cards with big touch targets and accessible line-height.
- Radius: 16px soft architectural cards with clean hairline borders.
## Motion
- Instant client-side filtering across doctors, departments, health articles, and mock portal tabs.
- Smooth drawer/detail panels for department services and physician profiles.
## Imagery
Four cohesive sunlit architectural & clinical photos from one shoot: bright glass atrium, daylight recovery suite, modern diagnostic imaging console detail, and calm landscaped campus walkway—staff strictly distant or from behind, zero close-up faces, zero readable text.
## Tone
Reassuring, transparent, modern civic healthcare—plain English, generous spacing, high contrast.
---
— Prompt by VibeFather · https://vibefather.ai/t/hospital-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 单院区社区诊所:设置 HOSPITAL_NAME 和 REGION_NAME,将三院区等候时间条裁剪为一个,并根据你自己的服务重写科室卡片。
- 地区癌症中心:保留沉稳的布局,将医生名录筛选条件替换为治疗类型和咨询语言,并将预约预填指向你的接诊团队。
- 儿童医院:调整急诊横幅文案以提供儿科指导,并用适合家庭的通俗英语重写健康文库文章和访客指南。
- 农村医疗网络:使用位置页面展示诊所站点和交通说明,并将招聘信息替换为你的开放职位和基金会捐赠层级。
医院网站:常见问题
如何修改模板中的医院名称、地区和电话号码?
医院网站模板在其提示词顶部保留了四个变量:HOSPITAL_NAME、REGION_NAME、PHONE_MAIN 和 EMERGENCY_LINE。将它们设置为你自己的医院系统、服务区域、总机号码和急诊横幅文案,然后让你的 AI 智能体重写所有提及旧值的标题、段落和标签。提示词要求所有文案放在一个内容文件中,因此替换后首页、科室、医生、位置、预约、门户和文库页面都能保持一致。
怎么用 AI 做一个医院网站?
复制本页的完整提示词(Pro),或者运行 npx vibefather add hospital-website,把 [PHONE_MAIN]、[REGION_NAME]、[HOSPITAL_NAME]、[EMERGENCY_LINE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。