Skip to content

Commit b99e9da

Browse files
committed
feat: support button
1 parent a5052d5 commit b99e9da

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

src/components/Navbar.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ShieldX,
1111
ChevronDown,
1212
ChevronUp,
13+
HelpCircle
1314
} from 'lucide-react';
1415
import { useState, useEffect } from 'react';
1516
import { useNotifications } from '../hooks/useNotifications';
@@ -347,6 +348,28 @@ export default function Navbar({
347348

348349
{sessionId && accessId && (
349350
<div className="flex-1 flex justify-center items-center space-x-3">
351+
<div className="relative hidden md:block">
352+
<a
353+
href="https://cephie.app/discord"
354+
target="_blank"
355+
rel="noopener noreferrer"
356+
className="inline-flex items-center justify-center font-medium focus:outline-none bg-yellow-600 hover:bg-yellow-700 text-white shadow-lg hover:shadow-xl border-2 border-yellow-600 rounded-full px-4 py-2 text-sm relative overflow-hidden transition-all duration-300"
357+
>
358+
<div className="flex items-center space-x-2 transition-transform duration-300">
359+
{isCompact ? (
360+
<HelpCircle
361+
className="h-4 w-4"
362+
aria-label="Support"
363+
/>
364+
) : (
365+
<>
366+
<HelpCircle className="h-4 w-4" />
367+
<span className="font-medium">Support</span>
368+
</>
369+
)}
370+
</div>
371+
</a>
372+
</div>
350373
<span
351374
id="utc-time"
352375
className="text-white font-mono text-sm px-3 py-1.5 rounded-lg hidden sm:inline"

0 commit comments

Comments
 (0)