https://github.com/eea/volto-banner
https://github.com/eea/volto-banner
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eea/volto-banner
- Owner: eea
- License: mit
- Created: 2021-08-19T13:11:24.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T15:12:27.000Z (4 months ago)
- Last Synced: 2025-03-25T04:41:51.619Z (3 months ago)
- Language: JavaScript
- Size: 226 KB
- Stars: 0
- Watchers: 30
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-volto - volto-banner - Adds a banner to highlight staging, demo or dev websites (Addons)
README
# volto-banner
[](https://github.com/eea/volto-banner/releases)
[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-banner/job/master/display/redirect)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-master)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-master)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-master)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-master)[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-banner/job/develop/display/redirect)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-develop)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-develop)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-develop)
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-banner-develop)[Volto](https://github.com/plone/volto) add-on
## Features
A customizable banner to highlight to the user that the website is in demo, dev
or staging state.It is configurable through `/controlpanel/banner`.

## Upgrades
### Upgrade to 2.x.x
- Version `2.x.x` requires [eea.banner](https://github.com/eea/eea.banner) Plone add-on to be installed on backend.
## Getting started
### Try volto-banner with Docker
git clone https://github.com/eea/volto-banner.git
cd volto-banner
make
make startGo to http://localhost:3000
### Add volto-banner to your Volto project
1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone
```Bash
docker compose up backend
```1. Start Volto frontend
* If you already have a volto project, just update `package.json`:
```JSON
"addons": [
"@eeacms/volto-banner"
],"dependencies": {
"@eeacms/volto-banner": "*"
}
```* If not, create one:
```
npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --canary --addon @eeacms/volto-banner
cd my-volto-project
```1. Install new add-ons and restart Volto:
```
yarn
yarn start
```1. Go to http://localhost:3000
1. Happy editing!
## Release
See [RELEASE.md](https://github.com/eea/volto-banner/blob/master/RELEASE.md).
## How to contribute
See [DEVELOP.md](https://github.com/eea/volto-banner/blob/master/DEVELOP.md).
## Copyright and license
The Initial Owner of the Original Code is European Environment Agency (EEA).
All Rights Reserved.See [LICENSE.md](https://github.com/eea/volto-banner/blob/master/LICENSE.md) for details.
## Funding
[European Environment Agency (EU)](http://eea.europa.eu)