The navigation bar adds the navigation between the CoffeeNet Applications.
To use it you just need to add the maven dependency below and you are ready to go.
<dependency>
<groupId>rocks.coffeenet</groupId>
<artifactId>navigation-bar</artifactId>
<version>${version}</version>
</dependency>
is available at maven central.
Just add the html snipped listed below:
<html lang="en">
<head>
<!-- Your header stuff here -->
</head>
<body>
<!-- CoffeeNet header -->
<header id="coffeenet-header"></header>
<!-- Your html here -->
<script src="/webjars/navigation-bar/bundle.min.js"></script>
<!-- Your scripts here -->
</body>
</html>
Only change the files based in the /navigation folder.
./mvnw clean install
This command will trigger 'npm install' that will trigger webpack to convert the es2015 javascript file into es5.