style: remove PartyPopper icon from follow pack components, use Users icon consistently
Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { useMemo } from 'react';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { nip19 } from 'nostr-tools';
|
||||
import { Users, PartyPopper } from 'lucide-react';
|
||||
import { Users } from 'lucide-react';
|
||||
import { Avatar, AvatarImage, AvatarFallback } from '@/components/ui/avatar';
|
||||
import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { useAddrEvent, type AddrCoords } from '@/hooks/useEvent';
|
||||
@@ -190,7 +190,7 @@ function EmbeddedNaddrCard({ event, className }: { event: NostrEvent; className?
|
||||
{isFollowPack && memberCount > 0 && (
|
||||
<div className="flex items-center gap-2 pt-0.5">
|
||||
<span className="inline-flex items-center gap-1 text-[11px] font-medium text-primary bg-primary/10 px-2 py-0.5 rounded-full">
|
||||
{isStarterPack ? <PartyPopper className="size-3" /> : <Users className="size-3" />}
|
||||
<Users className="size-3" />
|
||||
{isStarterPack ? 'Starter Pack' : 'Follow Set'}
|
||||
</span>
|
||||
<span className="text-xs text-muted-foreground flex items-center gap-1">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useMemo, useState, useCallback } from 'react';
|
||||
import { Link, useNavigate } from 'react-router-dom';
|
||||
import { ArrowLeft, Users, UserPlus, Check, Loader2, Copy, PartyPopper } from 'lucide-react';
|
||||
import { ArrowLeft, Users, UserPlus, Check, Loader2, Copy } from 'lucide-react';
|
||||
import { nip19 } from 'nostr-tools';
|
||||
import { useSeoMeta } from '@unhead/react';
|
||||
import type { NostrEvent, NostrMetadata } from '@nostrify/nostrify';
|
||||
@@ -85,7 +85,7 @@ function FollowPackShell({ children }: { children: React.ReactNode }) {
|
||||
<ArrowLeft className="size-5" />
|
||||
</button>
|
||||
<div className="flex items-center gap-2">
|
||||
<PartyPopper className="size-5 text-primary" />
|
||||
<Users className="size-5 text-primary" />
|
||||
<h1 className="text-xl font-bold">Follow Pack</h1>
|
||||
</div>
|
||||
</div>
|
||||
@@ -238,7 +238,7 @@ function FollowPackContent({ event }: { event: NostrEvent }) {
|
||||
</div>
|
||||
|
||||
<Badge variant="secondary" className="shrink-0 gap-1">
|
||||
{isStarterPack ? <PartyPopper className="size-3" /> : <Users className="size-3" />}
|
||||
<Users className="size-3" />
|
||||
{isStarterPack ? 'Starter Pack' : 'Follow Set'}
|
||||
</Badge>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user