feat(supporters): 고객용 메시지와 운영자용 설명 분리 (v4)
- 홈: "답변엔진 인용", "질문 뱅크 120", "홈페이지 문장 복사 안 함", "의료법 56조" 등 제작 원칙 섹션 제거. 주제별 찾기(카테고리 카드) · 최근 답한 질문 · 원장 영상 · 병원 둘러보기 · 신뢰 근거 3가지 · 병원 정보로 재구성. 영어 덱 스타일 헤딩을 한국어 고객 문장으로 교체 - /about: 방문자용 "이 사이트에 대해"로 다시 씀 (근거, 작성·감수, 싣지 않는 것, 병원과의 관계, 문의) - /editorial 신설: 운영자용 편집 기준 (질문 뱅크, 글 구조, 원천 변환, 중복 회피, 스키마, 발행 게이트, 고객/운영자 경계). noindex, 푸터에서만 연결 - 내비 "운영 원칙" → "소개", 샘플 배너에서 noindex 언급 제거, 글 상세 QB 번호는 data-qb 속성으로만 유지 - 글 목록·병원 정보·영상·뉴스룸·작성자 페이지의 "단일 원본", "API 집계", "수집 기준", "팩트 시트" 문구 정리 - 후기 글·방문 안내 글의 법 조문·답변엔진 언급을 고객 문장으로 교체 - Base에 noindex prop 추가. docs/v4-screenshots 기록 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
03ed725481
commit
24b8be0f3d
20 files changed
+185
-75
No files matched your search
@@ -8,8 +8,9 @@ interface Props {
|
||||
jsonLd?: Record<string, any> | Record<string, any>[];
|
||||
ogImage?: string;
|
||||
type?: 'website' | 'article';
|
||||
noindex?: boolean;
|
||||
}
|
||||
const { title, description, jsonLd, ogImage = '/img/clinic/building-clean.jpg', type = 'website' } = Astro.props;
|
||||
const { title, description, jsonLd, ogImage = '/img/clinic/building-clean.jpg', type = 'website', noindex = false } = Astro.props;
|
||||
const site = Astro.site?.toString().replace(/\/$/, '') ?? '';
|
||||
const cleanPath = Astro.url.pathname.replace(/\/index\.html$/, '/').replace(/\.html$/, '');
|
||||
const canonical = (new URL(cleanPath, Astro.site).toString().replace(/\/$/, '') || site);
|
||||
@@ -23,7 +24,7 @@ const ld = jsonLd ? JSON.stringify({ '@context': 'https://schema.org', ...(Array
|
||||
<title>{title} | {SITE_NAME}</title>
|
||||
<meta name="description" content={description} />
|
||||
<link rel="canonical" href={canonical} />
|
||||
{!INDEXABLE && <meta name="robots" content="noindex, nofollow" />}
|
||||
{(!INDEXABLE || noindex) && <meta name="robots" content="noindex, nofollow" />}
|
||||
<meta property="og:type" content={type} />
|
||||
<meta property="og:site_name" content={SITE_NAME} />
|
||||
<meta property="og:title" content={title} />
|
||||
@@ -38,7 +39,7 @@ const ld = jsonLd ? JSON.stringify({ '@context': 'https://schema.org', ...(Array
|
||||
{ld && <script type="application/ld+json" set:html={ld} />}
|
||||
</head>
|
||||
<body>
|
||||
{!INDEXABLE && <div class="sample-banner">샘플 사이트입니다. 검색엔진 색인을 막아 두었고(noindex), 서포터즈 실명과 원장 감수는 확정 전입니다.</div>}
|
||||
{!INDEXABLE && <div class="sample-banner">샘플 사이트입니다. 작성자 이름과 원장 감수 표기는 확정 전입니다.</div>}
|
||||
<header class="site-header">
|
||||
<div class="wrap-wide bar">
|
||||
<a class="brand" href="/"><img class="brand-logo" src="/img/view-logo.png" alt="뷰성형외과 View Plastic Surgery" width="184" height="66" /><span class="brand-sep" aria-hidden="true"></span><span class="brand-text">서포터즈 <small>VIEW SUPPORTERS</small></span></a>
|
||||
@@ -48,7 +49,7 @@ const ld = jsonLd ? JSON.stringify({ '@context': 'https://schema.org', ...(Array
|
||||
<a href="/videos">영상</a>
|
||||
<a href="/newsroom">뉴스룸</a>
|
||||
<a href="/clinic">병원 정보</a>
|
||||
<a href="/about">운영 원칙</a>
|
||||
<a href="/about">소개</a>
|
||||
</nav>
|
||||
<a class="cta" href={fact.url + '/counsel/reservation/'} rel="noopener">상담 예약</a>
|
||||
</div>
|
||||
@@ -77,6 +78,7 @@ const ld = jsonLd ? JSON.stringify({ '@context': 'https://schema.org', ...(Array
|
||||
<p><strong>{SITE_NAME}</strong> · {SITE_TAGLINE}</p>
|
||||
<p>이 매체는 {fact.shortName}의 지원을 받아 서포터즈가 운영합니다. 글의 의학적 내용은 {fact.shortName} 담당 원장의 감수를 거치며, 감수 전 글은 "감수 예정"으로 표시합니다.</p>
|
||||
<p>{fact.sideEffectNotice}</p>
|
||||
<p><a href="/about">이 사이트에 대해</a> · <a href="/editorial">편집 기준 (운영자용)</a></p>
|
||||
</div>
|
||||
<div>
|
||||
<p><img src="/img/view-logo-foot.png" alt="뷰성형외과" width="138" height="49" style="width:138px;height:auto;margin-bottom:0.5rem" /></p>
|
||||
|
||||
Reference in new issue
Block a user