[feat] solution/site,shared: 숙박 템플릿 8종 추가 — 라운드·시네마·빅타이포·부티크·일러스트·코랄·미니멀·솔숲
사장님이 고를 수 있는 숙박 템플릿이 고택 하나뿐이었다. 모두 stay2 콘텐츠(날씨·미니 블로그· 지역 이야기·객실·축제·일정·후기·엽서·노래)를 그대로 싣고 모양만 다르다. - layouts/<id>/: 템플릿별 Frame·섹션·CSS. 데스크톱은 넓은 배치(1024px 이상), 모바일 우선 - layouts/kit/kit.css: 탭 전환·시트·예약 폼·접기 등 공통 구조 - shared templates.json · builder.ts · catalog.ts: 템플릿·LayoutId 등록 - seo/head.ts: 템플릿별 한글 웹폰트 — 서로 겹치지 않게 배정 - paper Frame·Intro: 같은 탭을 다시 눌러도 맨 위로, 미니 블로그를 글 여러 개로 - docs/TEMPLATES.md · TEMPLATE_DESIGN.md: 목록과 화면 규칙(간격·접기·✓ 표시·글꼴) eslint·tsc 통과, vitest 123 passed, 템플릿 9개 굽기 성공 · 간격 검사 0건
This commit is contained in:
1 parent
7f6f16f307
commit
013cdcfc9f
153 files changed
+15672
-240
No files matched your search
@@ -106,6 +106,206 @@
|
||||
"sectionSpace": "2.5rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"round": {
|
||||
"name": "라운드",
|
||||
"tag": "둥근 카드",
|
||||
"description": "흰 바탕에 둥근 사진 카드와 굵고 큰 고딕. 가장 무난하고 사진 품질을 덜 탑니다.",
|
||||
"layout": "round",
|
||||
"colors": {
|
||||
"primary": "#3182f6",
|
||||
"secondary": "#4e5968",
|
||||
"bg": "#ffffff",
|
||||
"card": "#f2f4f6",
|
||||
"text": "#191f28",
|
||||
"accent": "#3182f6"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Noto Sans KR', system-ui, sans-serif",
|
||||
"fontBody": "'Noto Sans KR', system-ui, sans-serif",
|
||||
"radius": "22px",
|
||||
"borderWidth": "0px",
|
||||
"shadow": "0 8px 28px rgb(0 0 0 / 0.12)",
|
||||
"headingTracking": "-0.02em",
|
||||
"headingWeight": "700",
|
||||
"sectionSpace": "4.5rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"cinema": {
|
||||
"name": "시네마",
|
||||
"tag": "풀스크린",
|
||||
"description": "사진을 화면 가득 깔고 큰 문구 한 줄. 어두운 바탕에 반투명 유리 카드를 씁니다.",
|
||||
"layout": "cinema",
|
||||
"colors": {
|
||||
"primary": "#f4efe6",
|
||||
"secondary": "#b8b0a3",
|
||||
"bg": "#0f0e0c",
|
||||
"card": "#1b1916",
|
||||
"text": "#f4efe6",
|
||||
"accent": "#e7b77a"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Song Myung', 'Noto Serif KR', serif",
|
||||
"fontBody": "'Noto Sans KR', system-ui, sans-serif",
|
||||
"radius": "18px",
|
||||
"borderWidth": "1px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "-0.02em",
|
||||
"headingWeight": "800",
|
||||
"sectionSpace": "6rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"bigtype": {
|
||||
"name": "빅타이포",
|
||||
"tag": "큰 글자",
|
||||
"description": "상호를 화면 폭 가득 명조로 쓰고 가는 선 격자로 짠 지면. 모서리가 없습니다.",
|
||||
"layout": "bigtype",
|
||||
"colors": {
|
||||
"primary": "#141412",
|
||||
"secondary": "#55544f",
|
||||
"bg": "#ecebe6",
|
||||
"card": "#ecebe6",
|
||||
"text": "#141412",
|
||||
"accent": "#141412"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Hahmlet', 'Cormorant Garamond', serif",
|
||||
"fontBody": "'Hahmlet', 'IBM Plex Mono', serif",
|
||||
"radius": "0px",
|
||||
"borderWidth": "1px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "-0.05em",
|
||||
"headingWeight": "900",
|
||||
"sectionSpace": "2.75rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"boutique": {
|
||||
"name": "부티크",
|
||||
"tag": "아치 · 세리프",
|
||||
"description": "따뜻한 베이지 바탕에 가는 세리프와 아치형 사진. 감성 스테이 느낌입니다.",
|
||||
"layout": "boutique",
|
||||
"colors": {
|
||||
"primary": "#6f5847",
|
||||
"secondary": "#8a7a6d",
|
||||
"bg": "#f1ede9",
|
||||
"card": "#e8e1da",
|
||||
"text": "#6f5847",
|
||||
"accent": "#9f7666"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Cormorant Garamond', 'Marcellus', 'Nanum Myeongjo', serif",
|
||||
"fontBody": "'Nanum Myeongjo', serif",
|
||||
"radius": "0px",
|
||||
"borderWidth": "1px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "0.02em",
|
||||
"headingWeight": "300",
|
||||
"sectionSpace": "4.5rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"graphic": {
|
||||
"name": "일러스트",
|
||||
"tag": "사진 없이",
|
||||
"description": "사진이 적어도 되는 그림 풍경과 움직임. 첫 화면을 일러스트 장면으로 채웁니다.",
|
||||
"layout": "graphic",
|
||||
"colors": {
|
||||
"primary": "#ff7a45",
|
||||
"secondary": "#51605a",
|
||||
"bg": "#fff7ec",
|
||||
"card": "#ffffff",
|
||||
"text": "#1d2b24",
|
||||
"accent": "#ff7a45"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Jua', 'Gowun Dodum', sans-serif",
|
||||
"fontBody": "'Gowun Dodum', 'Noto Sans KR', sans-serif",
|
||||
"radius": "24px",
|
||||
"borderWidth": "0px",
|
||||
"shadow": "0 4px 0 rgb(29 43 36 / 0.12)",
|
||||
"headingTracking": "-0.01em",
|
||||
"headingWeight": "400",
|
||||
"sectionSpace": "5rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"coral": {
|
||||
"name": "코랄",
|
||||
"tag": "청록 리조트",
|
||||
"description": "맑은 청록과 흰 바탕, 가는 영문 제목. 바다·풀빌라처럼 사진이 시원한 곳에 어울립니다.",
|
||||
"layout": "coral",
|
||||
"colors": {
|
||||
"primary": "#6fa8a8",
|
||||
"secondary": "#5f6b73",
|
||||
"bg": "#f7f9fb",
|
||||
"card": "#eaf2f2",
|
||||
"text": "#26323a",
|
||||
"accent": "#6fa8a8"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Gothic A1', sans-serif, Aboreto",
|
||||
"fontBody": "'Gothic A1', 'Noto Sans KR', sans-serif",
|
||||
"radius": "0px",
|
||||
"borderWidth": "0px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "-0.01em",
|
||||
"headingWeight": "300",
|
||||
"sectionSpace": "4rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"minimal": {
|
||||
"name": "미니멀",
|
||||
"tag": "여백 호텔",
|
||||
"description": "연회색 바탕에 가는 영문 제목과 작은 글씨. 여백으로 사진을 돋보이게 하는 호텔식 구성입니다.",
|
||||
"layout": "minimal",
|
||||
"colors": {
|
||||
"primary": "#363636",
|
||||
"secondary": "#757575",
|
||||
"bg": "#f8f8f8",
|
||||
"card": "#ffffff",
|
||||
"text": "#363636",
|
||||
"accent": "#363636"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'Diphylleia', serif, Cinzel",
|
||||
"fontBody": "Questrial, 'Nanum Gothic', sans-serif",
|
||||
"radius": "0px",
|
||||
"borderWidth": "0px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "0",
|
||||
"headingWeight": "400",
|
||||
"sectionSpace": "4rem"
|
||||
},
|
||||
"addSections": []
|
||||
},
|
||||
"pine": {
|
||||
"name": "솔숲",
|
||||
"tag": "사진 중심",
|
||||
"description": "흰 바탕에 솔숲 초록 한 색. 전면 사진과 절제된 고딕으로 바다 앞 숙소의 창과 테라스를 보여 줍니다.",
|
||||
"layout": "pine",
|
||||
"colors": {
|
||||
"primary": "#2f5d50",
|
||||
"secondary": "#4d5a5c",
|
||||
"bg": "#ffffff",
|
||||
"card": "#f3f5f4",
|
||||
"text": "#172021",
|
||||
"accent": "#2f5d50"
|
||||
},
|
||||
"look": {
|
||||
"fontHeading": "'IBM Plex Sans KR', system-ui, sans-serif",
|
||||
"fontBody": "'IBM Plex Sans KR', system-ui, sans-serif",
|
||||
"radius": "14px",
|
||||
"borderWidth": "0px",
|
||||
"shadow": "none",
|
||||
"headingTracking": "-0.01em",
|
||||
"headingWeight": "600",
|
||||
"sectionSpace": "4rem"
|
||||
},
|
||||
"addSections": []
|
||||
}
|
||||
},
|
||||
"industries": {
|
||||
@@ -135,7 +335,15 @@
|
||||
"retro",
|
||||
"simple",
|
||||
"magazine",
|
||||
"paper"
|
||||
"paper",
|
||||
"round",
|
||||
"cinema",
|
||||
"bigtype",
|
||||
"boutique",
|
||||
"graphic",
|
||||
"coral",
|
||||
"minimal",
|
||||
"pine"
|
||||
],
|
||||
"sections": [
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@ import type {IndustryDef, IndustryType, LayoutId, TemplateDef} from '../types';
|
||||
|
||||
export type TemplateId = keyof typeof catalog.templates;
|
||||
|
||||
export const LAYOUT_IDS: readonly LayoutId[] = ['basic', 'paper'];
|
||||
export const LAYOUT_IDS: readonly LayoutId[] = ['basic', 'paper', 'round', 'cinema', 'bigtype', 'boutique', 'graphic', 'coral', 'minimal', 'pine'];
|
||||
|
||||
export const TEMPLATES = catalog.templates as Record<TemplateId, TemplateDef>;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ export interface TemplateLook {
|
||||
texture?: string;
|
||||
}
|
||||
|
||||
export type LayoutId = 'basic' | 'paper';
|
||||
export type LayoutId = 'basic' | 'paper' | 'round' | 'cinema' | 'bigtype' | 'boutique' | 'graphic' | 'coral' | 'minimal' | 'pine';
|
||||
|
||||
export interface TemplateDef {
|
||||
name: string;
|
||||
|
||||
Reference in new issue
Block a user