Skip to content

Commit

Permalink
Added donation source website
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanidev committed Nov 24, 2023
1 parent 5fa3716 commit 9280fa1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/ContactLinks.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ContactDetails } from '../types';
import GlobeIcon from './icons/GlobeIcon';
import InstagramIcon from './icons/InstagramIcon';
import PhoneIcon from './icons/PhoneIcon';
import WhatsAppIcon from './icons/WhatsAppIcon';
Expand All @@ -14,6 +15,17 @@ function ContactLinks({ details, className }: { details: ContactDetails; classNa
</a>
</li>
))}
{details.website && (
<li>
<a
href={details.website}
rel="noreferrer"
target="_blank"
className="inline-block rounded-md bg-palestine-green p-2">
<GlobeIcon className="h-3.5 w-3.5 text-white" />
</a>
</li>
)}
{details.whatsapp && (
<li>
<a
Expand Down

0 comments on commit 9280fa1

Please sign in to comment.