✨ Added note about search in Pixabay
This commit is contained in:
@@ -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"
|
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>
|
<h1 class="text-2xl text-center">{$t('uploader.images_by_pixabay')}</h1>
|
||||||
<a href="https://pixabay.com" target="_blank" class="underline text-center"
|
<div class="flex">
|
||||||
>{$t('uploader.visit_pixabay')}</a
|
<a href="https://pixabay.com" target="_blank" class="underline mx-auto"
|
||||||
>
|
>{$t('uploader.visit_pixabay')}</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
|
||||||
<form
|
<form
|
||||||
class="w-full flex gap-2"
|
class="w-full flex gap-2"
|
||||||
on:submit|preventDefault={() => (fetched_data = fetch_data())}
|
on:submit|preventDefault={() => (fetched_data = fetch_data())}
|
||||||
>
|
>
|
||||||
<input
|
<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}
|
bind:value={search_term}
|
||||||
/>
|
/>
|
||||||
<div class="w-fit">
|
<div class="w-fit">
|
||||||
<BrownButton type="submit">{$t('words.search')}</BrownButton>
|
<BrownButton type="submit">{$t('words.search')}</BrownButton>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<span class="italic text-center text-sm">{$t('uploader.search_english_only')}</span>
|
||||||
|
|
||||||
{#each data.hits as image}
|
{#each data.hits as image}
|
||||||
<div class="rounded border-2 border-[#B07156] p-2 flex-col flex gap-2">
|
<div class="rounded border-2 border-[#B07156] p-2 flex-col flex gap-2">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -301,7 +301,8 @@
|
|||||||
"upload_video_popup_notice": "The popup is open; have a look at it for further information",
|
"upload_video_popup_notice": "The popup is open; have a look at it for further information",
|
||||||
"upload_video": "Upload Video",
|
"upload_video": "Upload Video",
|
||||||
"visit_pixabay": "Visit Pixabay",
|
"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": {
|
"avatar_settings": {
|
||||||
"skin_color": "Skin color",
|
"skin_color": "Skin color",
|
||||||
|
|||||||
Reference in New Issue
Block a user