added logo to navbar and favicon #57

Merged
pratskalive08 merged 2 commits from adding-logo into main 2020-10-31 11:46:07 +01:00
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>
Irev-Dev commented 2020-10-30 21:05:27 +01:00 (Migrated from github.com)
Review

Could we Change this back to <title>CadHub</title> please?
I'm guessing this changed while you were working on it and you changed it back when resolving a conflict?
Either way would be good to have CadHub as the title of the website.

Could we Change this back to `<title>CadHub</title>` please? I'm guessing this changed while you were working on it and you changed it back when resolving a conflict? Either way would be good to have CadHub as the title of the website.
// 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>