用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
独立唱片厂牌网站是一个响亮、带印刷质感的站点,为一家虚构的独立厂牌而作,全部用代码绘制。首屏以一张 SVG 渲染的超大黑胶唱片为锚点,缓慢旋转,旁边是厚重的海报字标,用热珊瑚色和深紫色做错位套印,整体采用墨黑与奶油纸的配色,并叠加生成的孔版印刷颗粒。封面是招牌:每张发行封套都是种子生成艺术,珊瑚色与紫色的双色几何图形以正片叠底方式重叠,因此目录永不重复,也从不使用照片。
结构承载着真实厂牌的分量:八张发行的目录网格,悬停封套时会倾斜并让黑胶滑出一半;五位艺术家的海报卡片阵容,艺术家页面通过查询参数路由;巡演动态写成季节标签,并诚实标注待定场次;还有黑胶商店,提供标准黑、限量彩色和豪华版变体,配购物车抽屉。购物车仅本地存储,在浏览器中持久保存,并明确说明不会扣款。
这个模板适合唱片厂牌、磁带与独立杂志出版、音乐团体,以及任何想要海报能量却不想用图库照片的响亮品牌。替换声音、城市和宣言句即可调整语气;艺术家、发行、巡演场次和商品都是同一个内容文件中的记录,种子封面生成器能适应任意长度的目录。
所有视觉元素——封套、黑胶、印章、颗粒、错位字体——都是 SVG 和 CSS,因此构建保持轻量且确定。技术栈是 Vite、React、Tailwind 和 Motion,自托管 Anton、Space Grotesk 和 Space Mono。没有后端,没有支付,页面上任何地方都没有日期,文案中也没有真实的艺术家、场地或压片厂。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Indie Record Label Website
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a three-page riso-poster site for [BRAND], an invented independent record label in [CITY] pressing [GENRE]. The identity is ink black on cream riso paper with exactly two spot colors — hot coral and deep violet — heavy Anton poster type printed with misregistration, and a generated paper-grain overlay. Every visual is drawn in code: an oversized spinning vinyl anchors the hero beside the wordmark, seeded generative two-color sleeves fill an eight-release catalog, a five-artist roster links to query-routed artist pages, a tour feed lists season-label sample rows, and a variant vinyl shop runs on a local cart drawer that admits it is a demo.
- Audience: [GENRE] listeners and vinyl collectors dropping by the label's page, plus the labels, tape and zine imprints, and music collectives adapting this layout for their own catalog.
- Goal: Make the label feel pressed and real inside one screen: win with the spinning vinyl and the misregistered wordmark, pull visitors into the catalog with sleeves that slide their records out on hover, hand them the tour feed and the shop in two more scrolls, and stay honest throughout — demo cart, sample dates, nothing for sale for real.
- Tone: Loud but crafted — a screen-printed gig poster that happens to be a website. Short confident lines, mono catalog numbers, zero hype words. Playful about the demo cart, never pretending money changes hands.
## 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/anton (OFL-1.1), @fontsource/space-grotesk (OFL-1.1), @fontsource/space-mono (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', and 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 and fontFamily.display 'Anton', fontFamily.body 'Space Grotesk', fontFamily.mono 'Space Mono'.
- Self-host Anton 400, Space Grotesk 400/500/700, and Space Mono 400/700 through @fontsource packages imported in src/main.tsx. Never load fonts from a CDN.
- Use Motion from 'motion/react' (AnimatePresence, useReducedMotion) for scroll reveals and the cart drawer; gate every animation on useReducedMotion().
- Keep all copy and data in src/content.ts: label strings, five artists (name, slug, one-liner, bio, stamp shape), eight releases (catalog number, title, artist, format, numeric seed), seven tour rows, six shop products, pressing notes. When variable values change, rewrite the dependent copy there and derive the cart key and slugs from [BRAND] and [BRAND_SLUG] so no default-brand remnants remain.
- Write the generative cover engine in src/lib/cover.ts as a pure function coverArt(seed): a mulberry32 PRNG seeded per release draws a 400x400 SVG — cream paper ground, six to nine shapes chosen from circle, ring, half-disc, bar, quarter-arc, dot-grid and triangle, filled only coral, violet or ink with overlapping areas using mix-blend-mode multiply — plus the catalog number in Space Mono in one corner. Same seed, same cover, so two builds match.
- Build src/components/Vinyl.tsx as an SVG record: ink disc, seven thin groove circles, a 12%-opacity paper sheen wedge, and a coral center label carrying a small violet geometry mark and the [BRAND] initial in Anton. It rotates with a 28s linear infinite CSS animation.
- Add the riso grain as a fixed full-viewport overlay div (pointer-events none) using an inline SVG feTurbulence filter, baseFrequency 0.9, opacity 0.06, mix-blend-mode multiply — generated noise, never a scanned texture.
- Implement misregistration as the utility class .riso-shift in src/index.css: display text carries coral and violet copies via text-shadow (-3px -2px 0 coral, 3px 2px 0 violet); on hover the offsets widen by 1px each over 200ms.
- Implement the marquee ticker as one duplicated inline track on a 30s translateX loop in src/index.css; pause on hover; render static under prefers-reduced-motion.
- Implement the cart as React state plus a right-side drawer: line items with mini generative sleeves, quantity plus/minus, remove, subtotal, the honest demo line, and persistence to localStorage under the key [BRAND_SLUG] + '-cart'; validate restored JSON and recover silently.
- Route artist.html by reading ?artist= with URLSearchParams, matching artist slugs from content.ts, and always falling back to the first artist — never a not-found state. Every internal link is a file name like ./index.html or ./shop.html.
- Use only these lucide-react icons: Disc3, ShoppingBag, Plus, Minus, X, ArrowRight, ArrowUpRight.
- This template uses zero photographic or downloaded image files. Create ASSETS.md at the project root listing the Fontsource packages and lucide-react with their licenses.
- A plain <title> of '[BRAND] — independent record label' and a favicon (a paper square with a coral circle) are enough; no meta descriptions, Open Graph tags, JSON-LD, or sitemaps.
## Variables
- [BRAND] — Label name (default: "Static Bloom Records"). Invented label name; the hero wordmark, logomark initials, vinyl label and cart key all derive from it.
- [GENRE] — Sound (default: "noise-pop, dubbed-out techno and tape loops"). One plain phrase for what the label presses; appears in the hero paragraph, ticker and footer.
- [CITY] — City (default: "Milhaven"). Where the label lives; appears in the hero eyebrow, roster copy, tour rows, pressing notes and footer.
- [PRESS_LINE] — Manifesto line (default: "Cut loud, pressed heavy, packaged by hand."). The label's one-line creed that closes the hero paragraph; rewrite it when the label changes.
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/indie-record-label-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.
## Design
### Colors
- Riso ink `#17130E` — Ink black: dark bands, hero type, vinyl disc, footer
- Paper cream `#F3EDDE` — Riso paper: page ground and card stock
- Hot coral `#FF4B33` — Spot color one: CTAs, chips, vinyl label, tour Tickets state
- Deep violet `#5B2DB3` — Spot color two: links on ink, sleeve geometry, Sold out chips
- Faded ink `#CFC5AC` — Hairlines, dividers, secondary text on paper
### Typography
- Display: wordmark, titles, prices: Anton (OFL), weights 400
- Body: paragraphs, buttons, nav: Space Grotesk (OFL), weights 400/500/700
- Meta: catalog numbers, eyebrows, ticker, chips: Space Mono (OFL), weights 400/700
### Layout & motion
- Spacing: 8px base grid. Shell max-width 1200px with 40px desktop and 20px mobile side padding. Header 64px with a 2px ink bottom rule. Sections 96px vertical padding on desktop, 64px on mobile. Catalog grid gap 24px. Tour rows 20px vertical padding split by 1px dividers. Paragraphs max 56 characters per line.
- Radius: 0px everywhere — paper trimmed square: cards, buttons, chips, inputs and photos all take sharp corners. The only circles on the site are drawn art: the vinyl, artist stamps, dot grids and the logomark ring.
- Motion: The hero vinyl rotates once every 28s, linear, infinite; the animation pauses entirely under prefers-reduced-motion and the record stays fully readable.
- Motion: The ink ticker band scrolls one seamless loop every 30s; it pauses on hover and renders static under reduced motion.
- Motion: Release sleeves: hover rotates the sleeve 3deg and slides the vinyl 56px out from behind over 240ms ease-out; touch devices toggle the same state on tap; both reset on leave.
- Motion: Display headings sit on misregistered coral and violet copies; the offsets settle from 6px to 3px on load and widen by 1px each on hover over 200ms.
- Motion: Sections reveal once on scroll with a 16px rise and a 420ms fade, staggered 60ms per card or row; under reduced motion everything appears instantly.
- Motion: The cart drawer slides in from the right over 280ms with a 60% ink backdrop; the cart count badge pops to 1.15 scale for 160ms on every add.
- Imagery: Zero photographs — the entire site is drawn in code. Sleeves are seeded generative SVG (two-color geometry, multiply overlaps); the vinyl, artist stamps and logomark are hand-built SVG; riso paper grain is a generated feTurbulence overlay at 6% multiply across the whole page; misregistration is layered color copies on type, never a texture file. No scanned paper, no stock art, no photos of people.
## Pages & Sections
### [BRAND] — independent record label (`index.html`)
1. **Header, hero and ticker** — Header (64px, paper cream, 2px ink bottom rule): a code-drawn logomark — a 36px ink circle with the label's two initials knocked out in paper and a coral ring offset 2px behind it — beside the uppercase label name in Anton; nav anchors Catalog, Roster, Tour, Shop; on the right a ShoppingBag cart button with a coral count badge. This header and the cart drawer are global and repeat on every page: a 380px paper panel sliding from the right with line items (mini generative sleeve, title, variant, price), quantity plus/minus, remove X, subtotal, the line 'Demo cart — nothing is charged or shipped.', and a 'Keep browsing' close button; state persists in localStorage. Hero: Space Mono eyebrow 'SMALL LABEL · HEAVY VINYL · CAT. SR-001 → SR-024'; the H1 is the wordmark — [BRAND] in uppercase Anton at clamp(56px, 9vw, 132px), ink with coral and violet misregistered copies, wrapping to at most two lines; paragraph '[BRAND] is a small label in [CITY] pressing [GENRE]. [PRESS_LINE]'; buttons: solid ink 'Browse the catalog' and coral-outline 'Tour dates'. To the right, an oversized vinyl (min(520px, 44vw)) overlaps the wordmark's baseline and bleeds off the right margin, spinning slowly, its coral center label carrying a violet geometry mark and the label initial. Below the hero a full-width ink ticker band scrolls in uppercase Space Mono: 'SR-024 FLOOD ROOMS — OUT NOW · SR-018 REISSUE — FEW LEFT · [GENRE], ON HEAVY VINYL · '
Layout: 12-column grid: copy in columns 1–6, vinyl absolutely positioned over columns 7–12 and cropped by the viewport edge. Buttons are square-edged, ink fill and coral outline, 48px tall. The header content shares the 1200px shell. Mobile: vinyl renders above the copy at 78vw centered, the wordmark caps at 64px, buttons stack full-width, and every tap target is at least 44px.
Motion: The vinyl spins on the 28s loop; the wordmark's misregistration offsets settle from 6px to 3px over 700ms on load; the eyebrow, H1, paragraph and buttons rise 16px in a 60ms stagger; the ticker scrolls its 30s loop and pauses on hover.
2. **Catalog** — Space Mono eyebrow 'THE CATALOG'; title 'Fresh off the press.' in Anton; intro line 'Eight sleeves, two spot colors, no two covers alike — every cover is generated from the record's catalog number.' Eight release cards: SR-024 Mote — 'Flood Rooms' — 12″ LP; SR-023 Diorama Kid — 'Night Bus Hymns' — 12″ LP; SR-022 Cassia Vale — 'Dub Test 04' — 12″ single; SR-021 Cassia Vale — 'Echo Test 02' — 7″; SR-020 Grove Static — 'Field Notes Vol. 2' — 12″ LP; SR-019 Anaïs Ward — 'Coral Static' — 12″ LP; SR-018 Mote — 'Rearview' — 12″ LP reissue; SR-017 Diorama Kid — 'Playground Static' — 7″. Each card shows the seeded generative sleeve at 1:1, then title in Space Grotesk 700, artist, and a Space Mono line 'SR-024 · 12″ LP'.
Layout: 4-column grid on desktop, 2 columns on tablet, 1 on mobile, 24px gap. Each sleeve sits on a paper card with a 1px faded-ink border; a code-drawn vinyl peeks 8px from the sleeve's right edge at rest.
Motion: Hover rotates the sleeve 3deg and slides the vinyl 56px out over 240ms; tap toggles the same state on touch; cards reveal in a 60ms stagger with the standard rise.
3. **Roster** — Eyebrow 'THE ROSTER'; title 'Five loud friends.' Five poster cards, each anchored by a code-drawn stamp — the artist's initials in Anton inside a shape that varies per artist (coral circle, violet triangle, ink square, coral half-disc, violet ring) with paper knockouts. Mote — 'Two brothers, one tape machine, songs about flood plains.' — mono 'SR-018–024'; Diorama Kid — 'Night-bus synth pop for the last train home.' — 'SR-017–023'; Cassia Vale — 'Dub chambers and echo tests from a basement in [CITY].' — 'SR-021–022'; Grove Static — 'Field recordings folded into ambient techno.' — 'SR-020'; Anaïs Ward — 'A voice like a paper lantern; songs that hum.' — 'SR-019'. Each whole card links to ./artist.html?artist=mote (and the matching slug for the others).
Layout: 5 columns on desktop wrapping 3 plus 2, 2 on tablet, 1 on mobile. Stamps are 120px; name in Space Grotesk 700, one-liner in body text, catalog range in Space Mono; the entire card is the link with an ArrowUpRight that appears on hover.
Motion: The stamp rotates 4deg and back on hover over 200ms; cards reveal in a 60ms stagger.
4. **Tour feed** — Full-width ink band with paper text. Coral Space Mono eyebrow 'LIVE'; title 'On the road.' in Anton. Seven rows, each a season label in Space Mono, city and venue, a status chip, and an ArrowUpRight: 'Early spring — Milhaven, The Foundry — Sold out'; 'Early spring — Dunmoor, Klub Nord — Tickets'; 'Mid spring — Ashport, Cannery Hall — Tickets'; 'Late spring — Port Ellis, The Anchor Room — TBA'; 'Summer — Bell Harbor, Pier 9 — Tickets'; 'Early fall — Milhaven, The Foundry — TBA'; 'Fall — Greyfield, Old Market — Tickets'. Status chips: Tickets is coral-filled ink text, TBA is paper-outline, Sold out is violet-filled paper text. Ticket chips link to '#' as demo anchors. Footnote in Space Mono: 'Sample dates for a template demo — seasons, not calendars; ticket links go nowhere.'
Layout: Single column max-width 900px. Rows are 20px vertical padding split by 1px paper-at-20% dividers; the season column is a fixed 140px; the status chip sits right-aligned before the arrow.
Motion: Rows reveal in a 40ms stagger; hover shifts the row 4px right, raises its background to paper at 6%, and translates the arrow 2px up-right.
5. **Shop teaser** — Eyebrow 'THE SHOP'; title 'Take one home.' Three cards for the newest release's variants: 'Flood Rooms — Standard black LP — $18'; 'Flood Rooms — Coral vinyl, limited 300 — $24'; 'Flood Rooms — Deluxe 2×LP + riso print — $42'. Each card shows the mini generative sleeve, the variant name in Space Grotesk 700, the price, and a full-width ink 'Add to cart' button that adds the item and opens the drawer. Below the grid, a text link 'Full shop →' to ./shop.html.
Layout: 3-column grid, 2 on tablet, 1 on mobile. Cards are paper with a 1px faded-ink border and 24px padding; prices repeat in Anton at 32px.
Motion: Hover lifts a card 2px and casts a 4px coral offset shadow — like a second pass of ink; adding pops the cart badge to 1.15 for 160ms and slides the drawer in over 280ms.
6. **Footer** — Ink ground. A giant outline wordmark — [BRAND] in Anton with a 1px paper stroke and transparent fill — runs as a background band behind the content. Foreground: the logomark and [BRAND], anchor nav (Catalog, Roster, Tour, Shop), a Space Mono line 'Pressed in [CITY] · [GENRE]', the honest line 'All labels, artists, releases, venues and prices on this site are invented for a template demo.', '© [BRAND]' with no year, and the optional [CREDIT] link.
Layout: Two rows on desktop — brand block with the mono line left and nav right; honest line, copyright and [CREDIT] on a second row in faded ink. Stacked on mobile. This footer repeats on every page.
Motion: None — the footer is static.
### The shop — [BRAND] (`shop.html`)
1. **Shop grid** — The global header, cart drawer and footer repeat. Title 'The shop.' in Anton with the intro 'Six things for sale, zero real transactions — this whole store lives in your browser.' Six products: 'SR-024 Flood Rooms — Standard black LP — $18'; 'SR-024 Flood Rooms — Coral vinyl, limited 300 — $24'; 'SR-024 Flood Rooms — Deluxe 2×LP + riso print — $42'; 'SR-023 Night Bus Hymns — Standard black LP — $18'; 'SR-023 Night Bus Hymns — Violet vinyl, limited 300 — $24'; 'SR-022 Dub Test 04 — Black 12″ single — $15'. Each card: generative sleeve, title in Space Grotesk 700, a Space Mono line 'SR-024 · CORAL / 300', the price in Anton, and an ink 'Add to cart' button.
Layout: 3-column grid, 2 on tablet, 1 on mobile, 24px gap, cards matching the teaser's paper style.
Motion: Sleeves reuse the catalog hover (tilt and vinyl slide); adding to cart pops the badge and opens the drawer as on the home page.
2. **Pressing notes** — Paper band with three Space Mono notes set side by side: 'Pressed at a fictional plant in [CITY] — 140g unless noted.'; 'Color editions are one press run — when they're gone, they're gone.'; 'Flat $4 demo shipping anywhere; nothing actually ships.'
Layout: 3 columns split by 1px faded-ink dividers on desktop; single column on mobile with 16px gaps.
Motion: Static.
### Artist — [BRAND] (`artist.html`)
1. **Artist hero** — Reads ?artist= from the URL and matches slugs in content.ts, always falling back to the first artist (mote) when the query is missing or unknown. The page title becomes the artist's name. The hero shows the artist's stamp at 180px, the artist name in Anton with misregistration, a Space Mono catalog line ('SR-024 · SR-018' for Mote), and a roughly 50-word bio — for Mote: 'Mote started as two brothers trading four-track tapes across a flood plain. A decade on they still cut to tape first and argue about it after — songs about water tables, basement shows, and the long drive home. Flood Rooms is their fourth LP for the label.' Write one bio per artist in content.ts at the same length.
Layout: 12-column grid: stamp and name in columns 1–7, bio in columns 8–12 vertically centered. On mobile the stamp centers above the stacked name and bio.
Motion: The stamp rotates from -4deg to 0 as it settles over 400ms; the name and bio reveal with the standard rise.
2. **Artist releases** — Eyebrow 'ON THE LABEL'; title 'Their records.' The catalog grid filtered to this artist's releases, using the identical cards and hover behavior (for Mote: SR-024 and SR-018).
Layout: Same 4/2/1 grid as the home catalog; with fewer items the grid keeps left alignment.
Motion: Same sleeve tilt and vinyl slide; standard staggered reveal.
3. **Back link and footer** — A paper-outline '← Back to the roster' link to ./index.html#roster, then the shared global footer.
Layout: Left-aligned link with 48px top padding above the footer.
Motion: Standard link underline offset transition only.
## Assets
- image: No image files at all. Every visual is drawn in code: generative sleeves from src/lib/cover.ts (seeded two-color SVG geometry with multiply overlaps), the SVG vinyl record, artist stamps, the logomark, the misregistered display type, and a generated feTurbulence riso grain overlay at 6% multiply. Nothing is downloaded, scanned, or hotlinked; ASSETS.md records that all artwork is original code.
- icon: Install lucide-react (ISC) and use only Disc3, ShoppingBag, Plus, Minus, X, ArrowRight, and ArrowUpRight. Draw no brand logos or real label marks; the logomark and stamps are original code. Record the package and license in ASSETS.md.
- font: Self-host Anton 400 through @fontsource/anton (OFL-1.1). Record the package and license in ASSETS.md; do not use a font CDN.
- font: Self-host Space Grotesk 400/500/700 through @fontsource/space-grotesk (OFL-1.1). Record the package and license in ASSETS.md; do not use a font CDN.
- font: Self-host Space Mono 400/700 through @fontsource/space-mono (OFL-1.1). Record the package and license in ASSETS.md; do not use a font CDN.
## Don'ts
- No real labels, artists, albums, venues, pressing plants or festivals anywhere — every name, sleeve, city, price and stat is invented, and the footer says so.
- All cover art is code-drawn generative two-color geometry: no real album art references, no photos of people, no stock or scanned artwork anywhere on the site.
- Tour rows use season labels or TBA only — never real dates, years, day-of-week calendar logic, or anything tied to the visitor's clock, and no copyright year in the footer.
- The cart is a local demo and says so on its face: no payment, no checkout beyond the drawer, no APIs, no analytics, no email capture; persistence is localStorage only with validation on restore.
- The risograph texture is generated in code (SVG feTurbulence with multiply blending); never scan paper, download textures, or hotlink any file.
- No backend, server code, databases, auth, or form submissions. Static output in dist/ from the single build command with relative paths.
- Self-host fonts through the listed Fontsource packages only; never load Google Fonts, Adobe Fonts, or any CDN stylesheet or script.
- Production build is minified with no source maps, no src/ copied into dist/, and dist/ stays under 20 MB.
- No Unsplash, Pexels, Pixabay, Google Images, placeholder-image services, or any external or hotlinked asset — this template ships zero photographic files.
- Every internal link is a file name (./index.html, ./shop.html, ./artist.html?artist=…) or an in-page anchor, never a bare directory; artist.html opened without a query shows the first artist, never a not-found state.
- Respect prefers-reduced-motion: pause the vinyl spin and the ticker and skip reveals; every interaction stays fully functional without animation.
- Keep the two spot colors strict — coral and violet on ink and paper only; no gradients, no drop shadows except the coral print-offset hover, no glow.
- Do not use rounded corners anywhere; the sharp paper-trimmed aesthetic is part of the design, with circles only inside drawn art.
- Keep all copy in US English and derive the cart storage key, slugs and alt text from [BRAND] and [BRAND_SLUG] so alternate variable values never leave default-brand remnants.
- No SEO work: no meta descriptions, Open Graph tags, JSON-LD, sitemaps, or keyword-stuffed headings. A plain title with [BRAND] and a favicon are enough.
- The site must render at 1440×900 and 390×844 with zero console errors, including the query-routed artist page.
---
— Prompt by VibeFather · https://vibefather.ai/t/indie-record-label-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
中文参考译文(帮助理解,复制给 AI 时请用上面的英文原版)
# 独立唱片厂牌网站 完全按照以下描述构建此网站。将 [VARIABLES] 替换为你自己的值;其余内容保持不变。 ## 简介 为 [BRAND] 打造一个三页的 riso 海报风格网站,[BRAND] 是一个虚构的独立唱片厂牌,位于 [CITY],压制 [GENRE] 音乐。品牌识别采用奶油色 riso 纸张上的墨黑色,仅使用两个专色——热珊瑚色(hot coral)与深紫色(deep violet)——厚重的 Anton 海报字体带有套印不准效果,并叠加生成的纸张颗粒纹理。所有视觉元素均以代码绘制:一张超大旋转黑胶唱片锚定首屏,与字标并置;种子生成的双色唱片封套填满八张发行的目录;五位艺术家的名册链接到通过查询路由的艺术家页面;巡演信息流列出季节标签的示例行;变体黑胶商店运行在一个本地购物车抽屉上,并坦承这只是演示。 - 受众:[GENRE] 听众和黑胶收藏者,他们顺道访问厂牌页面,以及将这一布局适配到自己目录的厂牌、磁带与 zine 出版方和音乐团体。 - 目标:让厂牌在一屏之内感觉真实可触:用旋转黑胶和套印不准的字标赢得关注,用悬停时滑出唱片的封套将访客拉入目录,再滚动两屏呈现巡演信息流和商店,并始终保持诚实——演示购物车、示例日期,没有任何真实售卖。 - 语调:响亮但精心制作——一张恰好是网站的丝网印刷演出海报。简短自信的句子,等宽目录编号,零炒作词汇。对演示购物车保持俏皮,从不假装金钱易手。 ## 技术栈(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/anton(OFL-1.1)、@fontsource/space-grotesk(OFL-1.1)、@fontsource/space-mono(OFL-1.1) - 构建(Build):`npm run build` → 静态文件输出到 `dist/`。无后端、无服务端代码、无外部 API。 - 配置(Setup): - 创建一个 Vite 6 + React 18 + TypeScript 项目,base 设为 './',build.outDir 设为 'dist',build.sourcemap 设为 false。不使用路由、不使用后端、不使用服务端代码。 - 安装 Tailwind CSS 3.4,并配置 PostCSS 和 Autoprefixer。用下方精确的调色板扩展主题,并设置 fontFamily.display 为 'Anton'、fontFamily.body 为 'Space Grotesk'、fontFamily.mono 为 'Space Mono'。 - 通过 @fontsource 包在 src/main.tsx 中自托管 Anton 400、Space Grotesk 400/500/700 和 Space Mono 400/700。绝不从 CDN 加载字体。 - 使用来自 'motion/react' 的 Motion(AnimatePresence、useReducedMotion)实现滚动显现和购物车抽屉;每个动画都要以 useReducedMotion() 为条件进行控制。 - 将所有文案和数据放在 src/content.ts 中:标签字符串、五位艺术家(姓名、slug、一句话简介、传记、印章形状)、八张发行作品(目录编号、标题、艺术家、格式、数字种子)、七行巡演信息、六件商店商品、压制说明。当变量值变化时,在那里重写依赖的文案,并从 [BRAND] 和 [BRAND_SLUG] 派生购物车键和 slug,确保不残留默认品牌痕迹。 - 在 src/lib/cover.ts 中编写生成式封面引擎,作为纯函数 coverArt(seed):一个按发行作品播种的 mulberry32 PRNG 绘制 400x400 SVG——奶油色纸张底色,六到九个形状从圆形、环形、半圆盘、条形、四分之一弧、点阵和三角形中选择,仅填充珊瑚色(coral)、紫罗兰色(violet)或墨色(ink),重叠区域使用 mix-blend-mode multiply——外加一个角落里的 Space Mono 字体目录编号。相同种子,相同封面,因此两次构建结果一致。 - 将 src/components/Vinyl.tsx 构建为 SVG 唱片:墨色圆盘、七条细凹槽圆环、一个 12% 不透明度的纸张光泽楔形,以及一个珊瑚色中心标签,上面带有小紫罗兰色几何标记和 Anton 字体的 [BRAND] 首字母。它以 28s 线性无限 CSS 动画旋转。 - 将 riso 颗粒作为固定全视口覆盖 div(pointer-events none)添加,使用内联 SVG feTurbulence 滤镜,baseFrequency 0.9,opacity 0.06,mix-blend-mode multiply——生成噪声,绝不使用扫描纹理。 - 在 src/index.css 中将套印不准(misregistration)实现为工具类 .riso-shift:显示文本通过 text-shadow(-3px -2px 0 coral,3px 2px 0 violet)携带珊瑚色和紫罗兰色副本;悬停时偏移量在 200ms 内各扩大 1px。 - 在 src/index.css 中将跑马灯滚动条实现为一条重复的内联轨道,以 30s translateX 循环;悬停时暂停;在 prefers-reduced-motion 下渲染为静态。 - 将购物车实现为 React 状态加右侧抽屉:包含迷你生成式封套的订单项、数量加/减、移除、小计、诚实的演示说明行,以及持久化到 localStorage 的 [BRAND_SLUG] + '-cart' 键下;验证恢复的 JSON 并静默恢复。 - 通过 URLSearchParams 读取 ?artist= 来路由 artist.html,匹配 content.ts 中的艺术家 slug,并始终回退到第一位艺术家——绝不出现未找到状态。每个内部链接都是像 ./index.html 或 ./shop.html 这样的文件名。 - 仅使用这些 lucide-react 图标:Disc3、ShoppingBag、Plus、Minus、X、ArrowRight、ArrowUpRight。 - 此模板不使用任何照片或下载的图像文件。在项目根目录创建 ASSETS.md,列出 Fontsource 包和 lucide-react 及其许可证。 - 一个纯 <title> 为 '[BRAND] — independent record label' 和一个 favicon(一个带珊瑚色圆形的纸方块)就足够了;不需要 meta 描述、Open Graph 标签、JSON-LD 或站点地图。 ## 变量 - [BRAND] — 厂牌名称(默认:“Static Bloom Records”)。虚构的厂牌名;主视觉字标、标志首字母、黑胶唱片标签和购物车键名均由此派生。 - [GENRE] — 声音风格(默认:“noise-pop, dubbed-out techno and tape loops”)。用一句平实的话描述厂牌压制的音乐;出现在主视觉段落、滚动条和页脚中。 - [CITY] — 城市(默认:“Milhaven”)。厂牌所在地;出现在主视觉眉题、艺人名册文案、巡演行、压制说明和页脚中。 - [PRESS_LINE] — 宣言句(默认:“Cut loud, pressed heavy, packaged by hand.”)。厂牌的一句信条,用于收束主视觉段落;厂牌变更时请重写此句。 - [CREDIT] — 在页脚保留一个小型“Template by VibeFather”链接,指向 https://vibefather.ai/t/indie-record-label-website(默认:是;删除此行即可移除) “页面与区块”下的文案是按默认值撰写的。如果你的取值不同,请为所有标题、段落、标签和图片重写——保持相同的长度、语气和结构。布局、颜色、字体和动效保持所述不变。 将所有文案、图片路径和链接放在一个内容文件中(例如 `src/content.ts`),按区块作为键,以便日后无需改动组件即可替换内容。 ## 设计 ### 颜色 - Riso 墨黑 `#17130E` — 墨黑色:深色条带、主视觉字体、黑胶唱片、页脚 - 纸奶油色 `#F3EDDE` — Riso 纸张:页面底色和卡片纸 - 热珊瑚色 `#FF4B33` — 专色一:CTA、标签、黑胶标签、巡演 Tickets 状态 - 深紫罗兰色 `#5B2DB3` — 专色二:墨色背景上的链接、封套几何图形、Sold out 标签 - 褪色墨色 `#CFC5AC` — 细线、分隔线、纸张上的次要文本 ### 字体排印 - 展示字体:字标、标题、价格:Anton(OFL),字重 400 - 正文字体:段落、按钮、导航:Space Grotesk(OFL),字重 400/500/700 - 元信息字体:目录编号、眉题、滚动条、标签:Space Mono(OFL),字重 400/700 ### 布局与动效 - 间距:8px 基础网格。外壳最大宽度 1200px,桌面端 40px、移动端 20px 侧边内边距。页头 64px,底部有 2px 墨色分隔线。桌面端区块垂直内边距 96px,移动端 64px。目录网格间距 24px。巡演行垂直内边距 20px,由 1px 分隔线分隔。段落每行最多 56 个字符。 - 圆角:所有地方均为 0px——纸张裁切为方形:卡片、按钮、标签、输入框和照片全部采用锐利直角。网站上唯一的圆形是绘制出来的图形:黑胶唱片、艺术家印章、点阵和标志圆环。 - 动效:主视觉黑胶唱片每 28s 匀速旋转一次,无限循环;在 prefers-reduced-motion 下动画完全暂停,唱片保持完全可读。 - 动效:墨色滚动条带每 30s 无缝循环滚动一次;悬停时暂停,在减少动效模式下渲染为静态。 - 动效:发行封套:悬停时封套旋转 3deg,黑胶唱片在 240ms ease-out 内从后方滑出 56px;触屏设备点击时切换相同状态;两者在离开时重置。 - 动效:展示标题叠在错位的珊瑚色和紫罗兰色副本上;偏移量在加载时从 6px 收敛到 3px,悬停时在 200ms 内各扩大 1px。 - 动效:区块在滚动时一次性显现,上移 16px 并淡入 420ms,每张卡片或每行错开 60ms;在减少动效模式下所有内容立即出现。 - 动效:购物车抽屉从右侧滑入,耗时 280ms,带有 60% 墨色背景遮罩;每次添加时购物车数量徽章弹至 1.15 倍缩放,持续 160ms。 - 图像:零照片——整个网站用代码绘制。封套是种子生成的 SVG(双色几何图形,正片叠底重叠);黑胶唱片、艺术家印章和标志是手工构建的 SVG;Riso 纸张颗粒是生成的 feTurbulence 叠加层,以 6% 正片叠底覆盖整个页面;错位是字体上的分层颜色副本,绝不是纹理文件。没有扫描纸张,没有图库素材,没有人物照片。 ## 页面与区块 ### [BRAND] — 独立唱片厂牌(`index.html`) 1. **页头、主视觉与滚动条** — 页头(64px,纸奶油色,2px 墨色下边线):一个代码绘制的标志图形——一个 36px 的墨色圆形,厂牌的两个首字母以纸色镂空呈现,其后偏移 2px 处有一个珊瑚色圆环——旁边是 Anton 字体的大写厂牌名;导航锚点 Catalog、Roster、Tour、Shop;右侧是一个 ShoppingBag 购物车按钮,带珊瑚色数量徽章。此页头和购物车抽屉是全局的,在每个页面重复出现:一个 380px 的纸色面板从右侧滑入,包含行项目(迷你生成式封套、标题、版本、价格)、数量加减、移除 X、小计、一行文字 'Demo cart — nothing is charged or shipped.',以及一个 'Keep browsing' 关闭按钮;状态持久化在 localStorage 中。主视觉:Space Mono 眉题 'SMALL LABEL · HEAVY VINYL · CAT. SR-001 → SR-024';H1 是字标——[BRAND] 以大写 Anton 字体呈现,字号为 clamp(56px, 9vw, 132px),墨色,带有珊瑚色和紫罗兰色的错位副本,最多换行至两行;段落 '[BRAND] is a small label in [CITY] pressing [GENRE]. [PRESS_LINE]';按钮:实心墨色 'Browse the catalog' 和珊瑚色描边 'Tour dates'。右侧,一张超大黑胶唱片(min(520px, 44vw))与字标的基线重叠并溢出右边缘,缓慢旋转,其珊瑚色中心标签带有紫罗兰色几何标记和厂牌首字母。主视觉下方是一条全宽墨色滚动条带,以大写 Space Mono 滚动:'SR-024 FLOOD ROOMS — OUT NOW · SR-018 REISSUE — FEW LEFT · [GENRE], ON HEAVY VINYL · ' 布局:12 列网格:文案位于第 1–6 列,黑胶唱片绝对定位覆盖第 7–12 列并被视口边缘裁切。按钮为方角,墨色填充和珊瑚色描边,高 48px。页头内容共享 1200px 外壳。移动端:黑胶唱片以 78vw 居中渲染在文案上方,字标上限为 64px,按钮全宽堆叠,每个点击目标至少 44px。 动效:黑胶唱片以 28s 循环旋转;字标的错位偏移在加载时于 700ms 内从 6px 收敛到 3px;眉题、H1、段落和按钮以 60ms 错峰上升 16px;滚动条以 30s 循环滚动,悬停时暂停。 2. **目录** — Space Mono 眉题 'THE CATALOG';标题 'Fresh off the press.' 使用 Anton 字体;介绍行 'Eight sleeves, two spot colors, no two covers alike — every cover is generated from the record's catalog number.' 八张发行卡片:SR-024 Mote — 'Flood Rooms' — 12″ LP;SR-023 Diorama Kid — 'Night Bus Hymns' — 12″ LP;SR-022 Cassia Vale — 'Dub Test 04' — 12″ 单曲;SR-021 Cassia Vale — 'Echo Test 02' — 7″;SR-020 Grove Static — 'Field Notes Vol. 2' — 12″ LP;SR-019 Anaïs Ward — 'Coral Static' — 12″ LP;SR-018 Mote — 'Rearview' — 12″ LP 再版;SR-017 Diorama Kid — 'Playground Static' — 7″。每张卡片展示 1:1 的种子生成式封套,然后是 Space Grotesk 700 的标题、艺术家,以及一行 Space Mono 'SR-024 · 12″ LP'。 布局:桌面端 4 列网格,平板 2 列,移动端 1 列,24px 间距。每个封套位于纸色卡片上,带 1px 褪色墨色边框;一个代码绘制的黑胶唱片在静止时从封套右边缘露出 8px。 动效:悬停时封套旋转 3deg,黑胶唱片在 240ms 内滑出 56px;触摸时点击切换相同状态;卡片以 60ms 错峰配合标准上升效果显现。 3. **艺人名册** — 眉题 'THE ROSTER';标题 'Five loud friends.' 五张海报卡片,每张以一个代码绘制的印章为锚点——Anton 字体的艺术家首字母位于一个因艺术家而异的形状内(珊瑚色圆形、紫罗兰色三角形、墨色方形、珊瑚色半圆盘、紫罗兰色圆环),带纸色镂空。Mote — 'Two brothers, one tape machine, songs about flood plains.' — 等宽字体 'SR-018–024';Diorama Kid — 'Night-bus synth pop for the last train home.' — 'SR-017–023';Cassia Vale — 'Dub chambers and echo tests from a basement in [CITY].' — 'SR-021–022';Grove Static — 'Field recordings folded into ambient techno.' — 'SR-020';Anaïs Ward — 'A voice like a paper lantern; songs that hum.' — 'SR-019'。每张整卡链接到 ./artist.html?artist=mote(其他艺术家对应匹配的 slug)。 布局:桌面端 5 列换行为 3 加 2,平板 2 列,移动端 1 列。印章为 120px;名字使用 Space Grotesk 700,一句话简介使用正文文本,目录范围使用 Space Mono;整张卡片即为链接,悬停时出现 ArrowUpRight。 动效:印章在悬停时于 200ms 内旋转 4deg 再回正;卡片以 60ms 错峰显现。 4. **巡演信息流** — 全宽墨色条带配纸色文字。珊瑚色 Space Mono 眉题 'LIVE';标题 'On the road.' 使用 Anton 字体。七行,每行包含 Space Mono 的季节标签、城市和场地、状态标签,以及一个 ArrowUpRight:'Early spring — Milhaven, The Foundry — Sold out';'Early spring — Dunmoor, Klub Nord — Tickets';'Mid spring — Ashport, Cannery Hall — Tickets';'Late spring — Port Ellis, The Anchor Room — TBA';'Summer — Bell Harbor, Pier 9 — Tickets';'Early fall — Milhaven, The Foundry — TBA';'Fall — Greyfield, Old Market — Tickets'。状态标签:Tickets 为珊瑚色填充墨色文字,TBA 为纸色描边,Sold out 为紫罗兰色填充纸色文字。票务标签链接到 '#' 作为演示锚点。Space Mono 脚注:'Sample dates for a template demo — seasons, not calendars; ticket links go nowhere.' 布局:单列,最大宽度 900px。行内边距为 20px 垂直,由 1px 纸色 20% 不透明度的分隔线分隔;季节列固定 140px;状态标签右对齐位于箭头之前。 动效:行以 40ms 错峰显现;悬停时行向右移动 4px,背景提升至纸色 6%,箭头向右上平移 2px。 5. **商店预告** — 眉题 'THE SHOP';标题 'Take one home.' 三张卡片展示最新发行的版本:'Flood Rooms — Standard black LP — $18';'Flood Rooms — Coral vinyl, limited 300 — $24';'Flood Rooms — Deluxe 2×LP + riso print — $42'。每张卡片展示迷你生成式封套、Space Grotesk 700 的版本名、价格,以及一个全宽墨色 'Add to cart' 按钮,点击后添加商品并打开抽屉。网格下方,一个文本链接 'Full shop →' 指向 ./shop.html。 布局:3 列网格,平板 2 列,移动端 1 列。卡片为纸色,带 1px 褪色墨色边框和 24px 内边距;价格以 Anton 字体 32px 重复显示。 动效:悬停时卡片上浮 2px 并投射 4px 珊瑚色偏移阴影——如同第二道墨迹;添加商品时购物车徽章在 160ms 内弹至 1.15,抽屉在 280ms 内滑入。 6. **页脚** — 墨色底。一个巨大的描边字标——[BRAND] 使用 Anton 字体,1px 纸色描边和透明填充——作为背景条带贯穿内容后方。前景:标志图形和 [BRAND]、锚点导航(Catalog、Roster、Tour、Shop)、一行 Space Mono 'Pressed in [CITY] · [GENRE]'、诚实声明行 'All labels, artists, releases, venues and prices on this site are invented for a template demo.'、'© [BRAND]' 不带年份,以及可选的 [CREDIT] 链接。 布局:桌面端两行——品牌区块带等宽字体行居左,导航居右;诚实声明行、版权和 [CREDIT] 在第二行以褪色墨色呈现。移动端堆叠。此页脚在每个页面重复出现。 动效:无——页脚是静态的。 ### 商店 — [BRAND](`shop.html`) 1. **商店网格** — 全局页头、购物车抽屉和页脚重复出现。标题 'The shop.' 使用 Anton 字体,介绍语 'Six things for sale, zero real transactions — this whole store lives in your browser.' 六件商品:'SR-024 Flood Rooms — Standard black LP — $18';'SR-024 Flood Rooms — Coral vinyl, limited 300 — $24';'SR-024 Flood Rooms — Deluxe 2×LP + riso print — $42';'SR-023 Night Bus Hymns — Standard black LP — $18';'SR-023 Night Bus Hymns — Violet vinyl, limited 300 — $24';'SR-022 Dub Test 04 — Black 12″ single — $15'。每张卡片:生成式封套、Space Grotesk 700 的标题、一行 Space Mono 'SR-024 · CORAL / 300'、Anton 字体的价格,以及一个墨色 'Add to cart' 按钮。 布局:3 列网格,平板 2 列,移动端 1 列,24px 间距,卡片匹配预告的纸色风格。 动效:封套复用目录的悬停效果(倾斜和黑胶滑出);添加到购物车时徽章弹出并打开抽屉,与首页相同。 2. **压制说明** — 纸色条带,三条 Space Mono 说明并排:'Pressed at a fictional plant in [CITY] — 140g unless noted.';'Color editions are one press run — when they're gone, they're gone.';'Flat $4 demo shipping anywhere; nothing actually ships.' 布局:桌面端 3 列由 1px 褪色墨色分隔线分隔;移动端单列,16px 间距。 动效:静态。 ### 艺术家 — [BRAND] (`artist.html`) 1. **艺术家主视觉区(Artist hero)** — 从 URL 读取 ?artist=,并匹配 content.ts 中的 slug,当查询缺失或未知时,始终回退到第一位艺术家(mote)。页面标题变为艺术家的名字。主视觉区以 180px 展示艺术家的印章,艺术家名字使用 Anton 字体并带有套印不准效果,一行 Space Mono 目录行(Mote 为 'SR-024 · SR-018'),以及约 50 字的简介——Mote 的简介为:'Mote started as two brothers trading four-track tapes across a flood plain. A decade on they still cut to tape first and argue about it after — songs about water tables, basement shows, and the long drive home. Flood Rooms is their fourth LP for the label.' 在 content.ts 中为每位艺术家撰写一段同等长度的简介。 布局:12 列网格:印章和名字位于第 1–7 列,简介位于第 8–12 列并垂直居中。在移动端,印章居中显示在堆叠的名字和简介上方。 动效:印章在 400ms 内从 -4deg 旋转到 0 并稳定下来;名字和简介以标准上升效果显现。 2. **艺术家唱片** — 眉题 'ON THE LABEL';标题 'Their records.' 目录网格筛选为该艺术家的发行作品,使用相同的卡片和悬停行为(Mote 为:SR-024 和 SR-018)。 布局:与首页目录相同的 4/2/1 网格;项目较少时网格保持左对齐。 动效:相同的封套倾斜和黑胶滑入;标准交错显现。 3. **返回链接和页脚** — 一个纸质轮廓的 '← Back to the roster' 链接指向 ./index.html#roster,然后是共享的全局页脚。 布局:左对齐链接,页脚上方有 48px 顶部内边距。 动效:仅标准链接下划线偏移过渡。 ## 资源 - 图片:完全没有图片文件。所有视觉元素都用代码绘制:来自 src/lib/cover.ts 的生成式唱片套(带种子双色 SVG 几何图形,使用 multiply 混合叠加)、SVG 黑胶唱片、艺术家印章、标识图形、套印不准的展示字体,以及一个以 6% multiply 生成的 feTurbulence 丝网印刷颗粒叠加层。没有任何内容被下载、扫描或热链接;ASSETS.md 记录所有 artwork 均为原创代码。 - 图标:安装 lucide-react(ISC),仅使用 Disc3、ShoppingBag、Plus、Minus、X、ArrowRight 和 ArrowUpRight。不绘制任何品牌 logo 或真实厂牌标记;标识图形和印章均为原创代码。在 ASSETS.md 中记录包和许可证。 - 字体:通过 @fontsource/anton(OFL-1.1)自托管 Anton 400。在 ASSETS.md 中记录包和许可证;不要使用字体 CDN。 - 字体:通过 @fontsource/space-grotesk(OFL-1.1)自托管 Space Grotesk 400/500/700。在 ASSETS.md 中记录包和许可证;不要使用字体 CDN。 - 字体:通过 @fontsource/space-mono(OFL-1.1)自托管 Space Mono 400/700。在 ASSETS.md 中记录包和许可证;不要使用字体 CDN。 ## 禁止事项 - 任何地方都不得出现真实的厂牌、艺人、专辑、场馆、压片厂或音乐节——每一个名称、唱片封套、城市、价格和统计数据都是虚构的,页脚会对此作出说明。 - 所有封面艺术都是代码生成的双色几何图形:网站上任何地方都不得引用真实专辑封面、不得出现人物照片、不得使用图库素材或扫描图稿。 - 巡演条目只使用季节标签或 TBA——绝不使用真实日期、年份、星期几的日历逻辑,或任何与访客时钟相关的内容,页脚也不得出现版权年份。 - 购物车是本地演示,并在界面上明确说明这一点:无支付、除抽屉之外无结账流程、无 API、无分析、无邮箱收集;持久化仅使用 localStorage,并在恢复时进行校验。 - 孔版印刷(risograph)纹理由代码生成(SVG feTurbulence 配合 multiply 混合);绝不扫描纸张、下载纹理或热链任何文件。 - 无后端、服务器代码、数据库、认证或表单提交。通过单一构建命令输出静态文件到 dist/,使用相对路径。 - 仅通过所列的 Fontsource 包自托管字体;绝不加载 Google Fonts、Adobe Fonts 或任何 CDN 样式表或脚本。 - 生产构建经过压缩,无 source map,不将 src/ 复制到 dist/,且 dist/ 保持在 20 MB 以下。 - 不得使用 Unsplash、Pexels、Pixabay、Google Images、占位图服务,或任何外部或热链资源——此模板不附带任何照片文件。 - 每个内部链接都是文件名(./index.html、./shop.html、./artist.html?artist=…)或页内锚点,绝不是裸目录;不带查询参数打开 artist.html 时显示第一位艺人,绝不显示未找到状态。 - 尊重 prefers-reduced-motion:暂停黑胶旋转和滚动条并跳过入场动画;所有交互在无动画时仍完全可用。 - 严格保持两种专色——珊瑚色(coral)和紫罗兰色(violet)仅用于墨色和纸色之上;无渐变,除珊瑚色印刷偏移悬停效果外无投影,无发光。 - 任何地方都不得使用圆角;锐利的纸张裁切美学是设计的一部分,圆形仅出现在绘制的图形内部。 - 所有文案保持美式英语,并从 [BRAND] 和 [BRAND_SLUG] 派生购物车存储键、slug 和 alt 文本,以便替换变量值后绝不残留默认品牌痕迹。 - 不做 SEO 工作:无 meta 描述、Open Graph 标签、JSON-LD、站点地图或关键词堆砌的标题。一个包含 [BRAND] 的普通标题和一个 favicon 就足够了。 - 网站必须在 1440×900 和 390×844 下渲染,控制台零错误,包括通过查询路由的艺人页面。 --- — Prompt by VibeFather · https://vibefather.ai/t/indie-record-label-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
个人项目可免费使用(CC BY-NC 4.0)。 商业用途需要 Pro.
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Indie Record Label Website"
colors:
riso_ink: "#17130E"
paper_cream: "#F3EDDE"
hot_coral: "#FF4B33"
deep_violet: "#5B2DB3"
faded_ink: "#CFC5AC"
typography:
display_wordmark_titles_prices: { family: "Anton", weights: [400] }
body_paragraphs_buttons_nav: { family: "Space Grotesk", weights: [400, 500, 700] }
meta_catalog_numbers_eyebrows_ticker_chips: { family: "Space Mono", weights: [400, 700] }
spacing: "8px base grid. Shell max-width 1200px with 40px desktop and 20px mobile side padding. Header 64px with a 2px ink bottom rule. Sections 96px vertical padding on desktop, 64px on mobile. Catalog grid gap 24px. Tour rows 20px vertical padding split by 1px dividers. Paragraphs max 56 characters per line."
radius: "0px everywhere — paper trimmed square: cards, buttons, chips, inputs and photos all take sharp corners. The only circles on the site are drawn art: the vinyl, artist stamps, dot grids and the logomark ring."
---
# Indie Record Label 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
- **Riso ink** `#17130E` — Ink black: dark bands, hero type, vinyl disc, footer
- **Paper cream** `#F3EDDE` — Riso paper: page ground and card stock
- **Hot coral** `#FF4B33` — Spot color one: CTAs, chips, vinyl label, tour Tickets state
- **Deep violet** `#5B2DB3` — Spot color two: links on ink, sleeve geometry, Sold out chips
- **Faded ink** `#CFC5AC` — Hairlines, dividers, secondary text on paper
## Typography
- **Display: wordmark, titles, prices** — Anton (OFL), weights 400. Self-host the font files.
- **Body: paragraphs, buttons, nav** — Space Grotesk (OFL), weights 400/500/700. Self-host the font files.
- **Meta: catalog numbers, eyebrows, ticker, chips** — Space Mono (OFL), weights 400/700. Self-host the font files.
## Spacing & shape
- Spacing: 8px base grid. Shell max-width 1200px with 40px desktop and 20px mobile side padding. Header 64px with a 2px ink bottom rule. Sections 96px vertical padding on desktop, 64px on mobile. Catalog grid gap 24px. Tour rows 20px vertical padding split by 1px dividers. Paragraphs max 56 characters per line.
- Radius: 0px everywhere — paper trimmed square: cards, buttons, chips, inputs and photos all take sharp corners. The only circles on the site are drawn art: the vinyl, artist stamps, dot grids and the logomark ring.
## Motion
- The hero vinyl rotates once every 28s, linear, infinite; the animation pauses entirely under prefers-reduced-motion and the record stays fully readable.
- The ink ticker band scrolls one seamless loop every 30s; it pauses on hover and renders static under reduced motion.
- Release sleeves: hover rotates the sleeve 3deg and slides the vinyl 56px out from behind over 240ms ease-out; touch devices toggle the same state on tap; both reset on leave.
- Display headings sit on misregistered coral and violet copies; the offsets settle from 6px to 3px on load and widen by 1px each on hover over 200ms.
- Sections reveal once on scroll with a 16px rise and a 420ms fade, staggered 60ms per card or row; under reduced motion everything appears instantly.
- The cart drawer slides in from the right over 280ms with a 60% ink backdrop; the cart count badge pops to 1.15 scale for 160ms on every add.
## Imagery
Zero photographs — the entire site is drawn in code. Sleeves are seeded generative SVG (two-color geometry, multiply overlaps); the vinyl, artist stamps and logomark are hand-built SVG; riso paper grain is a generated feTurbulence overlay at 6% multiply across the whole page; misregistration is layered color copies on type, never a texture file. No scanned paper, no stock art, no photos of people.
## Tone
Loud but crafted — a screen-printed gig poster that happens to be a website. Short confident lines, mono catalog numbers, zero hype words. Playful about the demo cart, never pretending money changes hands.
---
— Prompt by VibeFather · https://vibefather.ai/t/indie-record-label-website · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 磁带与独立杂志出版:将 BRAND 设为你的出版品牌,把八张发行换成你的磁带出品,并改写压片说明来描述你的复制和手工折叠工艺。
- 城市音乐团体:将 CITY 和 GENRE 设为你的场景,用你的成员替换五位艺术家阵容,并把巡演动态行改成你自己的展示之夜。
- 噪音或实验厂牌:保留孔版印刷配色,将 PRESS_LINE 改写为你的信条,并用新数字为封面生成器播种,让每张封套都读作你的目录。
- 带厂牌分支的唱片店:将 BRAND 设为店铺名,保留黑胶变体商店和购物车抽屉,并改写目录网格来展示你自己的内部压片。
独立唱片厂牌网站:常见问题
独立唱片厂牌网站模板中的生成式唱片封套是如何工作的?
独立唱片厂牌网站模板用数字种子在代码中绘制每张发行封套。每个种子从圆形、环形、半圆、条形、四分之一弧、点阵和三角形中挑选六到九个形状,只用热珊瑚色、深紫色或墨色填充,重叠区域采用正片叠底使颜色混合。同一个种子总是生成同一张封面,目录编号以 Space Mono 字体放在一角。
独立唱片厂牌网站模板可以免费使用吗?Pro 能给我什么?
独立唱片厂牌网站模板是免费模板。其提示词和 DESIGN.md 在 CC BY-NC 4.0 下可免费用于个人非商业用途。商业和客户项目需要 Pro,Pro 还会提供完整提示词和演示的源代码。项目简介、技术栈和变量在模板页面上公开展示。
怎么用 AI 做一个独立唱片厂牌网站?
复制本页的提示词,或者运行 npx vibefather add indie-record-label-website,把 [CITY]、[BRAND]、[GENRE]、[PRESS_LINE] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。