chore: Update project metadata and dependencies
- Change project title from "Atitlán Directory" to "Ariège Hub" in index.html - Update app title in meta tags for PWA support - Add @tanstack/vue-table dependency for enhanced table management - Refactor ConnectionStatus component to improve status variant logic - Enhance useEvents composable for better error handling and sorting - Add 'events' translation to Spanish and French locales - Create a new Pinia store for Nostr state management
This commit is contained in:
parent
de73230525
commit
3c05ddde51
9 changed files with 72 additions and 13 deletions
|
|
@ -8,9 +8,10 @@ const props = defineProps<{
|
|||
error?: Error | null
|
||||
}>()
|
||||
|
||||
function getStatusVariant() {
|
||||
if (props.isConnecting) return 'warning'
|
||||
return props.isConnected ? 'success' : 'destructive'
|
||||
function getStatusVariant(): 'default' | 'destructive' | 'outline' | 'secondary' {
|
||||
if (!props.isConnected) return 'destructive'
|
||||
if (props.isConnecting) return 'secondary'
|
||||
return 'outline'
|
||||
}
|
||||
|
||||
function getStatusText() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue