跳到正文
VibeFather
免费注册

用这个模板做的 2 个案例

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

关于这个模板

一个四页的建筑事务所网站:首页包含一个大型主推项目和三项目预览;项目索引展示十二个作品,可按类型(住宅、文化、教育、改造)筛选,并实时显示数量;项目详情页(通过查询参数驱动,未指定时默认显示第一个项目)包含大图、信息块(地点、面积、跨度、状态)以及用 SVG 绘制并标注房间名称的平面图;工作室页面包含事务所故事、三点设计理念、以姓名首字母卡片展示的团队成员、奖项条和带客户端咨询行的联系区块。默认内容基于一个虚构的七人事务所,但结构适用于任何建筑或室内设计事务所:更改事务所名称、城市和理念后,每个项目、平面图和奖项依然读起来真实可信。字体系统如同图纸集——编号章节、细线分隔、大写标签——采用浅混凝土灰、近黑墨色和一处铁锈色点缀,标题使用 Archivo 宽大写字体,正文使用 IBM Plex Sans。全部十二张项目照片来自同一次风格统一的生成拍摄:混凝土、木材和光线,无人物。要适配,只需替换变量并在一个内容文件中重写文案;项目、平面图和奖项都从该文件读取。

模板提示词

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

# Architecture Firm Portfolio

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

## Brief
A four-page website for [PRACTICE], an architecture practice based in [CITY], working through [APPROACH]. It must read like a good drawing set: a home with one hero project and a tease, a twelve-project index filterable by typology, project detail pages with large photos, a facts block and a drawn SVG floor plan, a studio page (story, approach, people, awards), and a client-side inquiry block. Pages: index.html, projects.html, project.html?p=<slug> (first project without a query), studio.html. Everything runs in the browser; nothing is submitted anywhere.

- Audience: Potential clients (developers, institutions, private commissioners) and peers. They look for rigor: clear facts per project, honest plans, a practice that can explain its approach in three sentences.
- Goal: Produce inquiry emails. Within ten seconds a visitor sees the quality bar; within two minutes they have filtered the typology they build and opened one project.
- Tone: Precise and quiet, like a set of specifications. Short declarative sentences, exact numbers (square meters, years), no poetry about light unless it is structural.

