Added custom banner code reference to readme

This commit is contained in:
Martin Schett 2021-05-20 17:39:16 +00:00
parent 9c0827749c
commit 93386135bf

View File

@ -48,6 +48,7 @@ Look at git-lab project https://gitlab.com/Pfingstfrosch/waecm-g4-CI for CI exec
This repository is mirrored to the CI repo, where the pipeline is executed.
## Cookie Banner Custom Element
For evaluation purposes the original code (angular project) for the custom element is presented in this repo in branch https://student.inso.tuwien.ac.at/01527193/waecm-g4/-/tree/custom-cookie-banner/frontend
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.