Merge branch 'remove-pin' into 'main'
Remove redundant campaign location pin icons See merge request soapbox-pub/agora!39
This commit is contained in:
@@ -101,7 +101,6 @@ export function CampaignInlinePreview({ event }: { event: NostrEvent }) {
|
||||
)}
|
||||
{countryLabel && (
|
||||
<span className="inline-flex items-center gap-1.5">
|
||||
<MapPin className="size-3.5" />
|
||||
{countryLabel}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -2,7 +2,7 @@ import { useMemo } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { HandHeart, MapPin, ShieldCheck } from 'lucide-react';
|
||||
import { HandHeart, ShieldCheck } from 'lucide-react';
|
||||
|
||||
import { AuthorByline } from '@/components/AuthorByline';
|
||||
import { Card } from '@/components/ui/card';
|
||||
@@ -236,7 +236,6 @@ export function CampaignCard({ campaign, variant = 'compact', className, footerB
|
||||
<div className="absolute bottom-3 left-3 z-10 flex flex-wrap items-center gap-1.5 [text-shadow:0_1px_2px_rgba(0,0,0,0.6)]">
|
||||
{countryLabel && (
|
||||
<span className="inline-flex items-center gap-1.5 rounded-full bg-black/35 backdrop-blur-md px-2.5 py-1 text-[11px] font-medium text-white">
|
||||
<MapPin className="size-3.5" />
|
||||
{countryLabel}
|
||||
</span>
|
||||
)}
|
||||
|
||||
@@ -8,7 +8,6 @@ import type { NostrEvent } from '@nostrify/nostrify';
|
||||
import {
|
||||
ChevronLeft,
|
||||
HandHeart,
|
||||
MapPin,
|
||||
Pencil,
|
||||
Share2,
|
||||
ShieldCheck,
|
||||
@@ -968,7 +967,6 @@ function CampaignHeading({
|
||||
<div className="mt-3 flex flex-wrap items-center gap-x-5 gap-y-1.5 text-xs sm:text-sm font-medium text-muted-foreground">
|
||||
{countryLabel && (
|
||||
<span className="inline-flex items-center gap-1.5">
|
||||
<MapPin className="size-4" />
|
||||
{countryLabel}
|
||||
</span>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user