40 lines
741 B
Svelte
40 lines
741 B
Svelte
<script lang="ts">
|
|
import Tooltip from "$lib/Tooltip.svelte";
|
|
import { IconBed, IconSquare1, IconSquareLetterV, IconToolsKitchen2 } from "@tabler/icons-svelte";
|
|
|
|
|
|
|
|
export let firstClass: boolean
|
|
export let hasCatering: boolean
|
|
export let sleeper: boolean
|
|
export let vstp: boolean
|
|
</script>
|
|
|
|
|
|
{#if firstClass}
|
|
<Tooltip text="First Class is available">
|
|
<IconSquare1 />
|
|
</Tooltip>
|
|
{/if}
|
|
|
|
{#if hasCatering}
|
|
<Tooltip text="Catering is available">
|
|
<IconToolsKitchen2 />
|
|
</Tooltip>
|
|
{/if}
|
|
|
|
{#if sleeper}
|
|
<Tooltip text="Sleeping Berths are available">
|
|
<IconBed />
|
|
</Tooltip>
|
|
{/if}
|
|
|
|
{#if vstp}
|
|
<Tooltip text="This is a VSTP planned service">
|
|
<IconSquareLetterV />
|
|
</Tooltip>
|
|
{/if}
|
|
|
|
<style>
|
|
|
|
</style> |