Skip to content

Commit

Permalink
Added associations' logos
Browse files Browse the repository at this point in the history
  • Loading branch information
yamanidev committed Nov 24, 2023
1 parent c264b3f commit 2089958
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/associations/elbarakah-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions public/images/associations/ihh-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/associations/mersal-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/associations/oulama-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/associations/ummetvakfi-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions src/components/DonationSourceCard.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { donationSources } from '../data/donationSources';
import type { DonationSource } from '../types';
import ContactLinks from './ContactLinks';
import PaymentInfoItem from './PaymentInfoItem';
Expand Down Expand Up @@ -28,9 +29,11 @@ function DonationSourceCard({ details, className }: Props) {
<div className={`mt-5 ${details.local ? 'pb-3' : 'sm:pb-3'}`}>
<div className="flex w-full flex-col items-center gap-3 px-4 sm:flex-row sm:items-stretch">
<div className="shrink-0">
<div className="mx-auto flex h-28 w-28 items-center justify-center rounded-md bg-black sm:mx-0">
<p className="font-semibold text-white">LOGO</p>
</div>
<img
src={details.logo.src}
alt={details.logo.alt}
className="mx-auto flex h-28 w-28 items-center justify-center object-contain sm:mx-0"
/>
<h2 className="mt-5 text-center text-xl sm:hidden">{details.name}</h2>
</div>
<ul className="flex w-full flex-col gap-1.5 text-xs font-light text-[#817A99]">
Expand Down
24 changes: 24 additions & 0 deletions src/data/donationSources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ export const donationSources: DonationSource[] = [
name: 'جمعية البركة الجزائرية',
local: true,
wilaya: 'الجزائر العاصمة',
logo: {
src: '/images/associations/elbarakah-logo.png',
alt: 'El Barakah association logo'
},
paymentMethods: [
{
label: 'CCP',
Expand All @@ -30,6 +34,10 @@ export const donationSources: DonationSource[] = [
name: 'جمعية العلماء المسلمين',
local: true,
wilaya: 'الجزائر العاصمة',
logo: {
src: '/images/associations/oulama-logo.png',
alt: 'Association of the muslim scolars logo'
},
paymentMethods: [
{
label: 'BNA',
Expand All @@ -50,6 +58,10 @@ export const donationSources: DonationSource[] = [
name: 'هيئة الإغاثة الإنسانية iHH',
local: false,
country: 'تركيا',
logo: {
src: '/images/associations/ihh-logo.svg',
alt: 'IHH Humanitarian Relief Foundation logo'
},
donationLink: 'https://ihh.org.tr/en/donate/palestine-gaza',
contactDetails: {
website: 'https://ihh.org.tr/ar',
Expand All @@ -66,6 +78,10 @@ export const donationSources: DonationSource[] = [
name: 'وقف الأمة',
local: false,
country: 'تركيا',
logo: {
src: '/images/associations/ummetvakfi-logo.png',
alt: 'Ummet waqf association logo'
},
donationLink:
'https://ummetvakfi.org/ar//proje/%D8%AD%D9%85%D9%84%D8%A9%20%D8%A5%D8%BA%D8%A7%D8%AB%D9%8A%D8%A9%20%D8%B9%D8%A7%D8%AC%D9%84%D8%A9-%D9%81%D9%84%D8%B3%D8%B7%D9%8A%D9%86/304',
contactDetails: {
Expand All @@ -83,6 +99,10 @@ export const donationSources: DonationSource[] = [
name: 'حملة إنصروا غزة - دار القرآن الكريم والسنة',
local: false,
country: 'تركيا',
logo: {
src: '/images/associations/dar-quraan-sunnah-logo.png',
alt: 'Dar Quraan and Sunnah association logo'
},
donationLink: 'https://dkvsturkiye.ensany.com/campaign/6442',
contactDetails: {
website: 'https://dkvsturkiye.ensany.com/',
Expand All @@ -100,6 +120,10 @@ export const donationSources: DonationSource[] = [
name: 'مؤسسة مرسال للأعمال الخيرية و التنموية',
local: false,
country: 'مصر',
logo: {
src: '/images/associations/mersal-logo.png',
alt: 'Mersal foundation logo'
},
donationLink: 'https://mersal-ngo.org/Donation',
contactDetails: {
website: 'https://mersal-ngo.org/',
Expand Down

0 comments on commit 2089958

Please sign in to comment.