lifinance / widget

LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
https://li.fi/widget
Apache License 2.0
129 stars 84 forks source link

refactor: using header store for setting page titles #232

Closed DNR500 closed 7 months ago

DNR500 commented 7 months ago

Jira: LF-5228

This moves the setting of widget page the title to the pages themselves and outside of the NavigationHeader component.

The remaining Routes and Route components in NavigationHeader should be swappable for the useMatchRoute hook if we move to use the Tanstack Router in future.

I've testing the pages and title rendering as I've moved each route.

Routes effected..

github-actions[bot] commented 7 months ago

Hey! This is your new endopint: https://a94b67a5.widget-useheaders.pages.dev

github-actions[bot] commented 7 months ago

Hey! This is your new endopint: https://c44128f8.widget-useheaders.pages.dev

github-actions[bot] commented 7 months ago

Hey! This is your new endopint: https://e11e3489.widget-useheaders.pages.dev

github-actions[bot] commented 7 months ago

Hey! This is your new endopint: https://950c43c5.widget-useheaders.pages.dev

github-actions[bot] commented 7 months ago

Hey! This is your new endopint: https://ebefac74.widget-useheaders.pages.dev