From 7476ea6e11eacdc1c26541bfb5d5bd0e0f7cda34 Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Sat, 16 Mar 2024 18:10:59 +0200 Subject: [PATCH] Update tech partners --- public/img/partners/estProduction.svg | 1 + public/img/partners/irisSolutions.svg | 1 + src/common/routes.ts | 11 ++++------- .../admin/partners/PartnersContent.tsx | 4 ++-- .../admin/partners/helpers/partnersData.ts | 19 +++++++++---------- 5 files changed, 17 insertions(+), 19 deletions(-) create mode 100644 public/img/partners/estProduction.svg create mode 100644 public/img/partners/irisSolutions.svg diff --git a/public/img/partners/estProduction.svg b/public/img/partners/estProduction.svg new file mode 100644 index 000000000..34dd8d10b --- /dev/null +++ b/public/img/partners/estProduction.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/partners/irisSolutions.svg b/public/img/partners/irisSolutions.svg new file mode 100644 index 000000000..315adb93b --- /dev/null +++ b/public/img/partners/irisSolutions.svg @@ -0,0 +1 @@ +Asset 4 \ No newline at end of file diff --git a/src/common/routes.ts b/src/common/routes.ts index b95f9f168..7757e1211 100644 --- a/src/common/routes.ts +++ b/src/common/routes.ts @@ -43,18 +43,15 @@ export const partnerUrls = { superHosting: 'https://www.superhosting.bg/', kotaOne: 'https://kota.one/', darik: 'https://dariknews.bg/', - mediaPartners: [ - 'https://dariknews.bg/', - 'https://tv1.bg/', - ], + mediaPartners: ['https://dariknews.bg/', 'https://tv1.bg/', 'https://ideacomm.bg'], techPartners: [ 'https://softuni.bg/', 'https://mentormate.com/', 'https://www.88studiodesign.com/', + 'https://www.irisbgsf.com/', ], - marketingPartners: [ - 'https://crossroadsbulgaria.com/', - ], + marketingPartners: ['https://crossroadsbulgaria.com/'], + videoPartners: ['https://kota.one/', 'https://estproduction.com/'], puls: 'https://pulsfoundation.org/bg/', yanika: 'https://www.yanikabg.com/', parakids: 'https://parakids.org/', diff --git a/src/components/admin/partners/PartnersContent.tsx b/src/components/admin/partners/PartnersContent.tsx index 197241d04..ba284bdab 100644 --- a/src/components/admin/partners/PartnersContent.tsx +++ b/src/components/admin/partners/PartnersContent.tsx @@ -4,7 +4,7 @@ import ExternalLink from 'components/common/ExternalLink' import { Fragment } from 'react' import { useTranslation } from 'next-i18next' import useMobile from '../../../common/hooks/useMobile' -import { organizations, partners, mediaTechMarketingPartners } from './helpers/partnersData' +import { organizations, partners, mainPartners } from './helpers/partnersData' import { SectionTitle, StyledGrid } from './Partners.styled' import PartnersSlider from './PartnersSlider' @@ -34,7 +34,7 @@ const PartnersContent = () => { ))} - {mediaTechMarketingPartners.map((el) => ( + {mainPartners.map((el) => ( {t(el.title)} diff --git a/src/components/admin/partners/helpers/partnersData.ts b/src/components/admin/partners/helpers/partnersData.ts index ab6cac903..e03f6b613 100644 --- a/src/components/admin/partners/helpers/partnersData.ts +++ b/src/components/admin/partners/helpers/partnersData.ts @@ -7,7 +7,7 @@ type Partners = { website: string } -type TechMarketingMediaPartners = { +type MainPartners = { title: string items: string[] websites: string[] @@ -25,23 +25,17 @@ export const partners: Partners[] = [ image: '/img/partners/superhosting.svg', website: partnerUrls.superHosting, }, - { - title: 'partners:sections.video', - name: 'kotaOne', - image: '/img/partners/kotaOne.svg', - website: partnerUrls.kotaOne, - }, ] -export const mediaTechMarketingPartners: TechMarketingMediaPartners[] = [ +export const mainPartners: MainPartners[] = [ { title: 'partners:sections.media', - items: ['darik', 'tv1'], + items: ['darik', 'tv1', 'ideaComm'], websites: partnerUrls.mediaPartners, }, { title: 'partners:sections.tech', - items: ['softuni', 'mentormate', 'eightyEight'], + items: ['softuni', 'mentormate', 'eightyEight', 'irisSolutions'], websites: partnerUrls.techPartners, }, { @@ -49,6 +43,11 @@ export const mediaTechMarketingPartners: TechMarketingMediaPartners[] = [ items: ['crossRoads'], websites: partnerUrls.marketingPartners, }, + { + title: 'partners:sections.video', + items: ['kotaOne', 'estProduction'], + websites: partnerUrls.videoPartners, + }, ] export const organizations: Organizations[] = [