hedgedoc/public
Philip Molares e014eb36b5
Adds an info banner to the app (#190)
* added info-banner component to show the banner.text, we got from the backend config. This banner is shown on top of the landing page (intro, history, login/signup and profile) and also on top of the editor and links to `/n/banner`
* added banner to backendConfig Redux state
* added BannerState to the ApplicationState with that the showing of the banner is globally controlled, the banner text is given to the banner component and the timestamp to acknowledge a banner was read by the user
* the timestamp of a dismissed note is saved in the browsers localStorage to determine in the future if the banner should be shown

Signed-off-by: Philip Molares <philip.molares@udo.edu>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
2020-06-15 21:54:20 +02:00
..
api/v2 Adds an info banner to the app (#190) 2020-06-15 21:54:20 +02:00
icons Replace react icon with default codimd icon 2020-05-31 19:17:24 +02:00
locales Add placeholder translation 2020-06-11 20:50:54 +02:00
config.json Frontend config and Loader component (#12) 2020-05-15 23:10:12 +02:00
index.html better support for rtl languages (#170) 2020-06-08 23:49:14 +02:00
me User profile page (#102) 2020-05-31 21:56:39 +02:00
robots.txt imported current state of the mockup into the public repo 2020-05-14 15:41:38 +02:00