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

View file

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