From 681db5750d5e795a58f4b942b564dd3087950ce4 Mon Sep 17 00:00:00 2001 From: ani-kalpachka Date: Wed, 3 May 2023 20:06:48 +0300 Subject: [PATCH] Replace Rinkoff to KotaOne --- public/img/partners/kotaOne.svg | 15 ++ public/img/partners/rinkoff.svg | 27 --- src/common/routes.ts | 2 +- .../admin/partners/helpers/partnersData.ts | 168 +++++++++--------- 4 files changed, 100 insertions(+), 112 deletions(-) create mode 100644 public/img/partners/kotaOne.svg delete mode 100644 public/img/partners/rinkoff.svg diff --git a/public/img/partners/kotaOne.svg b/public/img/partners/kotaOne.svg new file mode 100644 index 000000000..946b31b57 --- /dev/null +++ b/public/img/partners/kotaOne.svg @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file diff --git a/public/img/partners/rinkoff.svg b/public/img/partners/rinkoff.svg deleted file mode 100644 index 3c8f7f94f..000000000 --- a/public/img/partners/rinkoff.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/common/routes.ts b/src/common/routes.ts index b7708ce30..0e0a01b33 100644 --- a/src/common/routes.ts +++ b/src/common/routes.ts @@ -36,7 +36,7 @@ export const socialUrls = { export const partnerUrls = { superHosting: 'https://www.superhosting.bg/', - rinkoff: 'https://www.linkedin.com/company/rinkoff/about/', + kotaOne: 'https://kota.one/', darik: 'https://dariknews.bg/', techPartners: [ 'https://softuni.bg/', diff --git a/src/components/admin/partners/helpers/partnersData.ts b/src/components/admin/partners/helpers/partnersData.ts index 516c0f846..53dd78b82 100644 --- a/src/components/admin/partners/helpers/partnersData.ts +++ b/src/components/admin/partners/helpers/partnersData.ts @@ -1,84 +1,84 @@ -import { partnerUrls } from 'common/routes' - -type Partners = { - title: string - name: string - image: string - website: string -} - -type TechAndMarketingPartners = { - title: string - items: string[] - websites: string[] -} - -type Organizations = { - name: string - website: string -} - -export const partners: Partners[] = [ - { - title: 'partners:sections.hosting', - name: 'superhosting', - image: '/img/partners/superhosting.svg', - website: partnerUrls.superHosting, - }, - { - title: 'partners:sections.video', - name: 'rinkoff', - image: '/img/partners/rinkoff.svg', - website: partnerUrls.rinkoff, - }, - { - title: 'partners:sections.media', - name: 'darik', - image: '/img/partners/darik.svg', - website: partnerUrls.darik, - }, -] - -export const techAndMarketingPartners: TechAndMarketingPartners[] = [ - { - title: 'partners:sections.tech', - items: ['softuni', 'mentormate', 'eightyEight'], - websites: partnerUrls.techPartners, - }, - { - title: 'partners:sections.marketing', - items: ['allChannels', 'brainDonors', 'crossRoads'], - websites: partnerUrls.marketingPartners, - }, -] - -export const organizations: Organizations[] = [ - { - name: 'pulsFoundation', - website: partnerUrls.puls, - }, - { - name: 'yanika', - website: partnerUrls.yanika, - }, - { - name: 'parakids', - website: partnerUrls.parakids, - }, - { - name: 'trotoara', - website: partnerUrls.trotoara, - }, - { - name: 'bear', - website: partnerUrls.bear, - }, - { - name: 'visuallyImpairedChildren', - website: partnerUrls.visuallyImpairedChildren, - }, - { - name: 'gorata', - website: partnerUrls.gorata, - }, -] +import { partnerUrls } from 'common/routes' + +type Partners = { + title: string + name: string + image: string + website: string +} + +type TechAndMarketingPartners = { + title: string + items: string[] + websites: string[] +} + +type Organizations = { + name: string + website: string +} + +export const partners: Partners[] = [ + { + title: 'partners:sections.hosting', + name: 'superhosting', + image: '/img/partners/superhosting.svg', + website: partnerUrls.superHosting, + }, + { + title: 'partners:sections.video', + name: 'kotaOne', + image: '/img/partners/kotaOne.svg', + website: partnerUrls.kotaOne, + }, + { + title: 'partners:sections.media', + name: 'darik', + image: '/img/partners/darik.svg', + website: partnerUrls.darik, + }, +] + +export const techAndMarketingPartners: TechAndMarketingPartners[] = [ + { + title: 'partners:sections.tech', + items: ['softuni', 'mentormate', 'eightyEight'], + websites: partnerUrls.techPartners, + }, + { + title: 'partners:sections.marketing', + items: ['allChannels', 'brainDonors', 'crossRoads'], + websites: partnerUrls.marketingPartners, + }, +] + +export const organizations: Organizations[] = [ + { + name: 'pulsFoundation', + website: partnerUrls.puls, + }, + { + name: 'yanika', + website: partnerUrls.yanika, + }, + { + name: 'parakids', + website: partnerUrls.parakids, + }, + { + name: 'trotoara', + website: partnerUrls.trotoara, + }, + { + name: 'bear', + website: partnerUrls.bear, + }, + { + name: 'visuallyImpairedChildren', + website: partnerUrls.visuallyImpairedChildren, + }, + { + name: 'gorata', + website: partnerUrls.gorata, + }, +]