feat: add legal links to the home website#1288
Conversation
Signed-off-by: İspik <ispik@ispik.dev>
50dddc7 to
9b3092f
Compare
| </CategoryButton> | ||
| </SeparatedColumn> | ||
| </Buttons> | ||
| <Show when={client()!.configuration?.features.legal_links}> |
There was a problem hiding this comment.
The configuration object is not reactive. That means that you must use the configured signal, and change your values to something like this:
client().configured() ? client()!.configuration?.features.legal_links : undefined
This makes solid react to the configuration value changing. Otherwise, these values will never actually show up until after a refresh.
You can see an example of this in the invite_only code in account registration.
Signed-off-by: İspik <ispik@ispik.dev>
infi
left a comment
There was a problem hiding this comment.
Can you explain why the links on the login page are not enough? What apps show the legal links inside the app after login? Most don't do this as they are irrelevant most of the time and can be easily pulled up on the website if need arises.
Signed-off-by: İspik <ispik@ispik.dev>
Adds the legal links introduced to the root payload to the home page
Fixes #565
How was this PR tested?
Screenshots & Screencasts (if appropriate)
Checklist:
Please declare, if any, LLM usage involved in creating this PR
No AI was used
main