Show Share initials, a readable link, and a copy confirmation.

Filled avatars used white ink on yellow, the link field was a dimmed disabled input, and Copy failed silently when the clipboard API was denied.
This commit is contained in:
adilallo committed 2026-11-21 11:42:49 -07:00
1 parent 3a264ac2df
commit 0fe2624002
11 files changed
+132 -14

No files matched your search

+1 -4
View File
@@ -30,10 +30,7 @@ export async function generateMetadata({
const { shareSlug } = await params;
const resolved = await loadSharedRule(shareSlug);
if (!resolved) {
return {
title: messages.pages.ruleDetail.notFoundTitle,
description: "The requested CommunityRule could not be found.",
};
notFound();
}
const { rule } = resolved;
const description =