A mobile app for listening to radio stations from around the globe
git clone git://soophie.de/verbal
80
actions: [81
{82
title: $lang('global.continue'),83
icon: 'arrow-right',83
icon: 'check',84
handle: () => window.location.reload()85
}86
]
90
},91
template: `92
<v-tab id="search" :tab="state.tab">93
<div class="flex flex-wrap gap-4">94
<input95
v-model="query.name"96
@change="doSearch"97
type="text"98
:placeholder="$lang('search.input.placeholder')"99
class="flex-1 h-[56px] px-5 text-lg rounded-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none"100
spellcheck="false"101
autocomplete="off"102
>103
<div class="flex gap-4 w-full md:w-[300px]">104
<select105
v-model="query.country"106
@change="doSearch"107
class="w-6/12 h-[56px] px-5 text-lg rounded-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none cursor-pointer appearance-none"108
>109
<option value="" selected>All</option>110
<option v-for="country in countries" :value="country">{{country}}</option>111
</select>112
<select113
v-model="query.language"93
<div class="flex flex-wrap rounded-md overflow-hidden bg-zinc-900">94
<div class="relative before:absolute before:w-full before:bottom-0 before:border-b md:before:border-none before:border-zinc-800 flex-1">95
<input96
v-model="query.name"97
@change="doSearch"115
class="w-6/12 h-[56px] px-5 text-lg rounded-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none cursor-pointer appearance-none"98
type="text"99
:placeholder="$lang('search.input.placeholder')"100
class="w-full h-[56px] px-5 text-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none"101
spellcheck="false"102
autocomplete="off"103
>117
<option value="">All</option>118
<option v-for="language in languages" :value="language">{{language}}</option>119
</select>104
</div>105
<div class="flex w-full md:w-[300px]">106
<div class="flex relative before:absolute before:h-[36px] before:top-[10px] before:border-l-none md:before:border-l before:border-zinc-800 w-6/12">107
<v-icon108
id="map-pin"109
size="20px"110
class="text-gray-400 select-none pointer-events-none before:left-[24px] min-w-[0px]"111
>112
</v-icon>113
<select114
v-model="query.country"115
@change="doSearch"116
class="w-full h-[56px] px-5 pl-11 text-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none cursor-pointer appearance-none"117
>118
<option value="" selected>All</option>119
<option v-for="country in countries" :value="country">{{country}}</option>120
</select>121
</div>122
<div class="flex relative before:absolute before:h-[36px] before:top-[10px] before:border-l before:border-zinc-800 w-6/12">123
<v-icon124
id="world"125
size="20px"126
class="text-gray-400 select-none pointer-events-none before:left-[24px] min-w-[0px]"127
>128
</v-icon>129
<select130
v-model="query.language"131
@change="doSearch"132
class="w-full h-[56px] px-5 pl-11 text-lg bg-zinc-900 text-white font-medium placeholder:font-normal placeholder:text-gray-500 focus:placeholder:text-gray-600 outline-none cursor-pointer appearance-none"133
>134
<option value="">All</option>135
<option v-for="language in languages" :value="language">{{language}}</option>136
</select>137
</div>138
</div>139
</div>140
<ul v-if="searching" class="flex flex-col">