Skip to content

Commit

Permalink
Update tech partners
Browse files Browse the repository at this point in the history
  • Loading branch information
ani-kalpachka committed Mar 16, 2024
1 parent fd5b399 commit 7476ea6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 19 deletions.
1 change: 1 addition & 0 deletions public/img/partners/estProduction.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/img/partners/irisSolutions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 4 additions & 7 deletions src/common/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down
4 changes: 2 additions & 2 deletions src/components/admin/partners/PartnersContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down Expand Up @@ -34,7 +34,7 @@ const PartnersContent = () => {
</StyledGrid>
))}

{mediaTechMarketingPartners.map((el) => (
{mainPartners.map((el) => (
<Fragment key={el.title}>
<Grid item xs={12} paddingTop={8}>
<SectionTitle>{t(el.title)}</SectionTitle>
Expand Down
19 changes: 9 additions & 10 deletions src/components/admin/partners/helpers/partnersData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Partners = {
website: string
}

type TechMarketingMediaPartners = {
type MainPartners = {
title: string
items: string[]
websites: string[]
Expand All @@ -25,30 +25,29 @@ 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,
},
{
title: 'partners:sections.marketing',
items: ['crossRoads'],
websites: partnerUrls.marketingPartners,
},
{
title: 'partners:sections.video',
items: ['kotaOne', 'estProduction'],
websites: partnerUrls.videoPartners,
},
]

export const organizations: Organizations[] = [
Expand Down

0 comments on commit 7476ea6

Please sign in to comment.