Skip to content

Commit

Permalink
Merge pull request #62 from vietredweb/Issue-57
Browse files Browse the repository at this point in the history
fixes #57 change logo mini
  • Loading branch information
lunguyenhat authored Jan 9, 2023
2 parents 31f6408 + 6f4ef24 commit 006bb35
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 14 deletions.
9 changes: 9 additions & 0 deletions public/assets/images/logo/logo-white-mini.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 8 additions & 12 deletions public/assets/images/logo/logo-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 6 additions & 2 deletions src/components/Header/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,14 @@ class Header extends React.Component {
>
<ComponentHambuger handleAction={this.handleMenuLeft} />
<div className="wrapper_header_logo bg-dark w-248 h-80 d-flex align-items-center">
<a href="/" className={`header_logo d-block ${isMini ? '' : 'mx-3'}`}>
<a href="/" className={`header_logo d-block ${isMini ? 'mx-auto' : 'mx-3'}`}>
<ComponentImage
className={`logo_white ${isMini ? 'pe-0' : 'pe-3 pe-lg-6'}`}
src="/assets/images/logo/logo-white.svg"
src={`${
isMini
? '/assets/images/logo/logo-white-mini.svg'
: '/assets/images/logo/logo-white.svg'
}`}
alt="R Digital"
/>
</a>
Expand Down

0 comments on commit 006bb35

Please sign in to comment.