Skip to content

Commit

Permalink
frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Nov 7, 2023
1 parent db000ac commit 33e9488
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 9 deletions.
6 changes: 3 additions & 3 deletions frontend/html/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"files": {
"main.css": "/admin/static/css/main.eba4837c.css",
"main.js": "/admin/static/js/main.5e016b03.js",
"main.js": "/admin/static/js/main.eb91a27c.js",
"static/media/robot-404.png": "/admin/static/media/robot-404.339576a7cfe09e1e1f36.png",
"index.html": "/admin/index.html",
"main.eba4837c.css.map": "/admin/static/css/main.eba4837c.css.map",
"main.5e016b03.js.map": "/admin/static/js/main.5e016b03.js.map"
"main.eb91a27c.js.map": "/admin/static/js/main.eb91a27c.js.map"
},
"entrypoints": [
"static/css/main.eba4837c.css",
"static/js/main.5e016b03.js"
"static/js/main.eb91a27c.js"
]
}
2 changes: 1 addition & 1 deletion frontend/html/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/admin/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/admin/logo192.png"/><link rel="manifest" href="/admin/manifest.json"/><title>RestAi</title><script defer="defer" src="/admin/static/js/main.5e016b03.js"></script><link href="/admin/static/css/main.eba4837c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/admin/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/admin/logo192.png"/><link rel="manifest" href="/admin/manifest.json"/><title>RestAi</title><script defer="defer" src="/admin/static/js/main.eb91a27c.js"></script><link href="/admin/static/css/main.eba4837c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
3 changes: 0 additions & 3 deletions frontend/html/static/js/main.5e016b03.js

This file was deleted.

1 change: 0 additions & 1 deletion frontend/html/static/js/main.5e016b03.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions frontend/html/static/js/main.eb91a27c.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/html/static/js/main.eb91a27c.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "BUILD_PATH='./html' react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
13 changes: 13 additions & 0 deletions frontend/src/components/common/navBar.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Container from 'react-bootstrap/Container';
import Navbar from 'react-bootstrap/Navbar';
import { NavLink } from "react-router-dom";
import Nav from 'react-bootstrap/Nav';

function CustomNavBar() {
return (
Expand All @@ -13,6 +14,18 @@ function CustomNavBar() {
RestAI
</NavLink>
</Navbar.Brand>
<Navbar.Toggle aria-controls="basic-navbar-nav" />
<Navbar.Collapse id="basic-navbar-nav">
<Nav className="me-auto">
<Nav.Link href="#home">
<NavLink
to="/"
>
Home
</NavLink>
</Nav.Link>
</Nav>
</Navbar.Collapse>
</Container>
</Navbar>
);
Expand Down

0 comments on commit 33e9488

Please sign in to comment.