point to the right repo

This commit is contained in:
Yanick Champoux 2021-06-13 13:21:00 -04:00
parent 35238d2029
commit ec3bff4776
2 changed files with 54 additions and 42 deletions

View File

@ -2,7 +2,9 @@
<Header />
<nav>
<button class="button is-danger" type="button" on:click={reset}>reset</button>
<button class="button is-danger" type="button" on:click={reset}
>reset</button
>
<div class="spacer" />
@ -16,7 +18,9 @@
<button class="button" on:click={() => set_output("json")}>json</button>
</p>
<p class="control">
<button class="button" on:click={() => set_output("print")}>print</button>
<button class="button" on:click={() => set_output("print")}
>print</button
>
</p>
</div>
</nav>
@ -64,7 +68,12 @@
<AddWeapon />
{#each weapons as weapon (weapon.id)}
<Weapon {weapon} id={weapon.id} cost={weapon.cost} mass={weapon.mass} />
<Weapon
{weapon}
id={weapon.id}
cost={weapon.cost}
mass={weapon.mass}
/>
{/each}
</Section>
@ -73,7 +82,7 @@
<footer>
Written by <a href="https://twitter.com/yenzie">Yanick Champoux</a>. Code
available on
<a href="https://github.com/yanick/aotds-shipyard">Github</a>
<a href="https://github.com/aotds/aotds-shipyard">Github</a>
</footer>
{/if}
@ -135,7 +144,6 @@
let output = null;
const set_output = (value) => (output = value);
</script>
<style>
@ -177,5 +185,4 @@
.about {
margin-right: 2em;
}
</style>

View File

@ -1,44 +1,49 @@
<aside transition:fly={{x: -800, opacity: 1}}>
<div>
<input type="button" class="button small red" value="close"
on:click={close}/>
</div>
<h3>welcome to the docks</h3>
<aside transition:fly={{ x: -800, opacity: 1 }}>
<div>
<input
type="button"
class="button small red"
value="close"
on:click={close}
/>
</div>
<h3>welcome to the docks</h3>
<p>
This app is a ship builder for the game
<a href="https://shop.groundzerogames.co.uk/rules.html">Full Thrust</a>
.
</p>
<p>
This app is a ship builder for the game
<a href="https://shop.groundzerogames.co.uk/rules.html">Full Thrust</a>
.
</p>
<p>
The app, beside any exception mentioned here, is trying to follow the
<a href="http://members.ozemail.com.au/~laranzu/fullthrust/rules/">
Cross Dimensions rules
</a>
as closely as possible.
</p>
<p>
The app, beside any exception mentioned here, is trying to follow the
<a href="http://members.ozemail.com.au/~laranzu/fullthrust/rules/">
Cross Dimensions rules
</a>
as closely as possible.
</p>
<p>
The app is mostly developed for Firefox. I also check as much as I can
that I don't mess things too badly on Chrome. For the other browsers...
caveat emptor.
</p>
<p>The app is mostly developed for Firefox. I also check as much as I
can that I don't mess things too badly on Chrome. For the other
browsers... caveat emptor.</p>
<p>
Written by
<a href="https://twitter.com/yenzie">Yanick Champoux</a>
. Code available on
<a href="https://github.com/aotds/aotds-shipyard">Github</a>
</p>
</aside>
<p>
Written by
<a href="https://twitter.com/yenzie">Yanick Champoux</a>
. Code available on
<a href="https://github.com/yanick/aotds-shipyard">Github</a>
</p>
</aside>
<script>
import { fly } from "svelte/transition";
import { createEventDispatcher } from "svelte";
<script>
import { fly } from 'svelte/transition';
import {createEventDispatcher} from 'svelte';
const dispatch = createEventDispatcher();
const close = () => dispatch('close');
</script>
const dispatch = createEventDispatcher();
const close = () => dispatch("close");
</script>
<style>
aside {
@ -64,6 +69,6 @@
margin: 0px;
}
div {
text-align: right;
text-align: right;
}
</style>