diff --git a/src/components/directory/DirectoryCard.vue b/src/components/directory/DirectoryCard.vue index 733a40c..50c3847 100644 --- a/src/components/directory/DirectoryCard.vue +++ b/src/components/directory/DirectoryCard.vue @@ -1,6 +1,16 @@ - + + + + LOCAL + + @@ -45,39 +78,74 @@ const categoryColors = { - - + + {{ [item.address, item.town].filter(Boolean).join(', ') }} - - - - + + + {{ [item.address, item.town].filter(Boolean).join(', ') }} - + {{ item.contact }} - + WhatsApp - + Telegram - + {{ item.lightning }} + + + + + + {{ item.url.replace(/^https?:\/\//, '').split('/')[0] }} + + + + + + + + + + + diff --git a/src/components/directory/DirectoryFilter.vue b/src/components/directory/DirectoryFilter.vue index 1cd54e6..67c9932 100644 --- a/src/components/directory/DirectoryFilter.vue +++ b/src/components/directory/DirectoryFilter.vue @@ -16,9 +16,11 @@ const emit = defineEmits<{ const categories = [ { id: 'all', label: 'All' }, { id: 'restaurant', label: 'Restaurants' }, + { id: 'lodging', label: 'Lodging' }, + { id: 'goods', label: 'Goods' }, + { id: 'services', label: 'Services' }, { id: 'taxi', label: 'Taxis' }, { id: 'lancha', label: 'Lanchas' }, - { id: 'retail', label: 'Retail' }, { id: 'other', label: 'Other' } ] diff --git a/src/pages/Directory.vue b/src/pages/Directory.vue index f3c069a..6217771 100644 --- a/src/pages/Directory.vue +++ b/src/pages/Directory.vue @@ -9,8 +9,12 @@ const mockItems: DirectoryItem[] = [ name: 'Ixchel Cafe & Bakery', category: 'restaurant', description: 'A cozy cafe serving great coffee and accepting Bitcoin Lightning payments.', + url: 'https://ixchel.atitlan.io', town: 'San Marcos', mapsUrl: 'https://maps.app.goo.gl/sbjmvqP8U4SB4FS29', + social: { + facebook: 'https://www.facebook.com/emporium.atitlan' + } }, { id: '2', @@ -25,9 +29,280 @@ const mockItems: DirectoryItem[] = [ id: '3', name: 'Bitcoin Lake Lancha', category: 'lancha', - description: 'Cross-harbor lancha service accepting Lightning payments.', address: 'Pier 21, Harbor Front', contact: '+1 234-567-8902' + }, + { + id: '4', + name: 'Eagle\'s Nest', + category: 'restaurant', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/eaglesnestatitlan' + } + }, + { + id: '6', + name: 'La Sala del Lago', + category: 'restaurant', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/La-Sala-Del-Lago-100220539146301' + } + }, + { + id: '7', + name: 'Nectar', + category: 'restaurant', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/lovenectar' + }, + local: true + }, + { + id: '8', + name: 'Arati Cafe', + category: 'restaurant', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/Arati-Cafe-105767784719695' + }, + local: true + }, + { + id: '9', + name: 'Fe Restaurant', + category: 'restaurant', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/fesanmarcos' + } + }, + { + id: '10', + name: 'Hostal del Lago', + category: 'lodging', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/Hostel-Del-Lago-605530306467708' + } + }, + { + id: '11', + name: 'Lush Atitlan', + category: 'lodging', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/lushatitlan/' + }, + local: true + }, + { + id: '12', + name: 'Hostel Fe San Marcos', + category: 'lodging', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/HostelFeSanMarcos' + } + }, + { + id: '13', + name: 'Hotel Casa Maya', + category: 'lodging', + town: 'San Marcos', + mapsUrl: 'https://www.google.com/maps/place/Hotel+Casa+Maya' + }, + { + id: '14', + name: 'Floresta Atitlan', + category: 'goods', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/florestatitlan' + } + }, + { + id: '15', + name: 'Artesanias San Marcos La Laguna', + category: 'goods', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/Artesanias-San-Marcos-La-Laguna-102826589071628/' + }, + local: true + }, + { + id: '16', + name: 'Textiles Felix San Marcos La Laguna', + category: 'goods', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/Textiles-Felix-San-Marcos-La-Laguna-102732085750559' + }, + local: true + }, + { + id: '17', + name: 'Health Food Store San Jose', + category: 'goods', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/Health-Food-Store-San-Jose-719299235179691' + }, + local: true + }, + { + id: '18', + name: 'Tienda San Jose 2', + category: 'goods', + town: 'San Marcos', + mapsUrl: 'https://www.google.com/maps/place/Tienda+San+José+%232', + local: true + }, + { + id: '19', + name: 'Sound Temple San Marcos', + category: 'services', + town: 'San Marcos', + social: { + facebook: 'https://www.facebook.com/SoundTempleSanMarcos' + } + }, + { + id: '20', + name: 'Granja Tz\'ikin', + category: 'restaurant', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/granjatzikin' + } + }, + { + id: '21', + name: 'Veda', + category: 'restaurant', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/vedafoodismedicine' + } + }, + { + id: '22', + name: 'Bambu Guest House', + category: 'lodging', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/bambuguesthousegt' + } + }, + { + id: '23', + name: 'Atitlan Organics', + category: 'goods', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/atitlanorganics' + } + }, + { + id: '24', + name: 'Holy Wow Cacao', + category: 'goods', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/HolyWowCacao' + } + }, + { + id: '25', + name: 'Multiservicios Yaxon', + category: 'services', + town: 'Tzununa', + social: { + facebook: 'https://www.facebook.com/Multiservicios-Yaxón-299907600397260' + }, + local: true + }, + { + id: '26', + name: 'Utz Kab', + category: 'goods', + town: 'San Pablo', + social: { + facebook: 'https://www.facebook.com/UTZ-KAB-534232490075686' + }, + local: true + }, + { + id: '27', + name: 'Utz Color Fashion', + category: 'goods', + town: 'San Pedro', + social: { + facebook: 'https://www.facebook.com/UtzColorFashion' + }, + local: true + }, + { + id: '28', + name: 'Do Bau', + category: 'goods', + town: 'San Pedro', + social: { + facebook: 'https://www.facebook.com/Adrianamatrioshka' + }, + local: true + }, + { + id: '29', + name: 'Full Print', + category: 'services', + town: 'San Pedro', + social: { + facebook: 'https://www.facebook.com/profile.php?id=100057645572968' + }, + local: true + }, + { + id: '30', + name: 'Atitlan Muay Thai', + category: 'services', + town: 'San Pedro', + social: { + facebook: 'https://www.facebook.com/muaythaiatitlan' + } + }, + { + id: '31', + name: 'Caffé Kitsch', + category: 'restaurant', + town: 'Panajachel', + social: { + facebook: 'https://www.facebook.com/Kitschers' + }, + local: true + }, + { + id: '32', + name: 'Zoe Nails & Spa', + category: 'services', + town: 'Panajachel', + social: { + facebook: 'https://www.facebook.com/zoenailsyspapanajachel' + }, + local: true + }, + { + id: '33', + name: 'Hotel Corazon del Mundo Fresh', + category: 'lodging', + town: 'Jaibalito', + social: { + facebook: 'https://www.facebook.com/corazondelmundofresh' + }, + local: true } ]