video-starter
This commit is contained in:
parent
3908681038
commit
28b1cb60f1
3
src/routes/+layout.server.ts
Normal file
3
src/routes/+layout.server.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import type { LayoutServerLoad } from "./$types"
|
||||
|
||||
export const load: LayoutServerLoad = async () => {}
|
@ -28,7 +28,7 @@
|
||||
<h3>New Article</h3>
|
||||
<label for="title"> Title </label>
|
||||
<input type="text" id="title" name="title" />
|
||||
<label for="title"> Title </label>
|
||||
<label for="title"> Content </label>
|
||||
<textarea id="content" name="content" rows={5} />
|
||||
<button type="submit">Add Article</button>
|
||||
</form>
|
||||
|
5
src/routes/logout/+server.ts
Normal file
5
src/routes/logout/+server.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import type { RequestHandler } from "./$types"
|
||||
|
||||
export const POST: RequestHandler = async () => {
|
||||
return new Response()
|
||||
}
|
Loading…
Reference in New Issue
Block a user