chore: variation to variant

pull/4053/head
Arik Chakma 1 year ago
parent 7457f8b008
commit 33c34f878e
  1. 2
      src/components/RoadCard/TallBadgeTab.tsx
  2. 10
      src/components/RoadCard/WideBadgeTab.tsx

@ -26,7 +26,7 @@ export function TallBadgeTab() {
<div className="sm:col-span-3 mt-6 sm:mt-0"> <div className="sm:col-span-3 mt-6 sm:mt-0">
<div> <div>
<span className="text-xs uppercase leading-none text-gray-400"> <span className="text-xs uppercase leading-none text-gray-400">
Variation Variant
</span> </span>
<div className="mt-2 flex items-center gap-2"> <div className="mt-2 flex items-center gap-2">

@ -21,12 +21,9 @@ export default function WideBadgeTab() {
return ( return (
<div className="flex flex-col gap-6"> <div className="flex flex-col gap-6">
<WideBadge badgeUrl={badgeUrl} />
<div>
<div> <div>
<span className="text-xs uppercase leading-none text-gray-400"> <span className="text-xs uppercase leading-none text-gray-400">
Variation Variant
</span> </span>
<div className="mt-2 flex items-center gap-2"> <div className="mt-2 flex items-center gap-2">
@ -50,7 +47,10 @@ export default function WideBadgeTab() {
</div> </div>
</div> </div>
<div className={`mt-4 flex flex-col gap-3 sm:flex-row`}> <WideBadge badgeUrl={badgeUrl} />
<div>
<div className={`flex flex-col gap-3 sm:flex-row`}>
<Editor title={'HTML'} text={textareaContent} /> <Editor title={'HTML'} text={textareaContent} />
<Editor title={'Markdown'} text={markdownSnippet} /> <Editor title={'Markdown'} text={markdownSnippet} />
</div> </div>

Loading…
Cancel
Save