lmolteno / nsn

NCEA Standards Navigator
https://www.notion.so/Fast-access-NZQA-d4f21847f9174bc2954bd6a3e8205363
1 stars 1 forks source link

Custom subject content #30

Closed lmolteno closed 3 years ago

lmolteno commented 3 years ago

For relevant study links and potentially this is the part that could be monetised. Examples of these study links would be:

The HTML beneath this would be stored in a database and put at an API endpoint: /api/content?id=<subject_id> I think it would be a container-fluid beneath the subject header, with some colour to make it stand out a bit. About the same size as the search box takes up (+ margins). Hopefully I manage to keep the design consistent so it isn't jarring. Also, maybe I could do subject & level specific things, because there are often not links to whole subjects.

lmolteno commented 3 years ago

This relied on #33, as now I can have a subject_id consistently referencing a specific subject that an advertiser might want.