ui: remove source attribution + publisher rights notice

This commit is contained in:
2026-08-16 05:01:26 -04:00
parent b79c439c7f
commit b5a25c1232
4 changed files with 3 additions and 11 deletions
-2
View File
@@ -59,7 +59,6 @@ export async function generateMetadata({
images: a.image
? [{ url: a.image, width: 1200, height: 630, alt: title }]
: [{ url: '/og-image.png', width: 1200, height: 630, alt: 'MapleBrief' }],
authors: [a.siteName],
},
twitter: {
card: 'summary_large_image',
@@ -94,7 +93,6 @@ export default async function ArticlePage({
<span className="rounded bg-maple-600/10 px-2 py-0.5 text-xs font-bold uppercase tracking-wide text-maple-700">
{SECTIONS.find((s) => s.slug === a.category)?.label ?? 'Briefing'}
</span>
<span className="text-ink-500">via {a.siteName}</span>
{a.publishedAt && (
<span className="text-ink-400">· {formatFull(a.publishedAt.toISOString())}</span>
)}
+1 -4
View File
@@ -21,12 +21,9 @@ export default function ArticleCard({ card }: { card: Card }) {
/>
) : (
<span className="flex h-full items-center justify-center font-display text-4xl text-ink-300">
{card.siteName.charAt(0)}
</span>
)}
<span className="absolute left-3 top-3 rounded bg-ink-950/80 px-2 py-0.5 text-[11px] font-semibold uppercase tracking-wide text-white">
{card.siteName}
</span>
</Link>
<div className="flex flex-1 flex-col p-4">
<h3 className="font-display text-lg font-bold leading-snug text-ink-900 group-hover:text-maple-700">
+1 -2
View File
@@ -24,8 +24,7 @@ export default function RelatedArticles({ items }: { items: ArticleCard[] }) {
{a.headline ?? a.title}
</Link>
<span className="mt-1 block text-xs text-ink-500">
{a.siteName}
{a.publishedAt ? ` · ${formatRelativeTime(a.publishedAt)}` : ''}
{a.publishedAt ? formatRelativeTime(a.publishedAt) : ''}
</span>
</div>
</li>
+1 -3
View File
@@ -10,8 +10,7 @@ export default function Footer() {
<p className="font-display text-lg font-bold text-white">{env.siteName}</p>
<p className="mt-2 text-sm leading-relaxed text-ink-400">
An independent digest of Canadian headlines. Every brief is a
rewritten, in-depth version of the reported story, with full
attribution.
rewritten, in-depth version of the story.
</p>
</div>
<nav aria-label="Footer" className="text-sm">
@@ -39,7 +38,6 @@ export default function Footer() {
<div className="border-t border-ink-800/70">
<div className="mx-auto max-w-6xl px-4 py-4 text-xs text-ink-500 sm:px-6">
© {year} {env.siteName}. Briefs compiled from public news feeds.
All rights to original content remain with the respective publishers.
</div>
</div>
</footer>