open-coffee / opencoffee-navigation-bar

The javascript based navigation bar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 100.0%