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,43 @@
|
||||
---
|
||||
import Base from '../layouts/Base.astro';
|
||||
import { fact, SITE_NAME } from '../lib';
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const ld = { '@type': 'AboutPage', '@id': `${site}/about#page`, name: '운영 원칙', url: `${site}/about`, inLanguage: 'ko', isPartOf: { '@id': `${site}/#website` }, publisher: { '@type': 'Organization', name: SITE_NAME, url: site } };
|
||||
---
|
||||
<Base title="운영 원칙" description="뷰 서포터즈가 글을 쓰는 방식, 쓰지 않는 것, 감수와 대가 관계 고지, 중복 콘텐츠를 피하는 규칙을 공개합니다." jsonLd={ld}>
|
||||
<article class="wrap" style="padding-bottom:4rem">
|
||||
<header class="article-head"><div class="eyebrow">About</div><h1 class="serif">Principles</h1><p style="color:var(--slate-600);margin-top:0.6rem">운영 원칙. 글을 쓰는 방식, 쓰지 않는 것, 감수와 대가 관계, 중복 회피 규칙.</p></header>
|
||||
<h2>이 사이트는 무엇입니까</h2>
|
||||
<p>뷰 서포터즈는 {fact.shortName}를 알아보는 사람들이 검색과 AI에 묻는 질문에 먼저 답하는 매체입니다. 병원 홈페이지와 역할이 다릅니다. 홈페이지는 병원이 병원을 소개하고, 이곳은 환자 관점의 질문과 답을 다룹니다.</p>
|
||||
<h2>글을 쓰는 방식</h2>
|
||||
<ol>
|
||||
<li>질문 하나가 글 하나입니다. 질문은 INFINITH가 만든 환자 질문 뱅크 120문항에서 고릅니다.</li>
|
||||
<li>첫 단락 "세 줄 요약"에 답을 먼저 씁니다. 그다음에 근거를 풉니다.</li>
|
||||
<li>원장 영상은 글로 재구성하고 원본을 임베드합니다. 영상 설명란 텍스트는 복사하지 않습니다.</li>
|
||||
<li>홈페이지 문장은 옮겨 적지 않습니다. 사실(개원 연도, 층 구성, 진료시간)만 가져오고 문장은 새로 씁니다.</li>
|
||||
<li>주소·전화·진료시간·의료진 수는 <a href="/clinic">팩트 시트</a> 한 곳에서만 가져옵니다.</li>
|
||||
<li>이미지는 병원 공개 자료를 캡처해 쓰되, 설명(alt)과 캡션은 글 문맥에 맞게 새로 쓰고 출처와 캡처일을 적습니다.</li>
|
||||
</ol>
|
||||
<h2>쓰지 않는 것</h2>
|
||||
<ul>
|
||||
<li>전후 사진</li>
|
||||
<li>환자 후기·경험담 인용. 후기는 강남언니·구글의 집계 수치와 링크로만 다룹니다.</li>
|
||||
<li>타 병원과의 비교, 효과 보장, 최상급 표현</li>
|
||||
<li>가격 안내. 이벤트 가격은 병원과 강남언니 페이지로 안내만 합니다.</li>
|
||||
</ul>
|
||||
<h2>작성자와 감수</h2>
|
||||
<p>글은 실명 서포터즈가 씁니다(샘플 단계에서는 가명). 의학적 내용은 {fact.shortName} 담당 원장이 감수하며, 감수가 끝난 글에만 "감수 완료"와 날짜를 표시합니다. 감수 전 글은 "감수 예정"으로 표시합니다. 서포터즈는 의학적 판단을 하지 않습니다.</p>
|
||||
<h2>대가 관계 고지</h2>
|
||||
<p>뷰 서포터즈 활동은 {fact.shortName}의 지원을 받습니다. 모든 글 하단에 같은 문장을 고정으로 표시합니다.</p>
|
||||
<h2>중복 콘텐츠를 피하는 규칙</h2>
|
||||
<div class="table-wrap"><table><thead><tr><th>규칙</th><th>이유</th></tr></thead><tbody>
|
||||
<tr><td>홈페이지 문장 연속 일치 검사 후 발행</td><td>구글이 복제 사이트로 분류하거나 홈페이지와 순위를 나눠 갖는 일을 막습니다.</td></tr>
|
||||
<tr><td>허브(이 사이트)에 먼저 발행, 네이버 블로그는 24시간 뒤 요약 재작성</td><td>네이버 유사문서 판독은 뒤에 올라온 비슷한 글을 뺍니다. 발행 순서가 원본 판정입니다.</td></tr>
|
||||
<tr><td>모든 페이지에 자기 참조 canonical</td><td>같은 글이 다른 주소로 복제돼도 원본이 한 곳으로 모입니다.</td></tr>
|
||||
<tr><td>홈페이지에 없는 정보 유형을 중심으로</td><td>준비 체크리스트, 회복 일정, 비교표, FAQ는 홈페이지가 다루지 않는 영역입니다.</td></tr>
|
||||
</tbody></table></div>
|
||||
<h2>기술 메모</h2>
|
||||
<p>정적 HTML로 빌드해 크롤러가 자바스크립트 없이 전문을 읽습니다. 글마다 Article·FAQPage·Person·Physician·MedicalClinic 구조화 데이터를 넣고, 빌드 단계에서 구조화 데이터 문법과 이미지 alt, 금칙 표현을 검사해 통과하지 못하면 배포하지 않습니다. 샘플 단계에서는 검색엔진 색인을 막아 두었습니다(noindex).</p>
|
||||
<p class="disclosure">{fact.sideEffectNotice}</p>
|
||||
</article>
|
||||
</Base>
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../../layouts/Base.astro';
|
||||
import PostCard from '../../components/PostCard.astro';
|
||||
import { authors, personSchema } from '../../lib';
|
||||
export async function getStaticPaths() {
|
||||
return Object.keys(authors.supporters).map((id) => ({ params: { id } }));
|
||||
}
|
||||
const { id } = Astro.params;
|
||||
const a = (authors.supporters as Record<string, any>)[id!];
|
||||
const posts = (await getCollection('posts')).filter((p) => p.data.author === id);
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
---
|
||||
<Base title={`${a.name} · 작성 글`} description={a.bio} jsonLd={personSchema(id!, site)}>
|
||||
<div class="wrap-wide" style="padding-bottom:4rem">
|
||||
<header class="article-head"><div class="eyebrow">{a.role}</div><h1>{a.name}</h1><p style="color:var(--slate-600);margin-top:0.6rem;max-width:640px">{a.bio}</p></header>
|
||||
<div class="notice">샘플 단계라 가명입니다. 실명 서포터즈가 확정되면 이 페이지의 이름·소개·SNS 링크(sameAs)가 실제 인물로 바뀝니다.</div>
|
||||
<div class="grid">{posts.map((p) => <PostCard post={p} />)}</div>
|
||||
</div>
|
||||
</Base>
|
||||
@@ -0,0 +1,47 @@
|
||||
---
|
||||
import Base from '../layouts/Base.astro';
|
||||
import FactBlock from '../components/FactBlock.astro';
|
||||
import { fact, clinicSchema, physicianSchema, physician } from '../lib';
|
||||
import Gallery from '../components/Gallery.astro';
|
||||
const docs = ['dr-choi','dr-chung','dr-son','dr-oh'].map(physician);
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const ld = [clinicSchema(site), physicianSchema('dr-choi')];
|
||||
---
|
||||
<Base title="뷰성형외과 기본 정보 (팩트 시트)" description="뷰성형외과의원의 주소·전화·진료시간·층별 구성·진료과·공개 이력을 한 곳에 정리한 팩트 시트. 모든 서포터즈 글의 병원 정보는 이 페이지와 같은 원본에서 나옵니다." jsonLd={ld}>
|
||||
<article class="wrap" style="padding-bottom:4rem">
|
||||
<header class="article-head"><div class="eyebrow">Fact Sheet</div><h1 class="serif">Fact Sheet</h1><p style="color:var(--slate-600);margin-top:0.6rem"><strong style="color:var(--primary-900)">뷰성형외과 기본 정보.</strong> 서포터즈 글 전체가 공유하는 단일 원본입니다. 표기는 공식 홈페이지를 따르고, 홈페이지에 없는 항목은 출처를 따로 적습니다.</p></header>
|
||||
<FactBlock />
|
||||
<h2>진료시간</h2>
|
||||
<div class="table-wrap"><table><thead><tr><th>요일</th><th>진료</th></tr></thead><tbody>{fact.hours.rows.map((r) => <tr><td>{r.days}</td><td>{r.open ? `${r.open} ~ ${r.close}` : r.note}</td></tr>)}</tbody></table></div>
|
||||
<p style="font-size:0.88rem;color:var(--slate-500)">출처: <a href={fact.hours.source} rel="noopener">{fact.hours.sourceLabel}</a>. 공식 홈페이지에는 진료시간이 텍스트로 없어 강남언니 표기를 사용했습니다. 방문 전 전화로 확인을 권합니다.</p>
|
||||
<h2>건물과 층별 구성</h2>
|
||||
<figure class="figure"><img src="/img/clinic/building-clean.jpg" alt="뷰성형외과 빌딩 외관. 유리 외벽에 VIEW 로고가 있는 고층 건물" /><figcaption>뷰성형외과 빌딩 외관. 출처: 공식 홈페이지 병원둘러보기</figcaption></figure>
|
||||
<p>{fact.building.summary}입니다.</p>
|
||||
<div class="table-wrap"><table><thead><tr><th>층</th><th>용도</th></tr></thead><tbody>{fact.building.floors.map((f) => <tr><td>{f.floor}</td><td>{f.use}</td></tr>)}</tbody></table></div>
|
||||
<Gallery cols={3} items={[
|
||||
{ src: '/img/clinic/consult-2.jpg', alt: '상담센터 상담실 내부', caption: '4~5F 상담센터' },
|
||||
{ src: '/img/clinic/exam-2.jpg', alt: '검진센터 접수 데스크', caption: 'B1F 검진센터' },
|
||||
{ src: '/img/clinic/surgery-3.jpg', alt: '수술실 앞 복도의 수술 실명제 안내 화면', caption: '11~14F 수술센터 복도' },
|
||||
{ src: '/img/clinic/ward-2.jpg', alt: '입원실 침대', caption: '8·10F 입원센터' },
|
||||
{ src: '/img/clinic/vip-1.jpg', alt: 'VIP 병동 복도', caption: '7F VIP 입원실' },
|
||||
{ src: '/img/clinic/consult-3.jpg', alt: '상담 대기 라운지', caption: '상담 대기 라운지' },
|
||||
]} />
|
||||
<h2>진료과와 진료 분야</h2>
|
||||
<p>진료과: {fact.departments.join(', ')}</p>
|
||||
<p>진료 분야: {fact.specialties.join(', ')}</p>
|
||||
<h2>이 사이트 글에 등장하는 의료진</h2>
|
||||
{docs.map((p) => (<div class="doctor-strip">{p.image && <img src={p.image} alt={`${p.name} ${p.title}`} />}<div><div class="name">{p.name} <span style="font-weight:500;color:var(--slate-600)">{p.title}</span></div><p class="creds">{p.credentials.slice(0,3).join(' · ')} <a href={p.url} rel="noopener">프로필</a></p></div></div>))}
|
||||
<p style="font-size:0.88rem;color:var(--slate-500)">전체 의료진 {fact.surfaces.gangnamunni.doctors}명(강남언니 등록 기준)은 <a href="https://www.viewclinic.com/viewis/doctors/" rel="noopener">홈페이지 의료진 소개</a>에서 확인할 수 있습니다.</p>
|
||||
<h2>공개된 이력</h2>
|
||||
<ul>{fact.recognitions.map((r) => <li>{r.text} <a href={r.source} rel="noopener" style="font-size:0.85rem">(출처)</a></li>)}</ul>
|
||||
<h2>공식 채널</h2>
|
||||
<ul>
|
||||
<li>홈페이지: <a href={fact.url} rel="noopener">{fact.url}</a> (영문 <a href={fact.urlEn} rel="noopener">{fact.urlEn}</a>)</li>
|
||||
<li>유튜브: <a href={fact.surfaces.youtube.url} rel="noopener">{fact.surfaces.youtube.handle}</a> · 구독자 {fact.surfaces.youtube.subscribers} · 영상 {fact.surfaces.youtube.videos}개 ({fact.surfaces.youtube.checked} 기준)</li>
|
||||
<li>강남언니: <a href={fact.surfaces.gangnamunni.url} rel="noopener">병원 페이지</a> · 평점 {fact.surfaces.gangnamunni.rating} · 후기 {fact.surfaces.gangnamunni.reviews}건 · 의료진 {fact.surfaces.gangnamunni.doctors}명</li>
|
||||
<li>카카오톡 채널: <a href={fact.kakao} rel="noopener">상담 채널</a></li>
|
||||
<li>블로그: <a href={fact.surfaces.blog.url} rel="noopener">blog.viewclinic.com</a> ({fact.surfaces.blog.note})</li>
|
||||
</ul>
|
||||
<p class="disclosure">{fact.sideEffectNotice}</p>
|
||||
</article>
|
||||
</Base>
|
||||
@@ -0,0 +1,91 @@
|
||||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import PostCard from '../components/PostCard.astro';
|
||||
import FactBlock from '../components/FactBlock.astro';
|
||||
import VideoLite from '../components/VideoLite.astro';
|
||||
import Gallery from '../components/Gallery.astro';
|
||||
import { SITE_NAME, fact, clinicSchema } from '../lib';
|
||||
const posts = (await getCollection('posts')).sort((a, b) => b.data.dateModified.localeCompare(a.data.dateModified));
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const ld = [
|
||||
{ '@type': 'WebSite', '@id': `${site}/#website`, name: SITE_NAME, url: site, inLanguage: 'ko', about: { '@id': `${fact.url}/#clinic` }, publisher: { '@type': 'Organization', name: SITE_NAME, url: site } },
|
||||
clinicSchema(site),
|
||||
];
|
||||
---
|
||||
<Base title="뷰성형외과를 알아보는 사람들의 질문에 먼저 답합니다" description="뷰 서포터즈는 뷰성형외과(서울 강남 신논현역)에 대해 사람들이 AI와 검색에 묻는 질문을 골라, 원장 영상과 공개 자료를 근거로 먼저 답하는 서포터즈 매체입니다." jsonLd={ld}>
|
||||
<section class="hero-light">
|
||||
<div class="blob a"></div><div class="blob b"></div>
|
||||
<div class="wrap-wide inner">
|
||||
<div>
|
||||
<div class="eyebrow">View Supporters · Sample</div>
|
||||
<h1>뷰성형외과를 알아보는 사람들의<br /><span class="accent">질문에 먼저 답합니다.</span></h1>
|
||||
<p class="lede">{fact.shortName}는 {fact.founded}년 개원한 서울 강남 신논현역 인근 성형외과입니다. 이 사이트는 홈페이지를 옮겨 적지 않습니다. 사람들이 실제로 묻는 질문을 골라 원장 영상과 공개 자료를 근거로 답하고, 글마다 작성자·감수 상태·참고 자료를 밝힙니다.</p>
|
||||
<div class="chips">
|
||||
<span class="chip"><span class="dot"></span>{fact.founded}년 개원 · 신논현역 3번 출구 50m</span>
|
||||
<span class="chip"><span class="dot"></span>원천: 유튜브 {fact.surfaces.youtube.videos}편 · 공식 홈페이지 · 강남언니</span>
|
||||
</div>
|
||||
<div class="hero .actions" style="display:flex;gap:0.8rem;flex-wrap:wrap;margin-top:1.6rem">
|
||||
<a class="btn primary" href="/posts">전체 글 보기</a>
|
||||
<a class="btn secondary" href="/about">운영 원칙</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hero-img collage"><img src="/img/clinic/hero-collage.jpg" alt="뷰성형외과 빌딩 외관과 내부 공간 콜라주. 상담센터, 수술실, 수술센터 복도" width="1000" height="850" /></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section dark">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow" style="color:var(--purple-300)">Why This Site</div><h2>Questions First</h2><p class="sub">답변엔진은 광고가 아니라 잘라 쓸 수 있는 답 단락을 인용합니다. 그 단락을 먼저 만듭니다.</p></div>
|
||||
<div class="stats">
|
||||
<div class="stat"><b>120</b><span class="label">답할 질문 뱅크</span><span class="desc">INFINITH가 실측한 환자 질문 120문항. 문항 하나가 글 하나가 됩니다.</span></div>
|
||||
<div class="stat"><b>{fact.surfaces.youtube.videos}</b><span class="label">원천 영상 (유튜브)</span><span class="desc">원장 설명 영상을 글로 재구성하고 원본을 임베드합니다. 홈페이지 문장은 복사하지 않습니다.</span></div>
|
||||
<div class="stat"><b>{fact.surfaces.gangnamunni.reviews}</b><span class="label">강남언니 후기 (집계만)</span><span class="desc">후기 본문은 인용하지 않습니다. 의료법 제56조에 따라 집계 수치와 링크만 안내합니다.</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section light">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="row"><div><div class="eyebrow">Latest</div><h2>Recent Answers</h2><p class="sub">최근 글 · 첫 단락 "세 줄 요약"에 답을 먼저 씁니다.</p></div><a href="/posts">전체 보기</a></div></div>
|
||||
<div class="grid">{posts.slice(0, 6).map((p) => <PostCard post={p} />)}</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section tint">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow">From The Doctors</div><h2>Doctors Explain</h2><p class="sub">원장이 직접 설명하는 영상. 서포터즈는 이 발화를 글로 옮깁니다.</p></div>
|
||||
<div class="video-grid" style="grid-template-columns:repeat(auto-fill,minmax(300px,1fr))">
|
||||
<VideoLite id="Nbemu6mL_uY" title="가장 VIEW다운 가치 : 안전과 신뢰의 약속" published="2026-05-19" compact />
|
||||
<VideoLite id="_OZRSJIDWgs" title="스포르자가 또 방문한 이유, 모티바 프리저베 교육 현장" published="2026-08-20" compact />
|
||||
<VideoLite id="xohC5C6aY70" title="모티바 프리저베는 수술 직후 만세가 가능하다?" published="2026-08-31" compact />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section light">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow">Inside</div><h2>Inside The Building</h2><p class="sub">19층 자체 사옥. 상담 4~5층, 검진 지하 1층, 수술 11~14층, 입원 8·10층.</p></div>
|
||||
<Gallery cols={3} items={[
|
||||
{ src: '/img/clinic/consult-1.jpg', alt: '뷰성형외과 4~5층 상담센터 대기 공간. 검은 소파와 밝은 조명', caption: '4~5F 상담센터' },
|
||||
{ src: '/img/clinic/exam-1.jpg', alt: '뷰성형외과 지하 1층 검진센터 입구. Examination Center 간판', caption: 'B1F 검진센터' },
|
||||
{ src: '/img/clinic/surgery-2.jpg', alt: '뷰성형외과 수술실 내부. 수술대와 무영등', caption: '11~14F 수술센터' },
|
||||
{ src: '/img/clinic/ward-1.jpg', alt: '뷰성형외과 입원실. 창가의 1인 침대', caption: '8·10F 입원센터' },
|
||||
{ src: '/img/clinic/vip-lounge.jpg', alt: '뷰성형외과 VIP 라운지. 어두운 톤의 라운지 공간', caption: 'VIP 라운지' },
|
||||
{ src: '/img/clinic/dental-15f.jpg', alt: '뷰성형외과 15층 치과 진료실. 파란 치과 의자가 줄지어 있음', caption: '15F 치과 (양악·윤곽 협진)' },
|
||||
]} />
|
||||
<p style="font-size:0.83rem;color:var(--slate-500);margin-top:-0.6rem">사진 출처: 뷰성형외과 공식 홈페이지 병원둘러보기 (파트너십에 따라 사용)</p>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section dark">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow" style="color:var(--purple-300)">Principles</div><h2>What We Do, What We Don't</h2><p class="sub">병원 홈페이지와 역할을 나눕니다.</p></div>
|
||||
<div class="grid">
|
||||
<div class="card"><h3>합니다</h3><p>질문 하나에 글 하나. 첫 단락에 답을 먼저 씁니다. 영상은 글로 재구성하고 원본을 임베드합니다. 주소·전화·진료시간은 팩트 시트 한 곳에서만 가져옵니다.</p></div>
|
||||
<div class="card"><h3>하지 않습니다</h3><p>홈페이지 문장 복사, 전후 사진, 환자 경험담 인용, 타 병원과의 비교, 효과 보장 표현. 후기는 강남언니·구글 집계 수치와 링크로만 다룹니다.</p></div>
|
||||
<div class="card"><h3>밝힙니다</h3><p>작성자 실명(확정 전 가명), 원장 감수 여부와 날짜, 참고 자료 링크, 병원 지원 관계. <a href="/about">운영 원칙 전문</a></p></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section tint"><div class="wrap-wide"><div class="sec-head"><div class="eyebrow">Fact Sheet</div><h2>Clinic Facts</h2><p class="sub">모든 글이 공유하는 병원 정보의 단일 원본입니다.</p></div><FactBlock /></div></section>
|
||||
</Base>
|
||||
@@ -0,0 +1,122 @@
|
||||
---
|
||||
import Base from '../layouts/Base.astro';
|
||||
import news from '../data/news.json';
|
||||
import { SITE_NAME, fact } from '../lib';
|
||||
const items = news.items as { date: string; title: string; outlet: string; url: string; kind: 'release' | 'column' | 'mention'; origin: string; topic: string }[];
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const years = [...new Set(items.map((i) => i.date.slice(0, 4)))].sort().reverse();
|
||||
const topics = [...new Set(items.map((i) => i.topic))];
|
||||
const topicCount = Object.fromEntries(topics.map((t) => [t, items.filter((i) => i.topic === t).length]));
|
||||
topics.sort((a, b) => topicCount[b] - topicCount[a]);
|
||||
const KIND: Record<string, string> = { release: '보도자료', column: '원장 기고·인터뷰', mention: '언론 언급' };
|
||||
const counts = { release: items.filter((i) => i.kind === 'release').length, column: items.filter((i) => i.kind === 'column').length, mention: items.filter((i) => i.kind === 'mention').length };
|
||||
const outlets = new Set(items.map((i) => i.outlet)).size;
|
||||
const ld = [
|
||||
{ '@type': 'CollectionPage', '@id': `${site}/newsroom#page`, name: '뷰성형외과 뉴스룸', url: `${site}/newsroom`, inLanguage: 'ko', about: { '@id': `${fact.url}/#clinic` }, publisher: { '@type': 'Organization', name: SITE_NAME, url: site }, dateModified: news.generatedAt },
|
||||
{ '@type': 'ItemList', '@id': `${site}/newsroom#list`, name: '뷰성형외과 언론 보도 목록', numberOfItems: items.length, itemListOrder: 'https://schema.org/ItemListOrderDescending', itemListElement: items.slice(0, 200).map((i, idx) => ({ '@type': 'ListItem', position: idx + 1, url: i.url, name: i.title })) },
|
||||
];
|
||||
---
|
||||
<Base title="뉴스룸 · 뷰성형외과 언론 보도 링크 트리" description={`뷰성형외과가 배포한 보도자료와 원장 기고·인터뷰, 언론 언급 기사 ${items.length}건을 연도·주제별로 정리한 링크 모음. ${years[years.length - 1]}년부터 ${years[0]}년까지, 매체 ${outlets}곳.`} jsonLd={ld}>
|
||||
<section class="section dark" style="padding:3.5rem 0 3rem">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow" style="color:var(--purple-300)">Newsroom</div><h1 class="serif" style="font-size:2rem;color:#fff;display:inline-block;background:linear-gradient(to right,var(--purple-300),var(--blue-300));-webkit-background-clip:text;background-clip:text;color:transparent">Press Link Tree</h1><p class="sub">뷰성형외과가 배포한 보도자료와 원장 기고, 언론 언급 기사를 연도별로 모았습니다. 기사 본문은 싣지 않고 원문으로 연결합니다.</p></div>
|
||||
<div class="stats">
|
||||
<div class="stat"><b>{items.length.toLocaleString()}</b><span class="label">기사 링크</span><span class="desc">{years[years.length - 1]}년부터 {years[0]}년까지. 병원 언론보도 게시판 {items.filter((i) => i.origin === 'board').length}건 + 네이버 뉴스 수집 {items.filter((i) => i.origin === 'naver').length}건, 중복 제거.</span></div>
|
||||
<div class="stat"><b>{counts.release.toLocaleString()}</b><span class="label">보도자료</span><span class="desc">병원이 주체로 배포한 기사. 수상·도입·행사·협약.</span></div>
|
||||
<div class="stat"><b>{counts.column.toLocaleString()}</b><span class="label">원장 기고·인터뷰</span><span class="desc">뷰성형외과 원장 인용이 들어간 시술 설명 기사.</span></div>
|
||||
<div class="stat"><b>{outlets}</b><span class="label">매체</span><span class="desc">메디컬투데이·전민일보·아주경제·머니S·뉴시스 등.</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section light" style="padding-top:2.5rem">
|
||||
<div class="wrap-wide">
|
||||
<div class="filters" id="filters">
|
||||
<div class="fgroup"><span class="flabel">종류</span>
|
||||
<button class="chipbtn active" data-kind="all">전체</button>
|
||||
<button class="chipbtn" data-kind="release">보도자료 {counts.release}</button>
|
||||
<button class="chipbtn" data-kind="column">기고·인터뷰 {counts.column}</button>
|
||||
<button class="chipbtn" data-kind="mention">언론 언급 {counts.mention}</button>
|
||||
</div>
|
||||
<div class="fgroup"><span class="flabel">주제</span>
|
||||
<button class="chipbtn active" data-topic="all">전체</button>
|
||||
{topics.map((t) => <button class="chipbtn" data-topic={t}>{t} {topicCount[t]}</button>)}
|
||||
</div>
|
||||
<div class="fgroup"><span class="flabel">연도</span>
|
||||
<div class="yearnav">{years.map((y) => <a href={`#y${y}`}>{y}</a>)}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{years.map((y) => {
|
||||
const list = items.filter((i) => i.date.startsWith(y));
|
||||
return (
|
||||
<section class="year" id={`y${y}`} data-year={y}>
|
||||
<div class="yearhead"><h2 class="serif" style="margin-top:0">{y}</h2><span class="ycount">{list.length}건</span></div>
|
||||
<ol class="newslist">
|
||||
{list.map((i) => (
|
||||
<li class="newsitem" data-kind={i.kind} data-topic={i.topic}>
|
||||
<span class="ndate">{i.date}</span>
|
||||
<span class={`nkind ${i.kind}`}>{KIND[i.kind]}</span>
|
||||
<a class="ntitle" href={i.url} rel="noopener nofollow" target="_blank">{i.title}</a>
|
||||
<span class="noutlet">{i.outlet}</span>
|
||||
<span class="ntopic">{i.topic}</span>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
</section>
|
||||
);
|
||||
})}
|
||||
<p class="disclosure">수집 기준: 뷰성형외과 홈페이지 언론보도 게시판(2012~2021년 7월, 이후 갱신 없음)과 네이버 뉴스 검색(2026-09-04 기준, "뷰성형외과" 등 6개 질의). 규제·사건 등 제3자 보도는 이 링크 트리의 범위(병원 배포 기사)에 넣지 않았습니다. 기사 제목과 매체명만 표기하고 본문은 인용하지 않습니다. 원문 링크가 사라진 기사는 병원 게시판 사본으로 연결됩니다.</p>
|
||||
</div>
|
||||
</section>
|
||||
</Base>
|
||||
<style>
|
||||
.filters { display: grid; gap: 0.7rem; margin-bottom: 2rem; background: var(--primary-50); border-radius: 16px; padding: 1.1rem 1.25rem; }
|
||||
.fgroup { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
|
||||
.flabel { font-size: 0.78rem; font-weight: 700; color: var(--slate-500); letter-spacing: 0.06em; margin-right: 0.3rem; min-width: 2.4em; }
|
||||
.chipbtn { border: 1px solid var(--slate-200); background: #fff; color: var(--slate-600); border-radius: 999px; padding: 0.3rem 0.8rem; font-size: 0.82rem; font-weight: 600; cursor: pointer; font-family: inherit; }
|
||||
.chipbtn.active { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; border-color: transparent; }
|
||||
.yearnav { display: flex; flex-wrap: wrap; gap: 0.35rem; }
|
||||
.yearnav a { font-size: 0.82rem; font-weight: 600; color: var(--accent); padding: 0.2rem 0.5rem; border-radius: 6px; }
|
||||
.yearnav a:hover { background: var(--st-good-bg); text-decoration: none; }
|
||||
.year { margin: 0 0 2.2rem; scroll-margin-top: 90px; }
|
||||
.year.hidden { display: none; }
|
||||
.yearhead { display: flex; align-items: baseline; gap: 0.8rem; border-bottom: 2px solid var(--primary-900); padding-bottom: 0.4rem; margin-bottom: 0.6rem; }
|
||||
.yearhead h2 { margin: 0; font-size: 1.8rem; }
|
||||
.ycount { color: var(--slate-500); font-size: 0.85rem; font-weight: 600; }
|
||||
.newslist { list-style: none; padding: 0; margin: 0; }
|
||||
.newsitem { display: grid; grid-template-columns: 6.2em 6.4em 1fr auto auto; gap: 0.6rem 0.9rem; align-items: baseline; padding: 0.55rem 0.4rem; border-bottom: 1px solid var(--slate-100); font-size: 0.93rem; }
|
||||
.newsitem.hidden { display: none; }
|
||||
.newsitem:hover { background: var(--primary-50); }
|
||||
.ndate { color: var(--slate-500); font-variant-numeric: tabular-nums; font-size: 0.85rem; }
|
||||
.nkind { font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 0.1rem 0.55rem; text-align: center; border: 1px solid transparent; white-space: nowrap; }
|
||||
.nkind.release { background: var(--st-good-bg); color: var(--st-good-text); border-color: var(--st-good-border); }
|
||||
.nkind.column { background: var(--st-info-bg); color: var(--st-info-text); border-color: var(--st-info-border); }
|
||||
.nkind.mention { background: var(--slate-100); color: var(--slate-600); }
|
||||
.ntitle { color: var(--primary-900); font-weight: 500; }
|
||||
.noutlet { color: var(--slate-500); font-size: 0.83rem; white-space: nowrap; }
|
||||
.ntopic { color: var(--accent); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
|
||||
@media (max-width: 760px) { .newsitem { grid-template-columns: 1fr; gap: 0.15rem; } .noutlet, .ntopic { display: inline; margin-right: 0.6rem; } }
|
||||
</style>
|
||||
<script>
|
||||
const state = { kind: 'all', topic: 'all' };
|
||||
const items = Array.from(document.querySelectorAll<HTMLElement>('.newsitem'));
|
||||
const years = Array.from(document.querySelectorAll<HTMLElement>('.year'));
|
||||
function apply() {
|
||||
for (const el of items) {
|
||||
const ok = (state.kind === 'all' || el.dataset.kind === state.kind) && (state.topic === 'all' || el.dataset.topic === state.topic);
|
||||
el.classList.toggle('hidden', !ok);
|
||||
}
|
||||
for (const y of years) {
|
||||
const visible = y.querySelectorAll('.newsitem:not(.hidden)').length;
|
||||
y.classList.toggle('hidden', visible === 0);
|
||||
const c = y.querySelector('.ycount'); if (c) c.textContent = `${visible}건`;
|
||||
}
|
||||
}
|
||||
document.querySelectorAll<HTMLButtonElement>('.chipbtn').forEach((b) => b.addEventListener('click', () => {
|
||||
const key = b.dataset.kind ? 'kind' : 'topic'; const val = (b.dataset.kind ?? b.dataset.topic)!;
|
||||
(state as any)[key] = val;
|
||||
b.parentElement!.querySelectorAll('.chipbtn').forEach((x) => x.classList.toggle('active', x === b));
|
||||
apply();
|
||||
}));
|
||||
</script>
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
import { getCollection, render } from 'astro:content';
|
||||
import Base from '../../layouts/Base.astro';
|
||||
import Summary from '../../components/Summary.astro';
|
||||
import VideoLite from '../../components/VideoLite.astro';
|
||||
import RelatedVideos from '../../components/RelatedVideos.astro';
|
||||
import Gallery from '../../components/Gallery.astro';
|
||||
import Faq from '../../components/Faq.astro';
|
||||
import ReviewBox from '../../components/ReviewBox.astro';
|
||||
import Sources from '../../components/Sources.astro';
|
||||
import Disclosure from '../../components/Disclosure.astro';
|
||||
import FactBlock from '../../components/FactBlock.astro';
|
||||
import { CATEGORY_LABELS, clinicSchema, personSchema, physicianSchema, physician, supporter, fact } from '../../lib';
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const posts = await getCollection('posts');
|
||||
return posts.map((post) => ({ params: { id: post.id }, props: { post } }));
|
||||
}
|
||||
const { post } = Astro.props;
|
||||
const d = post.data;
|
||||
const { Content } = await render(post);
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const url = `${site}/posts/${post.id}`;
|
||||
const videos = d.videos.length ? d.videos : d.video ? [d.video] : [];
|
||||
const [mainVideo, ...moreVideos] = videos;
|
||||
const reviewer = d.reviewer ? physician(d.reviewer) : null;
|
||||
|
||||
const article: Record<string, any> = {
|
||||
'@type': ['Article', 'MedicalWebPage'],
|
||||
'@id': `${url}#article`,
|
||||
headline: d.title,
|
||||
description: d.description,
|
||||
inLanguage: 'ko',
|
||||
url,
|
||||
mainEntityOfPage: url,
|
||||
datePublished: d.datePublished,
|
||||
dateModified: d.dateModified,
|
||||
author: { '@id': `${site}/authors/${d.author}#person` },
|
||||
publisher: { '@type': 'Organization', name: '뷰 서포터즈', url: site },
|
||||
about: { '@id': `${fact.url}/#clinic` },
|
||||
image: [d.hero?.src, ...d.gallery.map((g) => g.src)].filter(Boolean).map((s) => `${site}${s}`),
|
||||
};
|
||||
if (!article.image.length) article.image = [`${site}/img/clinic/building-clean.jpg`];
|
||||
// 감수가 실제로 끝난 글에만 reviewedBy를 넣는다. 감수 예정 상태에서 넣으면 허위 표기다.
|
||||
if (reviewer && d.reviewStatus === 'reviewed') article.reviewedBy = { '@id': `${reviewer.url}#physician` };
|
||||
if (videos.length) article.video = videos.map((v) => ({ '@type': 'VideoObject', name: v.title, embedUrl: `https://www.youtube-nocookie.com/embed/${v.id}`, url: `https://www.youtube.com/watch?v=${v.id}`, thumbnailUrl: `https://i.ytimg.com/vi/${v.id}/hqdefault.jpg`, uploadDate: v.published ?? d.datePublished, description: v.title, publisher: { '@type': 'Organization', name: '뷰성형외과 VIEW Plastic Surgery (YouTube)' } }));
|
||||
|
||||
const graph: any[] = [article, personSchema(d.author, site), clinicSchema(site)];
|
||||
if (d.reviewer) graph.push(physicianSchema(d.reviewer));
|
||||
if (d.faq.length) graph.push({ '@type': 'FAQPage', '@id': `${url}#faq`, mainEntity: d.faq.map((f) => ({ '@type': 'Question', name: f.q, acceptedAnswer: { '@type': 'Answer', text: f.a } })) });
|
||||
---
|
||||
<Base title={d.title} description={d.description} jsonLd={graph} type="article" ogImage={d.hero?.src}>
|
||||
<article class="wrap" style="padding-bottom:4rem">
|
||||
<header class="article-head">
|
||||
<div class="eyebrow">{d.category} · {CATEGORY_LABELS[d.category]} · QB {d.qbIds.join(', ')}</div>
|
||||
<h1>{d.title}</h1>
|
||||
<div class="meta">
|
||||
<span>작성 {supporter(d.author).name}</span>
|
||||
{reviewer && <span>감수 {reviewer.name} {reviewer.title.split(' · ')[0]}{d.reviewStatus === 'reviewed' ? '' : ' (예정)'}</span>}
|
||||
<span>발행 {d.datePublished}</span>
|
||||
<span>갱신 {d.dateModified}</span>
|
||||
</div>
|
||||
</header>
|
||||
<Summary items={d.summary} />
|
||||
{d.hero && (
|
||||
<figure class="figure">
|
||||
<img src={d.hero.src} alt={d.hero.alt} loading="eager" />
|
||||
<figcaption>{d.hero.caption}</figcaption>
|
||||
</figure>
|
||||
)}
|
||||
{mainVideo && <VideoLite {...mainVideo} />}
|
||||
{reviewer && (
|
||||
<div class="doctor-strip">
|
||||
{reviewer.image && <img src={reviewer.image} alt={`${reviewer.name} ${reviewer.title}`} />}
|
||||
<div>
|
||||
<div class="name">{reviewer.name} <span style="font-weight:500;color:var(--slate-600)">{reviewer.title}</span></div>
|
||||
<p class="creds">{reviewer.credentials.slice(0, 3).join(' · ')} <a href={reviewer.url} rel="noopener">프로필</a></p>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<Content />
|
||||
<Gallery items={d.gallery} />
|
||||
<RelatedVideos items={moreVideos} title="이어서 볼 원장 영상" />
|
||||
<Faq items={d.faq} />
|
||||
<ReviewBox author={d.author} reviewer={d.reviewer} status={d.reviewStatus} dateModified={d.dateModified} />
|
||||
<Sources items={d.sources} />
|
||||
<FactBlock compact />
|
||||
<Disclosure />
|
||||
</article>
|
||||
</Base>
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Base from '../../layouts/Base.astro';
|
||||
import PostCard from '../../components/PostCard.astro';
|
||||
import { CATEGORY_LABELS, SITE_NAME } from '../../lib';
|
||||
const posts = (await getCollection('posts')).sort((a, b) => b.data.dateModified.localeCompare(a.data.dateModified));
|
||||
const cats = Object.keys(CATEGORY_LABELS);
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const ld = { '@type': 'CollectionPage', '@id': `${site}/posts#page`, name: '전체 글', url: `${site}/posts`, inLanguage: 'ko', publisher: { '@type': 'Organization', name: SITE_NAME, url: site }, hasPart: posts.map((p) => ({ '@type': 'Article', headline: p.data.title, url: `${site}/posts/${p.id}`, dateModified: p.data.dateModified })) };
|
||||
---
|
||||
<Base title="전체 글" description="뷰성형외과에 대해 사람들이 묻는 질문에 서포터즈가 먼저 답한 글 목록. 카테고리별로 정리했습니다." jsonLd={ld}>
|
||||
<div class="wrap-wide" style="padding-bottom:4rem">
|
||||
<header class="article-head"><div class="eyebrow">Archive</div><h1 class="serif">All Answers</h1><p style="color:var(--slate-600);margin-top:0.6rem">전체 글. 질문 하나가 글 하나이고, 질문은 INFINITH 환자 질문 뱅크 120문항에서 골랐습니다.</p></header>
|
||||
{cats.map((c) => {
|
||||
const list = posts.filter((p) => p.data.category === c);
|
||||
if (!list.length) return null;
|
||||
return (<section><div class="section-title" style="margin-top:2.4rem"><h2>{c}. {CATEGORY_LABELS[c]}</h2><span style="color:var(--slate-500);font-size:0.9rem">{list.length}편</span></div><div class="grid">{list.map((p) => <PostCard post={p} />)}</div></section>);
|
||||
})}
|
||||
</div>
|
||||
</Base>
|
||||
@@ -0,0 +1,10 @@
|
||||
import type { APIRoute } from 'astro';
|
||||
// 샘플: 전면 차단. 프로덕션(PUBLIC_INDEXABLE=true): 전면 허용 + AI 크롤러 명시 허용.
|
||||
const AI_BOTS = ['GPTBot', 'OAI-SearchBot', 'ChatGPT-User', 'PerplexityBot', 'ClaudeBot', 'Claude-SearchBot', 'Google-Extended', 'Applebot-Extended', 'Bingbot', 'Yeti', 'Googlebot'];
|
||||
export const GET: APIRoute = ({ site }) => {
|
||||
const indexable = import.meta.env.PUBLIC_INDEXABLE === 'true';
|
||||
const body = indexable
|
||||
? [...AI_BOTS.map((b) => `User-agent: ${b}\nAllow: /`), 'User-agent: *\nAllow: /', `Sitemap: ${site}sitemap.xml`].join('\n\n') + '\n'
|
||||
: `# 샘플 사이트. 색인 금지.\nUser-agent: *\nDisallow: /\n`;
|
||||
return new Response(body, { headers: { 'Content-Type': 'text/plain; charset=utf-8' } });
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
import type { APIRoute } from 'astro';
|
||||
import { getCollection } from 'astro:content';
|
||||
import authors from '../data/authors.json';
|
||||
export const GET: APIRoute = async ({ site }) => {
|
||||
const base = site!.toString().replace(/\/$/, '');
|
||||
const posts = await getCollection('posts');
|
||||
const today = new Date().toISOString().slice(0, 10);
|
||||
const urls = [
|
||||
{ loc: `${base}/`, lastmod: today },
|
||||
{ loc: `${base}/posts`, lastmod: today },
|
||||
{ loc: `${base}/clinic`, lastmod: today },
|
||||
{ loc: `${base}/newsroom`, lastmod: today },
|
||||
{ loc: `${base}/videos`, lastmod: today },
|
||||
{ loc: `${base}/about`, lastmod: today },
|
||||
...Object.keys(authors.supporters).map((id) => ({ loc: `${base}/authors/${id}`, lastmod: today })),
|
||||
...posts.map((p) => ({ loc: `${base}/posts/${p.id}`, lastmod: p.data.dateModified })),
|
||||
];
|
||||
const xml = `<?xml version="1.0" encoding="UTF-8"?>\n<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n${urls.map((u) => ` <url><loc>${u.loc}</loc><lastmod>${u.lastmod}</lastmod></url>`).join('\n')}\n</urlset>\n`;
|
||||
return new Response(xml, { headers: { 'Content-Type': 'application/xml; charset=utf-8' } });
|
||||
};
|
||||
@@ -0,0 +1,84 @@
|
||||
---
|
||||
import Base from '../layouts/Base.astro';
|
||||
import VideoLite from '../components/VideoLite.astro';
|
||||
import data from '../data/videos.json';
|
||||
import { SITE_NAME, fact } from '../lib';
|
||||
type V = { id: string; title: string; published: string; views: number; likes: number | null; comments: number | null; duration: number };
|
||||
const site = Astro.site!.toString().replace(/\/$/, '');
|
||||
const ch = data.channel;
|
||||
const fmt = (n: number) => n >= 10000 ? `${(n / 10000).toFixed(n >= 100000 ? 0 : 1)}만` : n.toLocaleString();
|
||||
const dur = (s: number) => s >= 3600 ? `${Math.floor(s / 3600)}:${String(Math.floor((s % 3600) / 60)).padStart(2, '0')}:${String(s % 60).padStart(2, '0')}` : `${Math.floor(s / 60)}:${String(s % 60).padStart(2, '0')}`;
|
||||
const shorts = (data.shortsInfo ?? []) as (V & { answer: string; qb?: string })[];
|
||||
const tabs: { key: string; label: string; desc: string; list: V[] }[] = [
|
||||
{ key: 'long', label: '롱폼 Top 10', desc: '쇼츠가 아닌 일반 영상 중 시술·안전을 설명하는 정보형만. 후기·리뷰·토크 성격 영상과 유튜브가 쇼츠로 분류한 영상은 제외했습니다', list: data.topLong as V[] },
|
||||
{ key: 'shorts', label: '정보형 쇼츠', desc: '60초 이하 쇼츠 중 질문에 답이 되는 영상만 골라, 서포터즈가 한 문단으로 답을 정리했습니다. 전후·후기 성격 쇼츠는 싣지 않습니다', list: shorts },
|
||||
{ key: 'all', label: '채널 인기 전체', desc: '길이와 성격을 가리지 않은 채널 전체 조회수 순위. 참고용', list: data.top as V[] },
|
||||
];
|
||||
const ld = [
|
||||
{ '@type': 'CollectionPage', '@id': `${site}/videos#page`, name: '뷰성형외과 유튜브 조회수 Top 10', url: `${site}/videos`, inLanguage: 'ko', about: { '@id': `${fact.url}/#clinic` }, publisher: { '@type': 'Organization', name: SITE_NAME, url: site }, dateModified: data.fetchedAt },
|
||||
{ '@type': 'ItemList', '@id': `${site}/videos#list`, name: '뷰성형외과 유튜브 조회수 상위 영상', itemListOrder: 'https://schema.org/ItemListOrderDescending', numberOfItems: data.top.length, itemListElement: (data.top as V[]).map((v, i) => ({ '@type': 'ListItem', position: i + 1, item: { '@type': 'VideoObject', name: v.title, url: `https://www.youtube.com/watch?v=${v.id}`, embedUrl: `https://www.youtube-nocookie.com/embed/${v.id}`, thumbnailUrl: `https://i.ytimg.com/vi/${v.id}/hqdefault.jpg`, uploadDate: v.published, duration: `PT${v.duration}S`, interactionStatistic: { '@type': 'InteractionCounter', interactionType: 'https://schema.org/WatchAction', userInteractionCount: v.views }, publisher: { '@type': 'Organization', name: ch.title, url: ch.url } } })) },
|
||||
];
|
||||
---
|
||||
<Base title="영상 · 뷰성형외과 유튜브 조회수 Top 10" description={`뷰성형외과 공식 유튜브(@ViewclinicKR, 영상 ${ch.videos.toLocaleString()}편, 누적 조회 ${fmt(ch.totalViews)}회)에서 조회수가 가장 높은 영상 10편. 전체·롱폼·쇼츠로 나눠 공식 플레이어로 재생합니다. ${data.fetchedAt} 집계.`} jsonLd={ld}>
|
||||
<section class="section dark" style="padding:3.5rem 0 3rem">
|
||||
<div class="wrap-wide">
|
||||
<div class="sec-head"><div class="eyebrow" style="color:var(--purple-300)">Videos</div><h1 class="serif" style="font-size:2rem;display:inline-block;background:linear-gradient(to right,var(--purple-300),var(--blue-300));-webkit-background-clip:text;background-clip:text;color:transparent">Most Watched</h1><p class="sub">뷰성형외과 공식 유튜브에서 가장 많이 본 설명 영상. 기본은 60초를 넘는 롱폼이며, 쇼츠는 질문에 답이 되는 것만 텍스트 답과 함께 싣습니다.</p></div>
|
||||
<div class="stats">
|
||||
<div class="stat"><b>{fmt(ch.totalViews)}</b><span class="label">누적 조회수</span><span class="desc">채널 전체 {ch.videos.toLocaleString()}편 합계. {data.fetchedAt} YouTube Data API 집계.</span></div>
|
||||
<div class="stat"><b>{ch.subscribers}</b><span class="label">구독자</span><span class="desc"><a href={ch.url} rel="noopener" style="color:var(--purple-300)">{ch.handle}</a></span></div>
|
||||
<div class="stat"><b>{fmt((data.top as V[])[0].views)}</b><span class="label">1위 영상 조회수</span><span class="desc">{(data.top as V[])[0].title}</span></div>
|
||||
<div class="stat"><b>{shorts.length}</b><span class="label">정보형 쇼츠</span><span class="desc">쇼츠 885편 중 질문에 답이 되는 영상만 골라 텍스트 답을 붙였습니다.</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="section light" style="padding-top:2.2rem">
|
||||
<div class="wrap-wide">
|
||||
<div class="vtabs" role="tablist">
|
||||
{tabs.map((t, i) => <button class={`chipbtn ${i === 0 ? 'active' : ''}`} role="tab" data-tab={t.key} aria-selected={i === 0}>{t.label}</button>)}
|
||||
</div>
|
||||
{tabs.map((t, i) => (
|
||||
<div class="vpanel" data-panel={t.key} hidden={i !== 0}>
|
||||
<p class="sub" style="color:var(--slate-600);margin:0.8rem 0 1.2rem">{t.desc}. 조회수는 {data.fetchedAt} 기준이며 유튜브에서 계속 바뀝니다.</p>
|
||||
<ol class="vlist">
|
||||
{t.list.map((v, idx) => (
|
||||
<li class="vitem">
|
||||
<div class="vrank serif">{idx + 1}</div>
|
||||
<div class="vmedia"><VideoLite id={v.id} title={v.title} published={v.published} compact /></div>
|
||||
<div class="vmeta">
|
||||
<div class="vstats"><b>{fmt(v.views)}회</b> 조회{v.likes != null && <> · 좋아요 {fmt(v.likes)}</>}{v.comments != null && <> · 댓글 {v.comments.toLocaleString()}</>}</div>
|
||||
<div class="vsub">{(v as any).isShort && <span class="nkind" style="background:var(--slate-100);color:var(--slate-600);font-size:0.7rem;font-weight:700;border-radius:999px;padding:0.05rem 0.5rem;margin-right:0.4rem">쇼츠</span>}{dur(v.duration)} · {v.published} 게시 · <a href={`https://www.youtube.com/watch?v=${v.id}`} rel="noopener" target="_blank">유튜브에서 보기</a></div>
|
||||
{(v as any).answer && <div class="vanswer"><span class="vq">서포터즈 답</span><p>{(v as any).answer}</p>{(v as any).qb && <span class="vqb">QB {(v as any).qb}</span>}</div>}
|
||||
</div>
|
||||
</li>
|
||||
))}
|
||||
</ol>
|
||||
</div>
|
||||
))}
|
||||
<p class="disclosure">영상은 뷰성형외과 공식 유튜브 채널의 공개 영상이며, 유튜브 공식 임베드 플레이어로 재생됩니다. 이 페이지는 영상을 복제하거나 저장하지 않습니다. 조회수·좋아요·댓글 수는 YouTube Data API 집계값입니다. 임베드가 허용되지 않은 영상은 목록에서 제외합니다(현재 0편).</p>
|
||||
</div>
|
||||
</section>
|
||||
</Base>
|
||||
<style>
|
||||
.vtabs { display: flex; flex-wrap: wrap; gap: 0.45rem; }
|
||||
.chipbtn { border: 1px solid var(--slate-200); background: #fff; color: var(--slate-600); border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.88rem; font-weight: 600; cursor: pointer; font-family: inherit; }
|
||||
.chipbtn.active { background: linear-gradient(to right, var(--grad-start), var(--grad-end)); color: #fff; border-color: transparent; }
|
||||
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
|
||||
.vitem { display: grid; grid-template-columns: 3.2rem 360px 1fr; gap: 1.1rem; align-items: start; background: #fff; border: 1px solid var(--slate-100); border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow); }
|
||||
.vrank { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; padding-top: 0.2rem; }
|
||||
.vmeta { padding-top: 0.2rem; }
|
||||
.vstats { font-size: 1rem; color: var(--primary-900); }
|
||||
.vstats b { font-size: 1.25rem; font-family: "Playfair Display", Georgia, serif; }
|
||||
.vsub { color: var(--slate-500); font-size: 0.86rem; margin-top: 0.3rem; }
|
||||
.vanswer { margin-top: 0.8rem; background: #F2F6FF; border: 1px solid #E3EAFB; border-radius: 12px; padding: 0.8rem 1rem; }
|
||||
.vanswer .vq { font-size: 0.72rem; font-weight: 700; color: var(--grad-start); letter-spacing: 0.06em; }
|
||||
.vanswer p { margin: 0.25rem 0 0; font-size: 0.93rem; color: var(--primary-900); }
|
||||
.vanswer .vqb { display: inline-block; margin-top: 0.4rem; font-size: 0.72rem; color: var(--accent); font-weight: 600; }
|
||||
.vmedia .yt figcaption span { display: none; }
|
||||
@media (max-width: 860px) { .vitem { grid-template-columns: 2.4rem 1fr; } .vmeta { grid-column: 2; } }
|
||||
</style>
|
||||
<script>
|
||||
document.querySelectorAll<HTMLButtonElement>('.vtabs .chipbtn').forEach((b) => b.addEventListener('click', () => {
|
||||
document.querySelectorAll('.vtabs .chipbtn').forEach((x) => { x.classList.toggle('active', x === b); x.setAttribute('aria-selected', String(x === b)); });
|
||||
document.querySelectorAll<HTMLElement>('.vpanel').forEach((p) => { p.hidden = p.dataset.panel !== b.dataset.tab; });
|
||||
}));
|
||||
</script>
|
||||
Reference in new issue
Block a user