Added note about search in Pixabay

This commit is contained in:
Mawoka
2023-06-25 14:28:54 +02:00
parent 622b74f145
commit 8608e24307
2 changed files with 11 additions and 5 deletions
@@ -56,21 +56,26 @@
class="flex flex-col w-1/3 m-auto overflow-scroll h-full rounded p-4 gap-2 bg-white dark:bg-gray-700"
>
<h1 class="text-2xl text-center">{$t('uploader.images_by_pixabay')}</h1>
<a href="https://pixabay.com" target="_blank" class="underline text-center"
>{$t('uploader.visit_pixabay')}</a
>
<div class="flex">
<a href="https://pixabay.com" target="_blank" class="underline mx-auto"
>{$t('uploader.visit_pixabay')}</a
>
</div>
<form
class="w-full flex gap-2"
on:submit|preventDefault={() => (fetched_data = fetch_data())}
>
<input
class="w-full outline-none p-1 rounded bg-gray-500"
class="w-full outline-none p-1 rounded dark:bg-gray-500 bg-gray-300"
bind:value={search_term}
/>
<div class="w-fit">
<BrownButton type="submit">{$t('words.search')}</BrownButton>
</div>
</form>
<span class="italic text-center text-sm">{$t('uploader.search_english_only')}</span>
{#each data.hits as image}
<div class="rounded border-2 border-[#B07156] p-2 flex-col flex gap-2">
<div>
+2 -1
View File
@@ -301,7 +301,8 @@
"upload_video_popup_notice": "The popup is open; have a look at it for further information",
"upload_video": "Upload Video",
"visit_pixabay": "Visit Pixabay",
"images_by_pixabay": "Images provided by Pixabay"
"images_by_pixabay": "Images provided by Pixabay",
"search_english_only": "The search works in English only"
},
"avatar_settings": {
"skin_color": "Skin color",