added logo to navbar and favicon

This commit is contained in:
prats
2020-10-31 00:17:51 +05:30
parent 032dfd1e14
commit 3b4246f853
4 changed files with 3 additions and 2 deletions

BIN
web/public/favi2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="icon" type="image/png" href="/favi2.jpg" />
<title><%= htmlWebpackPlugin.options.title %></title>
<script>
// Install Cascade Studio as a Progressive Web App for Offline Access

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@@ -5,6 +5,7 @@ import Tooltip from '@material-ui/core/Tooltip';
import avatar from 'src/assets/harold.jpg'
import Svg from 'src/components/Svg'
import logo from 'src/layouts/MainLayout/Logo_2.jpg'
const MainLayout = ({ children }) => {
const { logIn, logOut, isAuthenticated } = useAuth()
@@ -16,7 +17,7 @@ const MainLayout = ({ children }) => {
<li>
<Link to={routes.home()}>
<Tooltip title="We need a logo!" >
<div className="h-10 w-10 bg-indigo-500 rounded-full ml-12" data-tip="hello world" data-place="bottom"></div>
<img src={logo} style={{marginLeft : '50px'}}/>
</Tooltip>
</Link>
</li>