diff options
Diffstat (limited to 'language-web/src/main/js/Navbar.jsx')
-rw-r--r-- | language-web/src/main/js/Navbar.jsx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/language-web/src/main/js/Navbar.jsx b/language-web/src/main/js/Navbar.jsx new file mode 100644 index 00000000..cf1bc54f --- /dev/null +++ b/language-web/src/main/js/Navbar.jsx | |||
@@ -0,0 +1,37 @@ | |||
1 | import React from 'react'; | ||
2 | import { Button, Navbar, Nav } from 'react-bootstrap'; | ||
3 | import { FaGithub, FaPlayCircle } from 'react-icons/fa'; | ||
4 | |||
5 | export default () => ( | ||
6 | <Navbar | ||
7 | variant='secondary' | ||
8 | className='px-2' | ||
9 | > | ||
10 | <Navbar.Brand>GraphSolver</Navbar.Brand> | ||
11 | <Navbar.Toggle aria-controls='basic-navbar-nav'/> | ||
12 | <Navbar.Collapse id='basic-navbar-nav'> | ||
13 | <Nav className="me-auto"> | ||
14 | <Nav.Link | ||
15 | href="https://github.com/viatra/VIATRA-Generator#readme" | ||
16 | > | ||
17 | About | ||
18 | </Nav.Link> | ||
19 | <Nav.Link | ||
20 | href="https://github.com/viatra/VIATRA-Generator/wiki" | ||
21 | > | ||
22 | Getting started | ||
23 | </Nav.Link> | ||
24 | <Nav.Link | ||
25 | href="https://github.com/viatra/VIATRA-Generator" | ||
26 | > | ||
27 | <FaGithub/> Github | ||
28 | </Nav.Link> | ||
29 | </Nav> | ||
30 | <Button | ||
31 | variant='success' | ||
32 | > | ||
33 | <FaPlayCircle/> Generate | ||
34 | </Button> | ||
35 | </Navbar.Collapse> | ||
36 | </Navbar> | ||
37 | ); | ||