fixing logo admin sidebar
This commit is contained in:
parent
a34e23d763
commit
51ddcf098c
|
|
@ -2,6 +2,7 @@ import React, { useState } from 'react';
|
|||
import { Nav, Button, Collapse, Form, InputGroup } from 'react-bootstrap';
|
||||
import { NavLink } from 'react-router-dom';
|
||||
import logo from '../../../assets/images/logo.png'
|
||||
import logos from '../../../assets/images/logo-s.png'
|
||||
|
||||
const AdminSideNav = () => {
|
||||
const [open1, setOpen1] = useState(false);
|
||||
|
|
@ -26,8 +27,8 @@ const AdminSideNav = () => {
|
|||
</Button> */}
|
||||
<div className="position-sticky">
|
||||
<div className="d-flex justify-content-between align-items-center top-logo">
|
||||
<img src={logo} alt="" />
|
||||
<i className="bi bi-caret-left-square text-grey cursor-pointer" onClick={toggleMinimize}></i>
|
||||
<img src={isMinimized ? logos : logo} alt="" />
|
||||
<i className="bi bi-caret-left-square text-grey cursor-pointer" style={{ transform: isMinimized ? 'rotate(180deg)' : 'rotate(0deg)'}} onClick={toggleMinimize}></i>
|
||||
</div>
|
||||
{/* <Form.Control className='rounded rounded-35'
|
||||
type="text"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user