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,64 @@
|
||||
import fact from './data/factSheet.json';
|
||||
import authors from './data/authors.json';
|
||||
|
||||
export const SITE_NAME = '뷰 서포터즈';
|
||||
export const SITE_TAGLINE = '뷰성형외과를 알아보는 사람들의 질문에 먼저 답하는 서포터즈 매체 (샘플)';
|
||||
export const INDEXABLE = import.meta.env.PUBLIC_INDEXABLE === 'true';
|
||||
|
||||
export const CATEGORY_LABELS: Record<string, string> = {
|
||||
A: '병원 소개', B: '방문·예약', C: '선택 기준', D: '시술 정보', E: '안전·신뢰', F: '가격·이벤트', G: '후기·평판',
|
||||
};
|
||||
|
||||
export { fact, authors };
|
||||
|
||||
export function supporter(id: string) {
|
||||
return (authors.supporters as Record<string, any>)[id];
|
||||
}
|
||||
export function physician(id: string) {
|
||||
return (authors.physicians as Record<string, any>)[id];
|
||||
}
|
||||
|
||||
export function clinicSchema(site: string) {
|
||||
const s = fact.surfaces;
|
||||
return {
|
||||
'@type': ['MedicalClinic', 'Organization'],
|
||||
'@id': `${fact.url}/#clinic`,
|
||||
name: fact.name,
|
||||
alternateName: fact.shortName,
|
||||
url: fact.url,
|
||||
telephone: fact.phone,
|
||||
faxNumber: fact.fax,
|
||||
foundingDate: fact.founded,
|
||||
address: {
|
||||
'@type': 'PostalAddress',
|
||||
streetAddress: fact.address.street,
|
||||
addressLocality: fact.address.locality,
|
||||
addressRegion: fact.address.region,
|
||||
addressCountry: 'KR',
|
||||
},
|
||||
openingHoursSpecification: fact.hours.schema.map((h) => ({ '@type': 'OpeningHoursSpecification', ...h })),
|
||||
medicalSpecialty: ['PlasticSurgery'],
|
||||
sameAs: [s.youtube.url, s.instagram.url, s.facebook.url, s.gangnamunni.url, fact.urlEn],
|
||||
image: `${site}/img/clinic/building-clean.jpg`,
|
||||
};
|
||||
}
|
||||
|
||||
export function personSchema(id: string, site: string) {
|
||||
const a = supporter(id);
|
||||
return { '@type': 'Person', '@id': `${site}/authors/${id}#person`, name: a.name, jobTitle: a.role, url: `${site}/authors/${id}`, sameAs: a.sameAs };
|
||||
}
|
||||
|
||||
export function physicianSchema(id: string) {
|
||||
const p = physician(id);
|
||||
return {
|
||||
'@type': 'Physician',
|
||||
'@id': `${p.url}#physician`,
|
||||
name: p.name,
|
||||
jobTitle: p.title,
|
||||
url: p.url,
|
||||
sameAs: p.sameAs,
|
||||
medicalSpecialty: 'PlasticSurgery',
|
||||
worksFor: { '@id': `${fact.url}/#clinic` },
|
||||
...(p.image ? { image: p.image } : {}),
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user