feat: 뷰성형외과 서포터즈 샘플 사이트 v3 + 설계 v0.1 + 공식 사이트 대비 AEO 감사
- supporters/: Astro 사이트 소스 (pages·components·posts·factSheet/authors/videos 데이터, 뉴스룸 916건 빌더, 발행 게이트 check.mjs, vercel.json) - supporters/docs/: v1~v3 스크린샷 기록 - docs/INFINITH_Viewclinic_Supporters_Site_Design_v0.1.md: 서포터즈 사이트 설계 문서 - docs/NEXT_SESSION_SUPPORTERS_AUTOBUILD.md: 다음 세션 자동 빌드 프롬프트 - docs/reports/Viewclinic_Supporters_vs_Official_AEO_Audit.xlsx + scripts/build_supporters_audit_xlsx.py: 서포터즈 vs 공식 사이트 AEO/GEO 감사 비교 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
1dd1384fbf
commit
03ed725481
184 files changed
+18068
No files matched your search
@@ -0,0 +1,30 @@
|
||||
import { defineCollection } from 'astro:content';
|
||||
import { glob } from 'astro/loaders';
|
||||
import { z } from 'astro:schema';
|
||||
|
||||
const posts = defineCollection({
|
||||
loader: glob({ pattern: '**/*.md', base: './src/content/posts' }),
|
||||
schema: z.object({
|
||||
title: z.string(), // H1. 질문형 한 문장
|
||||
category: z.enum(['A', 'B', 'C', 'D', 'E', 'F', 'G']),
|
||||
categoryLabel: z.string(),
|
||||
qbIds: z.array(z.string()), // QB 120 문항 ID
|
||||
summary: z.array(z.string()).min(2).max(4), // 세 줄 요약 (직접 답변 블록)
|
||||
description: z.string(), // meta description
|
||||
author: z.string(), // authors.json id
|
||||
reviewer: z.string().optional(), // 감수자 id (physicians)
|
||||
reviewStatus: z.enum(['reviewed', 'pending']).default('pending'),
|
||||
datePublished: z.string(),
|
||||
dateModified: z.string(),
|
||||
video: z.object({ id: z.string(), title: z.string(), channel: z.string(), speaker: z.string().optional(), published: z.string().optional() }).optional(),
|
||||
videos: z.array(z.object({ id: z.string(), title: z.string(), speaker: z.string().optional(), published: z.string().optional(), note: z.string().optional() })).default([]),
|
||||
gallery: z.array(z.object({ src: z.string(), alt: z.string(), caption: z.string() })).default([]),
|
||||
thumbnail: z.string().optional(),
|
||||
hero: z.object({ src: z.string(), alt: z.string(), caption: z.string() }).optional(),
|
||||
faq: z.array(z.object({ q: z.string(), a: z.string() })).default([]),
|
||||
sources: z.array(z.object({ label: z.string(), url: z.string(), accessed: z.string() })).default([]),
|
||||
tags: z.array(z.string()).default([]),
|
||||
}),
|
||||
});
|
||||
|
||||
export const collections = { posts };
|
||||
Reference in new issue
Block a user