Merge pull request #57 from pratskalive08/adding-logo

added logo to navbar and favicon
This commit was merged in pull request #57.
This commit is contained in:
Kurt Hutten
2020-10-31 21:46:07 +11:00
committed by GitHub
4 changed files with 8 additions and 3 deletions

BIN
web/public/favi2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -3,8 +3,10 @@
<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" />
<title>CadHub</title>
<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
// This needs to be put before ANY HTTP Requests are made, so it can cache them.

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,9 @@ 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" data-tip="hello world" data-place="bottom"></div>
<img src={logo} style={{marginLeft : '50px'}}/>
</Tooltip>
</Link>
</li>