Skip to content

Commit b2ab8aa

Browse files
committed
fonts
1 parent 0afcece commit b2ab8aa

8 files changed

Lines changed: 25 additions & 39 deletions

File tree

‎public/favicon.png‎

1.87 KB
Loading

‎public/index.html‎

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,22 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
5+
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<meta name="theme-color" content="white" />
7+
<meta name="theme-color" content="rgb(56, 56, 56)" />
88
<meta
99
name="description"
1010
content="Web site created using create-react-app"
1111
/>
12-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13-
<!--
14-
manifest.json provides metadata used when your web app is installed on a
15-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16-
-->
17-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18-
<!--
19-
Notice the use of %PUBLIC_URL% in the tags above.
20-
It will be replaced with the URL of the `public` folder during the build.
21-
Only files inside the `public` folder can be referenced from the HTML.
2212

23-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24-
work correctly both with client-side routing and a non-root public URL.
25-
Learn how to configure a non-root public URL by running `npm run build`.
26-
-->
13+
14+
15+
<link rel="icon" href="%PUBLIC_URL%/favicon.png" sizes="any" type="image/png">
16+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/favicon.png">
2717
<title>Algo Visualizer</title>
2818
</head>
2919
<body>
3020
<noscript>You need to enable JavaScript to run this app.</noscript>
3121
<div id="root"></div>
32-
<!--
33-
This HTML file is a template.
34-
If you open it directly in the browser, you will see an empty page.
35-
36-
You can add webfonts, meta tags, or analytics to this file.
37-
The build step will place the bundled scripts into the <body> tag.
38-
39-
To begin the development, run `npm start` or `yarn start`.
40-
To create a production bundle, use `npm run build` or `yarn build`.
41-
-->
4222
</body>
4323
</html>

‎public/manifest.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
"name": "Create React App Sample",
44
"icons": [
55
{
6-
"src": "favicon.ico",
6+
"src": "",
77
"sizes": "64x64 32x32 24x24 16x16",
88
"type": "image/x-icon"
99
},
1010
{
11-
"src": "logo192.png",
11+
"src": "code.svg",
1212
"type": "image/png",
1313
"sizes": "192x192"
1414
},
1515
{
16-
"src": "logo512.png",
16+
"src": "code.svg",
1717
"type": "image/png",
1818
"sizes": "512x512"
1919
}

‎src/Utility/Dropdown/Dropdown.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ function Dropdown() {
2020
<>
2121
<ul
2222
onClick = {handleClick}
23-
className = {click ? 'dropdown-menu clicked' : 'dropdown-menu'}
23+
className = {`${click ? 'dropdown-menu clicked ' : 'dropdown-menu'}`}
2424
>
2525
{DescriptorItems.map((item, index) => {
2626
return (
2727
<li key = {index}>
2828
<Link
29-
className = {item.class}
29+
className = {`${item.class} `}
3030
to = {item.path}
3131
onClick = {() => setClick(false)}
3232
>

‎src/Utility/Dropdown/dropdown.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
text-align: center;
66
top: 70px;
77
list-style: none;
8-
z-index: 10;
8+
z-index: 1000;
99
}
1010

1111
.dropdown-menu li {

‎src/components/Canvas/options/Options.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Options extends Component {
3232
const { algorithm } = this.props;
3333
console.log(algorithm)
3434
return (
35-
<div className="rounded-md">
35+
<div className="rounded-md z-10">
3636

3737
<div className="w-fit flex space-x-5">
3838

‎src/components/Page/partial/Navbar/Navigation.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function Navigation() {
4343

4444
return (
4545
<>
46-
<nav className = {'navbar'}>
46+
<nav className = {`navbar`}>
4747
<Link to = "/sorting-visualizer"
4848
className = {'navbar-logo'}
4949
onClick = {closeMobileMenu}>

‎src/components/Page/partial/Navbar/navbar.css‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,24 @@
1+
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+39+Text&display=swap');
2+
@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+SC:wght@600&family=Fira+Code:wght@600&display=swap');
13
.navbar {
24
/* background: linear-gradient(90deg, rgb(28, 27, 27) 0%, rgb(26, 23, 23) 100%); */
35
height: 70px;
46
display: flex;
57
justify-content: center;
68
align-items: center;
79
font-size: 1.2rem;
8-
background-color: rgb(83, 83, 83);
10+
background-color: #A2D476;
911
}
1012

1113
.navbar-logo {
12-
color: #fff;
14+
color: rgb(74, 74, 74);
1315
justify-self: start;
1416
margin-left: 20px;
1517
cursor: pointer;
1618
text-decoration: none;
1719
font-size: 2rem;
20+
font-weight: bold;
21+
font-family: 'Libre Barcode 39 Text', cursive;
1822
}
1923

2024
.fa-firstdraft {
@@ -40,14 +44,16 @@
4044
}
4145

4246
.nav-links {
43-
color: white;
47+
color: rgb(74, 74, 74);
48+
font-family: 'Encode Sans SC', sans-serif;
4449
text-decoration: none;
4550
padding: 0.5rem 1rem;
51+
font-weight: 500;
4652
}
4753

4854
.nav-links:hover {
49-
background-color: #1888ff;
50-
border-radius: 4px;
55+
background-color: rgb(244, 244, 244);
56+
border-radius: 10px;
5157
transition: all 0.2s ease-out;
5258
}
5359

0 commit comments

Comments
 (0)