All the pages are working again, but Alpine is insanely frustrating.
This commit is contained in:
parent
81cf5e0d93
commit
7125bc2d2a
15 changed files with 95 additions and 40 deletions
|
@ -1,17 +1,19 @@
|
|||
<script>
|
||||
let req = new GetJson("/api/game/1/index.json");
|
||||
let Game = new GetJson("/api/game/1");
|
||||
</script>
|
||||
|
||||
<blockstart>
|
||||
<shape style="--w: 100%; --h: 300px">Gameplay Demo Video</shape>
|
||||
|
||||
<block style="--value: 7">
|
||||
<h1 x-text="Game.title">Title</h1>
|
||||
<block style="--value: 7"
|
||||
x-data="{item: {}}"
|
||||
x-init="item = await Game.item()">
|
||||
<h1 x-text="item.title"></h1>
|
||||
|
||||
<block class="horizontal">
|
||||
<shape style="--w: 200px; --h: 200px;">Some Image</shape>
|
||||
<shape style="--w: 200px; --h: 200px;">Some Image</shape>
|
||||
|
||||
<p x-text="Game.description">Description</p>
|
||||
<p x-text="item.description"></p>
|
||||
</block>
|
||||
</block>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue