comment out local badges

This commit is contained in:
padreug 2025-02-15 03:00:23 +01:00
parent 69d0a23848
commit 1147bebf98
2 changed files with 9 additions and 11 deletions

View file

@ -72,9 +72,9 @@ const socialColors = {
<Card class="hover:shadow-md transition-shadow relative overflow-hidden group cursor-pointer"
@click="$router.push(`/directory/${item.id}`)">
<!-- Local watermark -->
<div v-if="item.local" class="absolute right-3 bottom-2 text-2xl tracking-widest font-bold text-primary opacity-30">
LOCAL
</div>
<!-- <div v-if="item.local" class="absolute right-3 bottom-2 text-2xl tracking-widest font-bold text-primary opacity-30"> -->
<!-- LOCAL -->
<!-- </div> -->
<CardContent class="p-6 space-y-4 relative z-20">
<!-- Image -->

View file

@ -74,10 +74,10 @@ const socialColors = {
<template>
<Card class="relative overflow-hidden">
<!-- Local badge -->
<div v-if="item.local"
class="absolute right-6 top-6 rounded-full bg-primary/10 px-3 py-1 text-sm font-medium text-primary">
LOCAL
</div>
<!-- <div v-if="item.local" -->
<!-- class="absolute right-6 top-6 rounded-full bg-primary/10 px-3 py-1 text-sm font-medium text-primary"> -->
<!-- LOCAL -->
<!-- </div> -->
<!-- Image Banner -->
<div v-if="item.imageUrl" class="w-full h-64 overflow-hidden">
@ -139,10 +139,8 @@ const socialColors = {
<!-- Lightning Address -->
<div v-if="item.lightning" class="flex items-center gap-3 text-base">
<Zap class="h-5 w-5 text-amber-500" />
<a
:href="`lightning:${item.lightning}`"
class="text-muted-foreground hover:text-foreground transition-colors"
>
<a :href="`lightning:${item.lightning}`"
class="text-muted-foreground hover:text-foreground transition-colors">
{{ item.lightning }}
</a>
</div>