Skip to content

Commit eb45e13

Browse files
committed
Remove logo from Stack Companion
1 parent 92a39dd commit eb45e13

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/(overview)/globe.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export function GlobeSection({ countryData, totalUsers, children }: {countryData
182182
}
183183
const controls = current.controls();
184184
controls.maxDistance = 1000;
185-
controls.minDistance = 120;
185+
controls.minDistance = 400;
186186
controls.dampingFactor = 0.2;
187187
// even though rendering is resumed by default, we want to pause it after 200ms, so call resumeRender()
188188
resumeRender();
@@ -237,12 +237,12 @@ export function GlobeSection({ countryData, totalUsers, children }: {countryData
237237
return color;
238238
}}
239239
onHexPolygonHover={(d: any) => {
240-
resumeRender();
241-
if (d) {
242-
setHexSelectedCountry({ code: d.properties.ISO_A2_EH, name: d.properties.NAME });
243-
} else {
244-
setHexSelectedCountry(null);
245-
}
240+
resumeRender();
241+
if (d) {
242+
setHexSelectedCountry({ code: d.properties.ISO_A2_EH, name: d.properties.NAME });
243+
} else {
244+
setHexSelectedCountry(null);
245+
}
246246
}}
247247

248248
atmosphereColor='#CBD5E0'

apps/dashboard/src/components/stack-companion.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { BookOpen, HelpCircle, Lightbulb, TimerReset, X } from 'lucide-react';
77
import { useEffect, useRef, useState } from 'react';
88
import packageJson from '../../package.json';
99
import { FeedbackForm } from './feedback-form';
10-
import { Logo } from './logo';
1110
import { ChangelogWidget } from './stack-companion/changelog-widget';
1211
import { FeatureRequestBoard } from './stack-companion/feature-request-board';
1312

@@ -225,8 +224,8 @@ export function StackCompanion({ className, onExpandedChange }: StackCompanionPr
225224
{!isExpanded && (
226225
<div className="flex flex-col h-full w-12">
227226
{/* Header - Match navbar height */}
228-
<div className="flex items-center justify-center h-14 border-b">
229-
<Logo noLink width={16} height={16} />
227+
<div className="flex items-center justify-center h-14">
228+
{/* Nothing here for now */}
230229
</div>
231230

232231
{/* Navigation Items */}
@@ -289,8 +288,8 @@ export function StackCompanion({ className, onExpandedChange }: StackCompanionPr
289288
{/* Left side - Navigation */}
290289
<div className="flex flex-col h-full w-12 border-r">
291290
{/* Header - Match navbar height */}
292-
<div className="flex items-center justify-center h-14 border-b">
293-
<Logo noLink width={16} height={16} />
291+
<div className="flex items-center justify-center h-14">
292+
{/* Nothing here for now */}
294293
</div>
295294

296295
{/* Navigation Items */}

0 commit comments

Comments
 (0)