2024-07-25 09:18:08 -04:00
|
|
|
<script lang="ts">
|
2024-07-25 20:02:15 -04:00
|
|
|
import { anime } from "./GetAniListSingleItemAndOpenModal.svelte";
|
2024-07-25 09:18:08 -04:00
|
|
|
import {Button} from "flowbite-svelte";
|
|
|
|
|
2024-07-25 20:02:15 -04:00
|
|
|
const title = anime.data.MediaList.media.title.english !== "" ?
|
|
|
|
anime.data.MediaList.media.title.english :
|
|
|
|
anime.data.MediaList.media.title.romaji
|
2024-07-25 09:18:08 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<div>
|
2024-07-25 20:02:15 -04:00
|
|
|
<div class="grid grid-rows-2 grid-cols-10 grid-flow-col gap-4">
|
|
|
|
<div class="row-span-2 col-span-2">
|
2024-07-26 16:50:16 -04:00
|
|
|
<img class="rounded-lg" src={anime.data.MediaList.media.coverImage.large} alt="{title} Cover Image">
|
2024-07-25 20:02:15 -04:00
|
|
|
</div>
|
2024-07-25 09:18:08 -04:00
|
|
|
|
2024-07-25 20:02:15 -04:00
|
|
|
<div class="col-span-8">
|
|
|
|
<form class="flex flex-row">
|
|
|
|
<div>
|
|
|
|
<label for="countries" class="block mb-2 text-sm font-medium text-gray-900 dark:text-white">Select your
|
|
|
|
country</label>
|
|
|
|
<select id="countries"
|
|
|
|
class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
|
2024-07-25 09:18:08 -04:00
|
|
|
|
2024-07-25 20:02:15 -04:00
|
|
|
<option>United States</option>
|
|
|
|
<option>Canada</option>
|
|
|
|
<option>France</option>
|
|
|
|
<option>Germany</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2024-07-25 09:18:08 -04:00
|
|
|
</div>
|
|
|
|
<footer class="bg-white rounded-lg shadow m-4 dark:bg-gray-800">
|
|
|
|
<div class="w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-end">
|
|
|
|
<Button class="text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800" on:click={() => alert('Handle "success"')}>Sync Changes</Button>
|
|
|
|
<Button class="text-gray-900 bg-white border border-gray-300 focus:outline-none hover:bg-gray-100 focus:ring-4 focus:ring-gray-100 font-medium rounded-lg text-sm px-5 py-2.5 me-2 mb-2 dark:bg-gray-800 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-600 dark:focus:ring-gray-700">Cancel</Button>
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
|