Compare commits

..

No commits in common. "1da5fccff8b752f4493b6dd862715d6f2a57fb95" and "f9d00ab1ca4709104a36b4c264e43fd2b0f22351" have entirely different histories.

4 changed files with 4 additions and 7 deletions

View file

@ -2,7 +2,7 @@
"private": true,
"type": "module",
"scripts": {
"build": "tsc && vite build && sass --load-path=node_modules",
"build": "tsc && vite build && sass --load-path=node_modules my-bulma-project.scss my-bulma-project.css",
"dev": "vite"
},
"devDependencies": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 0 B

View file

@ -10,7 +10,6 @@ interface CustomerProps {
deposit: number
amount_left: number
give_leftover: number
guardian_name: string
purchases: [{
id: number
amount: number
@ -53,9 +52,8 @@ export default function Customer({customer}: CustomerProps) {
<div className="box">
<h2 className='title is-4'>Saldo: {customer.amount_left ? customer.amount_left : 0} kr</h2>
{ customer.deposit &&
<p>Inbetalad summa: {customer.deposit} kr</p>
<p>Swishad summa: {customer.deposit} kr</p>
}
<p>Vårnadshavare: {customer.guardian_name}</p>
<p>Ge ev överblivet saldo till vBytes: {customer.give_leftover ? "Ja" : "Nej"}</p>
</div>

View file

@ -10,9 +10,8 @@ export default function Thankyou() {
<section className='section'>
<div className="container is-max-desktop">
<div className="box px-5 py-5">
<h1 className="title px-3 py-3">Tack! Deltagaren är registrerad</h1>
<p className="subtitle is-5 px-3 py-3">Swisha in en önskad summa pengar och meddela kioskpersonal eller betala in en önskad summa pengar i kontanter till kioskpersonal.</p>
<a className='button' href="swish://">Öppna swish</a>
<h1 className="title px-3 py-3">Tack! Deltagaren registrerad</h1>
<p className="subtitle is-5 px-3 py-3">Swisha eller betala in en önskad summa pengar och meddela kioskpersonal.</p>
</div>
</div>
</section>