fix: react-doctor a11y improvements (skeletons, icons, social links, toggles)
This commit is contained in:
@@ -398,7 +398,7 @@ export default function BillingClientPage({ overview }: Props) {
|
||||
<td key={tier} className="py-3 px-4 text-center">
|
||||
{typeof t[tier] === "boolean" ? (
|
||||
t[tier] ? (
|
||||
<svg className="w-5 h-5 text-[var(--admin-success)] mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
||||
<svg aria-hidden="true" className="w-5 h-5 text-[var(--admin-success)] mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 12.75l6 6 9-13.5" />
|
||||
</svg>
|
||||
) : (
|
||||
@@ -420,7 +420,7 @@ export default function BillingClientPage({ overview }: Props) {
|
||||
<td key={tier} className="pt-4 px-4 text-center">
|
||||
{isCurrent ? (
|
||||
<span className="inline-flex items-center gap-1.5 rounded-lg bg-[var(--admin-success)]/10 px-3 py-1.5 text-sm font-medium text-[var(--admin-success)]">
|
||||
<svg className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
||||
<svg aria-hidden="true" className="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" strokeWidth={2}>
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M4.5 12.75l6 6 9-13.5" />
|
||||
</svg>
|
||||
Current
|
||||
|
||||
Reference in New Issue
Block a user