-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ yarn-error.log | |
/.idea | ||
/.vscode | ||
/.zed | ||
.php-cs-fixer.cache |
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
packages/frontend/web-laravel/.vite/deps_temp_dfa89c99/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"type": "module" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/frontend/web-laravel/resources/js/Pages/MapPools/Create.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script> | ||
import Layout from '@/Shared/Layout.svelte' | ||
import { useForm } from '@inertiajs/svelte' | ||
let form = useForm({ | ||
name: '', | ||
}) | ||
const createMapPool = () => { | ||
$form.post('/map_pools') | ||
} | ||
</script> | ||
|
||
<Layout> | ||
<form on:submit|preventDefault={createMapPool}> | ||
<label for="title">Title</label> | ||
<input type="text" id="title" bind:value={$form.name} /> | ||
|
||
<button type="submit">Create Map Pool</button> | ||
</form> | ||
</Layout> |
24 changes: 3 additions & 21 deletions
24
packages/frontend/web-laravel/resources/js/Pages/MapPools/Index.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters