Skip to content

Commit 4c0e81d

Browse files
Fix: Move integration status indicator
Move the integration status indicator to the "Target URL" section as requested.
1 parent a8c4e06 commit 4c0e81d

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

src/components/CampaignInfoCards.tsx

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,17 @@ export const CampaignInfoCards = ({ campaign }: CampaignInfoCardsProps) => {
7979
return (
8080
<div className="grid grid-cols-1 lg:grid-cols-12 gap-4">
8181
<div className="bg-slate-50 p-4 rounded-xl border border-slate-200 lg:col-span-6">
82-
<div className="flex items-center justify-between mb-2">
83-
<div className="flex items-center gap-2 text-blue-600">
84-
<ExternalLink className="h-4 w-4" />
85-
<span className="text-sm font-medium">Dashboard public</span>
86-
<Tooltip>
87-
<TooltipTrigger asChild>
88-
<HelpCircle className="h-3 w-3 text-blue-500/70 cursor-help" />
89-
</TooltipTrigger>
90-
<TooltipContent>
91-
<p className="text-xs">Partagez ce lien avec vos affiliés pour qu'ils puissent consulter leurs statistiques et accéder à leurs liens de tracking.</p>
92-
</TooltipContent>
93-
</Tooltip>
94-
</div>
95-
<IntegrationStatusIndicator campaign={campaign} />
82+
<div className="flex items-center gap-2 text-blue-600 mb-2">
83+
<ExternalLink className="h-4 w-4" />
84+
<span className="text-sm font-medium">Dashboard public</span>
85+
<Tooltip>
86+
<TooltipTrigger asChild>
87+
<HelpCircle className="h-3 w-3 text-blue-500/70 cursor-help" />
88+
</TooltipTrigger>
89+
<TooltipContent>
90+
<p className="text-xs">Partagez ce lien avec vos affiliés pour qu'ils puissent consulter leurs statistiques et accéder à leurs liens de tracking.</p>
91+
</TooltipContent>
92+
</Tooltip>
9693
</div>
9794
<div className="space-y-2">
9895
<div className="flex items-center gap-2">
@@ -122,9 +119,12 @@ export const CampaignInfoCards = ({ campaign }: CampaignInfoCardsProps) => {
122119
</div>
123120

124121
<div className="bg-slate-50 p-4 rounded-xl border border-slate-200 lg:col-span-6">
125-
<div className="flex items-center gap-2 text-blue-600 mb-2">
126-
<TrendingUp className="h-4 w-4" />
127-
<span className="text-sm font-medium">URL Cible</span>
122+
<div className="flex items-center justify-between mb-2">
123+
<div className="flex items-center gap-2 text-blue-600">
124+
<TrendingUp className="h-4 w-4" />
125+
<span className="text-sm font-medium">URL Cible</span>
126+
</div>
127+
<IntegrationStatusIndicator campaign={campaign} />
128128
</div>
129129
<p className="font-mono text-xs text-slate-600 truncate bg-white/70 px-2 py-1 rounded">
130130
{campaign.targetUrl}

0 commit comments

Comments
 (0)