[dyad] Made keyword count more prominent - wrote 1 file(s)

This commit is contained in:
[dyad]
2026-01-20 14:41:58 +01:00
parent d2360a7e21
commit c2d217b7d6

View File

@@ -393,18 +393,20 @@ export function MetaForm() {
typeof metaData.keywordCount === "number" && ( typeof metaData.keywordCount === "number" && (
<div> <div>
<h3 className="font-semibold text-card-foreground"> <h3 className="font-semibold text-card-foreground">
Keyword: "{metaData.keyword}" Keyword Density
</h3> </h3>
<p className="text-sm text-muted-foreground mt-1 mb-2"> <p className="text-sm text-muted-foreground mt-1 mb-2">
The number of times this keyword appears on the The keyword "{metaData.keyword}" appears on the
page. page.
</p> </p>
<div className="text-foreground bg-muted p-3 rounded-md min-h-[40px] flex items-center"> <div className="bg-primary/10 border border-primary/20 p-4 rounded-lg flex items-baseline gap-3">
<span className="font-mono text-2xl font-bold"> <span className="font-mono text-4xl font-bold text-primary">
{metaData.keywordCount} {metaData.keywordCount}
</span> </span>
<span className="ml-2 text-muted-foreground"> <span className="text-muted-foreground font-medium">
occurrences {metaData.keywordCount === 1
? "occurrence"
: "occurrences"}
</span> </span>
</div> </div>
</div> </div>