Skip to content

Commit

Permalink
Merge branch 'master' into enhancement-149-change-BrandBlock-accordin…
Browse files Browse the repository at this point in the history
…g-to-fsd
  • Loading branch information
Sibisov-Artem authored Jan 16, 2024
2 parents 970143e + 73a1210 commit 31bad22
Show file tree
Hide file tree
Showing 73 changed files with 1,930 additions and 517 deletions.
5 changes: 5 additions & 0 deletions src/assets/icons/IconLeftArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/assets/icons/IconRightArrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/icons/dots.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 0 additions & 87 deletions src/components/CardReview/CardReview.module.scss

This file was deleted.

85 changes: 0 additions & 85 deletions src/components/Footer/Footer.tsx

This file was deleted.

59 changes: 0 additions & 59 deletions src/components/ReviewsBlock/ReviewsBlock.module.scss

This file was deleted.

57 changes: 0 additions & 57 deletions src/components/SearchItem/search-item.module.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/Subscribe/Subscribe.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import styles from './Subscribe.module.scss'
import imgSubs from '@/assets/images/img-subsc-small.png'
import SubscribeForm from '../SubscribeForm/SubscribeForm'
import SubscribeForm from '../../features/SubscribeForm/SubscribeForm'

const Subscribe = () => {
const onSubmitHandler = () => {}
Expand Down
15 changes: 11 additions & 4 deletions src/components/header/header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { coreBaseData } from '@/mockData/coreBaseData'
import { useMemo } from 'react'
import classNames from 'classnames'
import Logo from '../logo/Logo'
import Search from '../search/search'
import Logo from '../../shared/ui/logo/Logo'
import ArrowIcon from '@/assets/icons/arrow.svg'
import LightningIcon from '@/assets/images/header/lightning.svg'
import ContextMenuElement from '../ContextMenuElement/ContextMenuElement'
Expand All @@ -15,6 +15,7 @@ import { CatalogLinksId } from '@/shared/config/catalogLinks/catalogLinks'
import Link from '@/shared/ui/Link/Link'
import IconCategories from '@/assets/icons/IconCategories.svg'
import styles from './header.module.scss'
import SearchProduct from '@/features/SearchProduct'

function Header() {
const aboutUsNode = useMemo(
Expand Down Expand Up @@ -151,8 +152,14 @@ function Header() {
</div>

<div className={styles['header__row-two']}>
<Logo width="138px" height="46px" />
<Search />
<Logo
image={coreBaseData.header.main_logo.image}
title={coreBaseData.header.main_logo.title}
url={coreBaseData.header.main_logo.url}
width="138px"
height="46px"
/>
<SearchProduct />
<HeaderAccount {...headerAccountData} />
</div>

Expand Down
25 changes: 0 additions & 25 deletions src/components/logo/Logo.tsx

This file was deleted.

Loading

0 comments on commit 31bad22

Please sign in to comment.