=setup form

This commit is contained in:
Miki 2023-12-06 11:19:16 +01:00
parent 34ecc9f036
commit 517d64d183
7 changed files with 57 additions and 7 deletions

View file

@ -1 +1 @@
{"version":"1701850898620"} {"version":"1701857544737"}

Binary file not shown.

Binary file not shown.

View file

@ -5,17 +5,17 @@
<link rel="icon" href="/favicon.png" /> <link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="modulepreload" href="/_app/immutable/entry/start.c0ca3cdb.js"> <link rel="modulepreload" href="/_app/immutable/entry/start.38c5e77c.js">
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.9172086d.js"> <link rel="modulepreload" href="/_app/immutable/chunks/scheduler.9172086d.js">
<link rel="modulepreload" href="/_app/immutable/chunks/singletons.ff897aac.js"> <link rel="modulepreload" href="/_app/immutable/chunks/singletons.03494c70.js">
<link rel="modulepreload" href="/_app/immutable/entry/app.5c5fafd1.js"> <link rel="modulepreload" href="/_app/immutable/entry/app.59a2edc6.js">
<link rel="modulepreload" href="/_app/immutable/chunks/index.c679962e.js"> <link rel="modulepreload" href="/_app/immutable/chunks/index.c679962e.js">
</head> </head>
<body data-sveltekit-preload-data="hover"> <body data-sveltekit-preload-data="hover">
<div style="display: contents"> <div style="display: contents">
<script> <script>
{ {
__sveltekit_1gp1asy = { __sveltekit_t5ayim = {
base: "", base: "",
env: {} env: {}
}; };
@ -23,8 +23,8 @@
const element = document.currentScript.parentElement; const element = document.currentScript.parentElement;
Promise.all([ Promise.all([
import("/_app/immutable/entry/start.c0ca3cdb.js"), import("/_app/immutable/entry/start.38c5e77c.js"),
import("/_app/immutable/entry/app.5c5fafd1.js") import("/_app/immutable/entry/app.59a2edc6.js")
]).then(([kit, app]) => { ]).then(([kit, app]) => {
kit.start(app, element); kit.start(app, element);
}); });

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,50 @@
<script>
import Logo from "$lib/img/topscorer_logo_web.png"
</script>
<div class="header">
<img class="img" src={Logo} alt="logo">
<span class="title">title</span>
</div>
<div>
<form action="" method="post">
<label for="name">Name</label>
<input id="name" type="text">
<label for="category">Category</label>
<input id="category" type="text">
</form>
</div>
<div>
<form action="" method="post">
<label for="firstname">Firstname</label>
<input id="firstname" type="text">
<label for="lastname">Lastname</label>
<input id="lastname" type="text">
<label for="color">Color</label>
<input id="color" type="text">
</form>
<button>+</button>
</div>
<style>
.header {
background-color: black;
color: aliceblue;
display: flex;
}
.header .img {
height: 3rem;
}
.header .title {
font-size: 3rem;
align-self: center;
justify-self: center;
margin-left: 25%;
margin-right: 25%;
}
</style>