[dyad] Made keyword count more prominent - wrote 1 file(s)
This commit is contained in:
@@ -393,18 +393,20 @@ export function MetaForm() {
|
||||
typeof metaData.keywordCount === "number" && (
|
||||
<div>
|
||||
<h3 className="font-semibold text-card-foreground">
|
||||
Keyword: "{metaData.keyword}"
|
||||
Keyword Density
|
||||
</h3>
|
||||
<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.
|
||||
</p>
|
||||
<div className="text-foreground bg-muted p-3 rounded-md min-h-[40px] flex items-center">
|
||||
<span className="font-mono text-2xl font-bold">
|
||||
<div className="bg-primary/10 border border-primary/20 p-4 rounded-lg flex items-baseline gap-3">
|
||||
<span className="font-mono text-4xl font-bold text-primary">
|
||||
{metaData.keywordCount}
|
||||
</span>
|
||||
<span className="ml-2 text-muted-foreground">
|
||||
occurrences
|
||||
<span className="text-muted-foreground font-medium">
|
||||
{metaData.keywordCount === 1
|
||||
? "occurrence"
|
||||
: "occurrences"}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user