Skip to content

Commit

Permalink
feat: add arena buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Mar 1, 2024
1 parent 2e61846 commit 58a041a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/routes/arena/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
import Weapon from '$lib/client/components/frontier/Weapon.svelte';
import Dropdown from 'carbon-components-svelte/src/Dropdown/Dropdown.svelte';
import { WeaponTypes } from '$lib/client/modules/frontier/objects';
import { Save } from 'carbon-icons-svelte';
type dropdownItem = { id: string; text: string };
Expand Down Expand Up @@ -255,10 +256,16 @@

<div class="container-body">
<div class="container-buttons">
<Button kind="tertiary" icon={Save} on:click={(e) => console.log('Save')}
>Save</Button
>
<Button kind="tertiary" icon={Save} on:click={(e) => console.log('Load')}
>Load</Button
>
<Button
kind="tertiary"
icon={Download}
on:click={(e) => console.log('Download')}>Download</Button
icon={Restart}
on:click={(e) => console.log('Restart')}>Restart Values</Button
>

<!-- <Toggle labelText="Extra Icons" bind:toggled={weaponExtraIcons} /> -->
Expand Down Expand Up @@ -1486,6 +1493,8 @@
.container-buttons {
grid-area: container-buttons;
gap: 1rem;
display: flex;
}
.number-input-container {
Expand Down

0 comments on commit 58a041a

Please sign in to comment.