refactor: Rename Relay Hub Demo to Relay Hub Status and update routing

- Change the title and content of the RelayHubDemo component to reflect its new purpose as Relay Hub Status.
- Update routing paths and component names in the Navbar and router configuration to align with the new naming convention.
- Enhance user navigation by ensuring consistent terminology across the application.
This commit is contained in:
padreug 2025-08-10 19:00:03 +02:00
parent 260806e690
commit 355fb6e94b
3 changed files with 9 additions and 10 deletions

View file

@ -33,7 +33,6 @@ const navigation = computed<NavigationItem[]>(() => [
{ name: t('nav.events'), href: '/events' },
{ name: t('nav.market'), href: '/market' },
{ name: t('nav.chat'), href: '/chat' },
{ name: 'Relay Hub', href: '/relay-hub-demo' },
])
// Compute total wallet balance
@ -150,9 +149,9 @@ const handleLogout = async () => {
<Ticket class="h-4 w-4" />
My Tickets
</DropdownMenuItem>
<DropdownMenuItem @click="() => router.push('/relay-hub-demo')" class="gap-2">
<DropdownMenuItem @click="() => router.push('/relay-hub-status')" class="gap-2">
<MessageSquare class="h-4 w-4" />
Relay Hub Demo
Relay Hub Status
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem @click="handleLogout" class="gap-2 text-destructive">
@ -235,10 +234,10 @@ const handleLogout = async () => {
<Ticket class="h-4 w-4" />
My Tickets
</Button>
<Button variant="ghost" size="sm" @click="() => router.push('/relay-hub-demo')"
<Button variant="ghost" size="sm" @click="() => router.push('/relay-hub-status')"
class="w-full justify-start gap-2">
<MessageSquare class="h-4 w-4" />
Relay Hub Demo
Relay Hub Status
</Button>
<Button variant="ghost" size="sm" @click="handleLogout"
class="w-full justify-start gap-2 text-destructive">