|
1 | 1 | <script lang="ts"> |
2 | 2 | import Modal from '../Modal.svelte'; |
3 | 3 | import Button from '../items/Button.svelte'; |
| 4 | + import { PROGRAM_VERSION } from '$lib'; |
| 5 | + import VersionItem from '../items/VersionItem.svelte'; |
4 | 6 |
|
5 | 7 | let { changelogModal = $bindable(false) } = $props(); |
6 | 8 | </script> |
7 | 9 |
|
8 | 10 | <Modal bind:showModal={changelogModal}> |
9 | 11 | <div class="flex w-full grow flex-col gap-2 text-white"> |
10 | | - <h2 class="text-xl font-medium">Changelog</h2> |
11 | | - |
12 | | - <div class="flex w-full max-w-full min-w-full flex-col gap-0 text-white"> |
13 | | - <h2 class="text-xl">FestIES 1.0.0</h2> |
14 | | - <p class="italic opacity-50">30.11.2025</p> |
15 | | - <ul class="list-inside list-disc"> |
16 | | - <li>Original version</li> |
17 | | - </ul> |
| 12 | + <div class="flex flex-row items-center gap-2"> |
| 13 | + <h2 class="text-xl font-medium">Changelog</h2> |
| 14 | + <p class="italic opacity-50">Current version: {PROGRAM_VERSION}</p> |
18 | 15 | </div> |
19 | 16 |
|
20 | | - <div class="flex w-full max-w-full min-w-full flex-col gap-0 text-white"> |
21 | | - <h2 class="text-xl">FestIES 1.0.1</h2> |
22 | | - <p class="italic opacity-50">20.12.2025</p> |
23 | | - <ul class="list-inside list-disc"> |
24 | | - <li> |
25 | | - More effects on the bottom (ČD 680 Pendolino, PolRegio train, Forest growing and line of |
26 | | - buildings) |
27 | | - </li> |
28 | | - <li>Small style improvements</li> |
29 | | - </ul> |
30 | | - </div> |
| 17 | + <VersionItem version="1.0.0" date="30.11.2025"> |
| 18 | + <li>Original version</li> |
| 19 | + </VersionItem> |
| 20 | + |
| 21 | + <VersionItem version="1.0.1" date="20.12.2025"> |
| 22 | + <li> |
| 23 | + More effects on the bottom (ČD 680 Pendolino, PolRegio train, Forest growing and line of |
| 24 | + buildings) |
| 25 | + </li> |
| 26 | + <li>Small style improvements</li> |
| 27 | + </VersionItem> |
| 28 | + |
| 29 | + <VersionItem version="1.0.2" date="23.12.2025"> |
| 30 | + <li>Removed extra scrollbars</li> |
| 31 | + <li>Changelog modal improvements</li> |
| 32 | + <li>Added option for dynamic snow amount</li> |
| 33 | + <li>Added default playlist in form (bugfix)</li> |
| 34 | + </VersionItem> |
31 | 35 |
|
32 | 36 | <Button |
33 | 37 | text="Close" |
|
0 commit comments