Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routing #4

Open
sectore opened this issue Aug 13, 2023 · 0 comments
Open

Routing #4

sectore opened this issue Aug 13, 2023 · 0 comments
Assignees

Comments

@sectore
Copy link
Collaborator

sectore commented Aug 13, 2023

Routes:

  • / Show simple ui while checking joined / not joined state
  • /join Join Federation
  • /{id} - joined federation
  • /{id}/ln/send - send lightning invoice
  • /{id}/ln/receive - receive lightning invoice
  • /{id}/ecash/receive - send ecash invoice
  • /{id}/ecash/send - send ecash invoice

Docs: https://leptos-rs.github.io/leptos/router/index.html

Note: Make sure an user needs to joined a federation before navigating to other routes. Special case: Deep-links!

@sectore sectore self-assigned this Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant