Added cookie banner information to readme

This commit is contained in:
Martin Schett 2021-05-20 16:04:31 +00:00
parent 9f0454e9f8
commit e025a64775

View File

@ -1,4 +1,4 @@
# Web Application Engineering Assignment 2 -- Group 04 # Web Application Engineering Assignment 3 -- Group 04
## Technology Stack ## Technology Stack
@ -46,3 +46,9 @@ The docker images are available at:
## CI ## CI
Look at git-lab project https://gitlab.com/Pfingstfrosch/waecm-g4-CI for CI execution. Look at git-lab project https://gitlab.com/Pfingstfrosch/waecm-g4-CI for CI execution.
This repository is mirrored to the CI repo, where the pipeline is executed. This repository is mirrored to the CI repo, where the pipeline is executed.
## Cookie Banner Custom Element
The custom element was developed in angular because it was convenient to set up a new project, develop the component (with all the benefits of angular), and export it.
Our Custom Element has additional optional attributes [statistik]=(bool) and [marketing]=(bool) to initialize the checkboxes (e.g. if one wants to show the user what he selected earlier).
The Element is implemented in our Landing Component (that contains the angular routing component), therefore the banner is controlled at a single point in the app.
A Angular Service makes the Banner Selection available within the whole app if necessary.