Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: added alt tags to platform icons
Browse files Browse the repository at this point in the history
  • Loading branch information
hasan-deriv committed Sep 20, 2023
1 parent 83e5465 commit bbf8806
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { main_item_active, main_item, description_grid_item } from './platforms-
import Flex from 'features/components/atoms/flex-box'
import Typography from 'features/components/atoms/typography'
import Link from 'features/components/atoms/link'
import { Localize } from 'components/localization'
import { Localize, localize } from 'components/localization'
import dclsx from 'features/utils/dclsx'
import Image from 'features/components/atoms/image'

Expand All @@ -21,7 +21,7 @@ const MainSliderItem = ({ item }: MainSliderItemProps) => {
[main_item_active]: swiperSlide.isActive,
})}
>
<Image src={item.icon} width={40} height={40} />
<Image src={item.icon} width={40} height={40} alt={localize(item.title)} />
<Typography.Heading as="h3" size="xxs">
<Localize translate_text={item.title} />
</Typography.Heading>
Expand Down

0 comments on commit bbf8806

Please sign in to comment.