feat: add clickable source links to all report sections
YouTubeAudit: handle links to youtube.com/@{handle} with ExternalLink icon
InstagramAudit: handle links to instagram.com/{handle} with ExternalLink icon
ClinicSnapshot: domain is now clickable link, phone is tel: link
OtherChannels: Google Maps generates search URL, Naver Blog links to
first blog post or search results (previously empty string)
transformReport: fills missing URL fields for Google Maps and Naver Blog
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
bb7b08e35c
commit
66b4826f55
4 files changed
+54
-12
No files matched your search
@@ -68,7 +68,19 @@ export default function YouTubeAudit({ data }: YouTubeAuditProps) {
|
||||
</div>
|
||||
<div>
|
||||
<p className="font-bold text-[#0A1128]">{data.channelName}</p>
|
||||
<p className="text-sm text-slate-500">{data.handle}</p>
|
||||
{data.handle ? (
|
||||
<a
|
||||
href={`https://www.youtube.com/${data.handle.startsWith('@') || data.handle.startsWith('UC') ? data.handle : `@${data.handle}`}`}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-sm text-[#6C5CE7] hover:underline inline-flex items-center gap-1"
|
||||
>
|
||||
{data.handle}
|
||||
<ExternalLink size={11} />
|
||||
</a>
|
||||
) : (
|
||||
<p className="text-sm text-slate-500">{data.handle}</p>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<p className="text-sm text-slate-600 mb-4">{data.channelDescription}</p>
|
||||
|
||||
Reference in new issue
Block a user