Reverted all changes back to version 4c06ed78cf
This commit is contained in:
@@ -49,12 +49,7 @@ export function LengthIndicator({ length, type }: LengthIndicatorProps) {
|
|||||||
<TooltipProvider>
|
<TooltipProvider>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<div className="flex items-center gap-2 cursor-default">
|
<div className={cn("h-3 w-3 rounded-full", colorClass)} />
|
||||||
<div className={cn("h-3 w-3 rounded-full", colorClass)} />
|
|
||||||
<span className="text-sm font-medium text-muted-foreground w-8 text-right">
|
|
||||||
{length}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</TooltipTrigger>
|
</TooltipTrigger>
|
||||||
<TooltipContent>
|
<TooltipContent>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@@ -72,11 +72,11 @@ export function MetaForm() {
|
|||||||
<CardContent className="space-y-4">
|
<CardContent className="space-y-4">
|
||||||
<div>
|
<div>
|
||||||
<div className="flex items-center gap-2 mb-1">
|
<div className="flex items-center gap-2 mb-1">
|
||||||
|
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
|
||||||
<LengthIndicator
|
<LengthIndicator
|
||||||
length={metaData.title.length}
|
length={metaData.title.length}
|
||||||
type="title"
|
type="title"
|
||||||
/>
|
/>
|
||||||
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
|
|
||||||
</div>
|
</div>
|
||||||
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
||||||
{metaData.title || "Not found"}
|
{metaData.title || "Not found"}
|
||||||
@@ -84,11 +84,11 @@ export function MetaForm() {
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div className="flex items-center gap-2 mb-1">
|
<div className="flex items-center gap-2 mb-1">
|
||||||
|
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
|
||||||
<LengthIndicator
|
<LengthIndicator
|
||||||
length={metaData.description.length}
|
length={metaData.description.length}
|
||||||
type="description"
|
type="description"
|
||||||
/>
|
/>
|
||||||
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
|
|
||||||
</div>
|
</div>
|
||||||
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
<p className="text-muted-foreground bg-muted p-3 rounded-md">
|
||||||
{metaData.description || "Not found"}
|
{metaData.description || "Not found"}
|
||||||
|
|||||||
Reference in New Issue
Block a user