Skip to content

open-coffee/opencoffee-navigation-bar

Repository files navigation

Build Status

Navigation Bar

How to use

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.

Maven

Dependency

<dependency>
    <groupId>rocks.coffeenet</groupId>
    <artifactId>navigation-bar</artifactId>
    <version>${version}</version>
</dependency>

is available at maven central.

Usage

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>

Development

Only change the files based in the /navigation folder.

Build

./mvnw clean install

This command will trigger 'npm install' that will trigger webpack to convert the es2015 javascript file into es5.

About

The javascript based navigation bar

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •