feat(ui) : improve guide navigation, signup, and commissions
This commit is contained in:
@@ -30,14 +30,14 @@ export function AutosaveStatus({
|
||||
return (
|
||||
<Badge variant="secondary">
|
||||
<Spinner data-icon="inline-start" />
|
||||
Saving…
|
||||
กำลังบันทึก…
|
||||
</Badge>
|
||||
);
|
||||
if (state === "unsaved")
|
||||
return (
|
||||
<Badge variant="outline">
|
||||
<ClockIcon data-icon="inline-start" />
|
||||
Waiting to save…
|
||||
รอบันทึก…
|
||||
</Badge>
|
||||
);
|
||||
if (state === "incomplete")
|
||||
@@ -123,11 +123,11 @@ export function AutosaveStatus({
|
||||
<div className="flex items-center gap-2">
|
||||
<Badge variant="destructive">
|
||||
<AlertCircleIcon data-icon="inline-start" />
|
||||
Autosave failed
|
||||
บันทึกอัตโนมัติไม่สำเร็จ
|
||||
</Badge>
|
||||
{onSave ? (
|
||||
<Button type="button" variant="outline" size="sm" onClick={onSave}>
|
||||
Save now
|
||||
ลองบันทึกอีกครั้ง
|
||||
</Button>
|
||||
) : null}
|
||||
</div>
|
||||
@@ -135,7 +135,7 @@ export function AutosaveStatus({
|
||||
return (
|
||||
<Badge variant="secondary">
|
||||
<CheckIcon data-icon="inline-start" />
|
||||
Saved
|
||||
บันทึกแล้ว
|
||||
</Badge>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user