用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一个沉稳、无障碍的区域医院网站,以大号易读字体、高对比度和紧急情况下的即时清晰度为核心。功能包括:顶部清晰的急诊横幅(含示例急诊等候时间)、独立的科室与服务页面、可按专科、院区位置、使用语言、是否接收新患者筛选的查找医生名录(附完整临床医生档案)、院区位置与路线、分步预约申请流程、患者与访客实用信息(停车、探视时间、需携带物品)、交互式模拟患者门户预览(化验结果、护理消息、账单对账单)、用通俗语言撰写的健康科普文章健康图书馆、招聘职位列表,以及基金会捐赠页面——并搭配同一组拍摄中阳光充足的建筑与临床摄影作品。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 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 仍然免费。
$9/月起 · 年付和终身正在黑五特惠
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] 设为你的集团,保留医生名录和预约流程,并将位置页面缩减为你的院区。
- 母婴与家庭中心:以母婴与家庭科室视图为主,为准父母重写首屏,并将预约流程指向你的产前接诊。
- 社区健康非营利组织:将基金会捐赠层级改用于募捐活动,并保留健康图书馆用于通俗语言的预防性文章。
- 医院招聘页面:保留招聘职位列表和临床医生档案,将急诊横幅替换为招聘联系方式,并简化门户预览。
医院网站:常见问题
如何更改医院网站上的急诊等候时间和急诊横幅?
医院网站模板将顶部急诊横幅文案保存在 [EMERGENCY_LINE] 变量中,因此你可以将示例指引替换为自己的分诊电话和急诊说明。三个院区的急诊等候时间是写入内容文件的示例数据,可编辑这些数值或将其指向你自己的数据。除非你有实时数据源持续提供等候时间,否则请保留等候时间为示例的说明。
有没有可以用 AI 构建并作为静态文件托管的医院网站模板?
VibeFather 上的医院网站模板构建为静态文件,没有后端、服务器代码或外部 API,因此可以托管在任何静态托管服务上。它使用 Vite、React、TypeScript 和 Tailwind CSS,构建输出是一个静态资源文件夹。预约流程和患者门户是带有示例确认信息的前端预览,如需实时请求,请连接你自己的预约系统。