Create legal section
Closed this issue · 0 comments
danieljancar commented
Description
We need to create the legal section with routes like /l/terms
, /l/privacy
, etc. The content of this files should either come from the admin itself (collection: legal with custom document id's like privacy) or our predefined general legal files.
- Package: course
Expected Behavior
There's a overview page on /l
about all the important legal documents (privacy, terms, cookies, rules, ...) and the detail view of each of those files, dynamically generated, with either getting the documents content from Firebase based on the custom id in legal
collection, if empty, use our predefined general legal documents.
Actual Behavior
none
Additional Information
Make sure to display the files / and get the files dynamically from firebase to ensure best code practices. Create a legal.service.ts
, etc.