Skip to content

Commit

Permalink
Correct Alt Title and replace search logo
Browse files Browse the repository at this point in the history
  • Loading branch information
romanmyko committed Sep 17, 2024
1 parent f0e87d8 commit 5657ce0
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 16 deletions.
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function Profile() {
<img
className={css['header-profile__avatar']}
src={`${process.env.REACT_APP_PUBLIC_URL}/img/Avatar.png`}
alt="avatar"
alt="Avatar"
onClick={navigateToProfile}
/>
<DropdownMenu toggleText="Профіль">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@
border-radius: 100px;
border: 1px solid var(--main-black-20, #E2E5EB);
background: var(--conditional-pop-over, #FFF)
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useState } from 'react';
import icon_search from './search-icon.svg';
import { useNavigate } from 'react-router-dom';
import css from './SearchBox.module.css';

Expand Down Expand Up @@ -36,7 +35,7 @@ function SearchBox() {
className={css['header-search-form__addon']}
disabled={!searchTerm.trim()}
>
<img src={icon_search} alt="" />
<img src={`${process.env.REACT_APP_PUBLIC_URL}/svg/search-icon.svg`} alt="Search" />
</button>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ textarea:focus,
.header-search-form__input:focus {
border: none;
outline: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const WarnUnsavedDataModal = ({ onCancel, onConfirm }) => {
Збереження введених даних
</p>
<button onClick={onCancel} className={classes['modal-header--close-icon']}>
<img src={`${process.env.REACT_APP_PUBLIC_URL}/svg/cross-btn.svg`} />
<img src={`${process.env.REACT_APP_PUBLIC_URL}/svg/cross-btn.svg`} alt="Cross btn" />
</button>
</div>
<div className={classes['modal-content']}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const MainAboutSection = () => {
src={`${process.env.REACT_APP_PUBLIC_URL}/img/about.jpeg`}
alt="about img"
loading="lazy"
title="about img"
title="About CarftMerge"
/>
</div>
</div>
Expand Down
12 changes: 6 additions & 6 deletions FrontEnd/src/components/landing-page/banner/Banner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,25 @@ const MainBanner = (props) => {
<img
className="main-banner-group__banner-image1"
src={`${process.env.REACT_APP_PUBLIC_URL}/img/banner-img1.jpeg`}
alt="banner img"
alt="Banner img"
/>
<img
className="main-banner-group__banner-image2"
src={`${process.env.REACT_APP_PUBLIC_URL}/img/banner-img2.jpeg`}
alt="banner img"
alt="Banner img"
/>
<img
className="main-banner-group__banner-image3"
src={`${process.env.REACT_APP_PUBLIC_URL}/img/banner-img3.jpeg`}
alt="banner img"
alt="Banner img"
/>
<div className="main-banner-wine">
<div className="main-banner-group__frame">
<div className="main-banner-wine__winemaking">
<div className="winemaking">
<img
src={`${process.env.REACT_APP_PUBLIC_URL}/svg/winemaking.svg`}
alt="winemaking"
alt="Winemaking"
width="16"
height="18"
/>
Expand All @@ -91,7 +91,7 @@ const MainBanner = (props) => {
<div className="cheese">
<img
src={`${process.env.REACT_APP_PUBLIC_URL}/svg/cheese.svg`}
alt="cheese"
alt="Cheese"
width="20"
height="20"
/>
Expand All @@ -103,7 +103,7 @@ const MainBanner = (props) => {
<div className="delivery">
<img
src={`${process.env.REACT_APP_PUBLIC_URL}/svg/delivery.svg`}
alt="delivery"
alt="Delivery"
width="20"
height="20"
/>
Expand Down
4 changes: 2 additions & 2 deletions FrontEnd/src/components/landing-page/partners/Partners.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const MainPartners = () => {
<div className="partners-section__navi-icons">
<div className="partners-section__navi-icon">
<div className="partners-section__icon">
<img src="/svg/icon-left.svg" alt="" />
<img src="/svg/icon-left.svg" alt="Left" />
</div>
</div>
<div className="partners-section__navi-icon">
<div className="partners-section__icon">
<img src="/svg/icon-right.svg" alt="" />
<img src="/svg/icon-right.svg" alt="Right" />
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import styles from './TermsAndConditionsComponent.module.css';
import TermsAndConditionsText from './text';
import TEXT_CONTENT from './text';
Expand Down

0 comments on commit 5657ce0

Please sign in to comment.