## Stack
- Framework: Vite 5 + React 18 + TypeScript
- Styling: Tailwind CSS 3.4
- Libraries: react (MIT), react-dom (MIT), motion (motion.dev, import from 'motion/react') (MIT), lucide-react (MIT), tailwindcss (MIT), postcss (MIT), autoprefixer (MIT), vite (MIT), @vitejs/plugin-react (MIT), typescript (Apache-2.0), @fontsource-variable/archivo (OFL-1.1), @fontsource/ibm-plex-sans (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
  - Scaffold with npm create vite@latest using the react-ts template. Four real HTML pages at the project root: index.html (entry src/main-home.tsx), projects.html (src/main-projects.tsx), project.html (src/main-project.tsx) and studio.html (src/main-studio.tsx).
  - vite.config.ts: base './', plugins [react()], build { outDir 'dist', sourcemap false, assetsInlineLimit 0, rollupOptions { input { index: resolve(__dirname, 'index.html'), projects: resolve(__dirname, 'projects.html'), project: resolve(__dirname, 'project.html'), studio: resolve(__dirname, 'studio.html') } } }. Do not copy src/ into dist/.
  - Tailwind 3.4 through PostCSS, content ['./index.html', './projects.html', './project.html', './studio.html', './src/**/*.{ts,tsx}']. In tailwind.config.ts add every color under Design to theme.extend.colors with kebab-case keys (concrete, concrete-deep, paper, ink, ink-soft, rust, rust-deep, hairline, drawing) and fontFamily display ['Archivo Variable', 'Arial', 'sans-serif'], sans ['IBM Plex Sans', 'system-ui', 'sans-serif']. Set borderRadius DEFAULT to 0px — the practice draws squares — and add maxWidth { container: '1280px' }.
  - In src/fonts.ts import '@fontsource-variable/archivo' and '@fontsource/ibm-plex-sans/300.css', '@fontsource/ibm-plex-sans/400.css', '@fontsource/ibm-plex-sans/500.css'; import src/fonts.ts and src/index.css from all four entry files.
  - File layout: src/content.ts (every string, project, fact, plan label, person, award and image path, typed), src/lib/brand.ts (practiceSlug = [PRACTICE] lowercased with every run of non-alphanumeric characters replaced by '-', emailDomain = practiceSlug without hyphens + '.com'), src/lib/storage.ts (safe localStorage get/set wrapped in try/catch, keys prefixed with practiceSlug + ':'), src/lib/project.ts (reads the query 'project.html?p=<slug>', returns the matching project or the first — never a not-found), src/lib/filters.ts (applyTypology(projects, key)).
  - State: src/store/inquiry.ts is a tiny external store (useSyncExternalStore) holding { name, email, typologyInterest, note, sent } persisted to localStorage key practiceSlug + ':inquiry'.
  - Components in src/components/: Header.tsx, Reveal.tsx (Motion whileInView wrapper), SectionNumber.tsx (the numbered-label system), Footer.tsx; home: Hero.tsx, Tease.tsx (ProjectCard.tsx), ApproachStrip.tsx; projects: IndexMasthead.tsx, TypologyBar.tsx, ProjectRow.tsx, EmptyIndex.tsx; project: ProjectHero.tsx, FactsBlock.tsx, PlanDrawing.tsx (inline SVG per project), NextProject.tsx, InquiryCard.tsx (shared with studio); studio: Story.tsx, People.tsx (PersonCard.tsx initials), Awards.tsx, ContactBlock.tsx. src/pages/Home.tsx, Projects.tsx, Project.tsx, Studio.tsx compose them; every page renders Header and Footer.
  - Before the first build, download every image listed under Assets into public/images/ with curl -L -o using the exact file names given. The build itself never fetches anything.
  - public/favicon.svg as described under Assets. All four HTML files: lang en, <meta name='theme-color' content='#F2F1EE'>, <link rel='icon' href='./favicon.svg' type='image/svg+xml'>. Titles: index.html '<title>[PRACTICE] — Architecture, [CITY]</title>', projects.html '<title>Work — [PRACTICE]</title>', project.html '<title>Work — [PRACTICE]</title>' (the project page sets document.title to the project name on load), studio.html '<title>Studio — [PRACTICE]</title>'.
  - Write ASSETS.md at the project root as described under Assets.
  - dist/ holds the four HTML files, hashed JS/CSS, the woff2 fonts, favicon.svg and the six images. Keep it under 12 MB.

## Variables
- [PRACTICE] — Practice name (default: "Cardinal & Grid"). Invented practice name. Used in the wordmark, titles, footer, email (studio@ + practiceSlug without hyphens + .com) and localStorage keys. Never a real practice.
- [CITY] — City (default: "Montreal, Quebec"). Where the practice is based. Used in the title, story, facts blocks' locations (projects sit in and around it) and the footer. Real cities fine; project streets invented.
- [APPROACH] — Approach (default: "long-life buildings from short-list materials"). One lowercase phrase naming the practice's method. Drives the home approach strip, the studio story's second paragraph and one FAQ-style line. Concrete and repeatable, not poetic.
- [TYPOLOGIES] — Typologies (default: "Housing, cultural, education and retrofit"). The practice's four project typologies, comma-separated, title case. Drives the index filter and every project's typology tag. Keep exactly four.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/architecture-firm-portfolio 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: "Architecture Firm Portfolio"
colors:
  concrete: "#F2F1EE"
  concrete_deep: "#E8E6E1"
  paper: "#FBFAF8"
  ink: "#1A1B1D"
  ink_soft: "#5C5F63"
  rust: "#B0491F"
  rust_deep: "#8F3A17"
  hairline: "#D6D4CE"
  drawing: "#B9B7B0"
typography:
  display_h1_h2_project_names_the_wordmark_typology_filter_labels_archivo_in_wide_uppercase_with_letterspacing: { family: "Archivo", weights: [600, 800] }
  text_and_ui_body_facts_values_captions_buttons_plan_room_labels_numbers_tabular_numerals_for_areas: { family: "IBM Plex Sans", weights: [300, 400, 500] }
spacing: "8px base unit. Container max-width 1280px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 120px desktop, 88px under 1024px, 72px under 640px — architecture breathes at the top of the scale. Section headers carry the SectionNumber system: '01' in Archivo 800 13px Rust + the label in Archivo 600 13px uppercase letterspaced + a 1px Hairline rule running to the container edge. Type scale: H1 clamp(44px, 6.4vw, 92px) Archivo 800 uppercase, line-height 1.0, letter-spacing 0.01em; H2 clamp(30px, 3.8vw, 52px) Archivo 800 uppercase; project names Archivo 800 26px uppercase; lead IBM Plex 300 19px / 1.7 Ink at 92%; body 16px / 1.75 (max-width 64ch); labels IBM Plex 500 11px uppercase letter-spacing 0.22em Ink Soft; facts values IBM Plex 400 15px tabular. Buttons: height 48px, Archivo 600 13px uppercase letter-spacing 0.08em. Primary: Ink fill, Concrete text. Secondary: 1px Ink border, Ink text. Inputs: height 48px, 1px Hairline border, Paper fill, focus Ink border. Focus ring everywhere: 2px Rust outline with 3px offset."
radius: "0px on everything — cards, buttons, inputs, images, the plan panel. The practice draws squares."
---

# Architecture Firm Portfolio — 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
- **Concrete** `#F2F1EE` — Page background throughout.
- **Concrete Deep** `#E8E6E1` — Alternate section background (index rows, awards), hover fills.
- **Paper** `#FBFAF8` — Facts block, inquiry card, plan panel surfaces.
- **Ink** `#1A1B1D` — Headlines, body text, plan lines, icon color.
- **Ink Soft** `#5C5F63` — Secondary text, captions, labels, facts values.
- **Rust** `#B0491F` — The one accent: section numbers, filter active state, plan's dimension ticks, focus ring, inquiry send.
- **Rust Deep** `#8F3A17` — Hover and pressed states.
- **Hairline** `#D6D4CE` — 1px hairlines everywhere: rows, facts grid, plan frame, dividers.
- **Drawing** `#B9B7B0` — Plan hatch fills and furniture strokes (lighter than Ink).

## Typography
- **Display: H1, H2, project names, the wordmark, typology filter labels — Archivo in wide uppercase with letterspacing** — Archivo (OFL), weights 600/800. Self-host the font files.
- **Text and UI: body, facts values, captions, buttons, plan room labels, numbers (tabular numerals for areas)** — IBM Plex Sans (OFL), weights 300/400/500. Self-host the font files.

## Spacing & shape
- Spacing: 8px base unit. Container max-width 1280px, centered, side padding 48px desktop, 32px tablet, 20px under 640px. 12-column grid, column gap 24px. Section vertical padding 120px desktop, 88px under 1024px, 72px under 640px — architecture breathes at the top of the scale. Section headers carry the SectionNumber system: '01' in Archivo 800 13px Rust + the label in Archivo 600 13px uppercase letterspaced + a 1px Hairline rule running to the container edge. Type scale: H1 clamp(44px, 6.4vw, 92px) Archivo 800 uppercase, line-height 1.0, letter-spacing 0.01em; H2 clamp(30px, 3.8vw, 52px) Archivo 800 uppercase; project names Archivo 800 26px uppercase; lead IBM Plex 300 19px / 1.7 Ink at 92%; body 16px / 1.75 (max-width 64ch); labels IBM Plex 500 11px uppercase letter-spacing 0.22em Ink Soft; facts values IBM Plex 400 15px tabular. Buttons: height 48px, Archivo 600 13px uppercase letter-spacing 0.08em. Primary: Ink fill, Concrete text. Secondary: 1px Ink border, Ink text. Inputs: height 48px, 1px Hairline border, Paper fill, focus Ink border. Focus ring everywhere: 2px Rust outline with 3px offset.
- Radius: 0px on everything — cards, buttons, inputs, images, the plan panel. The practice draws squares.

## Motion
- Easing: --ease-out cubic-bezier(0.22, 0.61, 0.36, 1) for reveals and filter shuffles; --ease-io cubic-bezier(0.65, 0, 0.35, 1) for the plan draw and inquiry swap. Structural and unhurried.
- Reveal: blocks wrapped in <Reveal> start at opacity 0, translateY(14px) and settle over 700ms --ease-out when 12% visible (Motion whileInView, viewport once). Siblings stagger 70ms.
- Hero: the large project photo scales 1.04→1.0 over 2800ms; the practice name's letters rise with 40ms stagger; the section number '01' ticks in last.
- Index filtering: rows use Motion layout with AnimatePresence mode 'popLayout'; leaving rows fade 180ms, survivors glide 380ms --ease-io; the count crossfades; the empty index (impossible with defaults, still coded) shows 'No work in this typology yet — the folder is honest.' with Reset.
- Index rows: hover fills Concrete Deep and slides a 4px Rust rule in from the left; the photo desaturates 5%.
- Plan draw: when the plan enters view, the walls draw (stroke-dashoffset, 1100ms), then room labels fade in with 60ms stagger, then the Rust dimension ticks pop; hatching fills settle last. Under reduced motion, the plan renders complete.
- Facts block: the values count once on reveal (areas in tabular numerals, 600ms).
- Inquiry: invalid submit shakes 4px with inline labels; sending swaps to the sent state (280ms --ease-io) — a drawn Rust square stamp 'RECEIVED' rotating in 6deg to rest -3deg.
- Awards: rows reveal with a 40ms stagger; the year spans stay static.
- Links: .link-draw grows a 1px Ink underline over 250ms on hover and focus-visible.
- prefers-reduced-motion: reduce — no scales, staggers, draws or counts; everything renders at rest. Use CSS @media in index.css plus Motion's useReducedMotion in components.

## Imagery
Architectural photography, all six made for this template in one consistent shoot: overcast-even light, concrete and pale wood, muted greens, straight-on and one-point perspectives, studio photos are AI-generated fictional people at work (consistent overcast-window light); building photography stays people-free with no readable signage. Every photo uses object-fit cover with the object-position given under Assets, 0px corners (square, like the practice), no shadow; photos on Concrete get a 1px Hairline outline. Captions in IBM Plex 12px Ink Soft. Drawn in code: the per-project floor plans (walls, hatching, furniture strokes, room labels, dimension ticks — pure SVG geometry), the section-number system, the 'RECEIVED' stamp and the favicon. Icons: lucide-react only, stroke width 1.5, used sparingly (ArrowUpRight, Plus, Check, X, ArrowRight).

## Tone
Precise and quiet, like a set of specifications. Short declarative sentences, exact numbers (square meters, years), no poetry about light unless it is structural.

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

改成你自己的

  • 室内设计工作室:将 PRACTICE 和 CITY 设为你的工作室,将 TYPOLOGIES 重命名为住宅、酒店和办公,并围绕室内设计重写工作室故事。
  • 景观建筑事务所:保留项目索引,但将绘制的平面图替换为场地平面图,并将 APPROACH 设为种植和水策略。
  • 年轻的双人事务所:将人物卡片精简为两个姓名首字母,将奖项条替换为竞赛入围名单,并保留十二个项目索引作为成长记录。
  • 面向开发商的工作室:保留信息块和咨询卡片,但重写首页主视觉和理念条,以可行性和交付经验为重点。

建筑事务所作品集:常见问题

如何更改建筑事务所作品集模板中的事务所名称、城市和理念?

建筑事务所作品集模板将所有字符串集中在一个内容文件中,你可以在其中编辑 PRACTICE、CITY、APPROACH 和 TYPOLOGIES 变量,文字标识、页面标题、页脚、邮箱地址、工作室故事和项目信息都会随之更新。先设置事务所名称、城市和理念短语,然后重写标题和段落以匹配你自己的事务所。

怎么用 AI 做一个建筑事务所作品集?

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