[dyad] Added character count to length indicator - wrote 2 file(s)
This commit is contained in:
@@ -72,11 +72,11 @@ export function MetaForm() {
|
||||
<CardContent className="space-y-4">
|
||||
<div>
|
||||
<div className="flex items-center gap-2 mb-1">
|
||||
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
|
||||
<LengthIndicator
|
||||
length={metaData.title.length}
|
||||
type="title"
|
||||
/>
|
||||
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
|
||||
</div>
|
||||
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
||||
{metaData.title || "Not found"}
|
||||
@@ -84,11 +84,11 @@ export function MetaForm() {
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-center gap-2 mb-1">
|
||||
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
|
||||
<LengthIndicator
|
||||
length={metaData.description.length}
|
||||
type="description"
|
||||
/>
|
||||
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
|
||||
</div>
|
||||
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
||||
{metaData.description || "Not found"}
|
||||
|
||||
Reference in New Issue
Block a user