radio4000 / components

web-components to build the r4 interfaces, uses the sdk
https://components.radio4000.com/
1 stars 0 forks source link

Add <title> to all pages #135

Open oskarrough opened 11 months ago

oskarrough commented 11 months ago

We currently do not update the <title> in the <head> on pages. It's always just "Radio4000" which is not ideal. It could also show the currently playing channel, if we want.

Don't know how we would handle this. As part of the router?

oskarrough commented 11 months ago

A component with that renders into head?

oskarrough commented 4 months ago

This is how solid does it for inspiration https://docs.solidjs.com/solid-start/building-your-application/head-and-metadata. Basically a component for each "meta" element that cleans up after itself when you navigate away.