diff --git a/public/content/home/acy-1.jpg b/public/content/home/acy-1.jpg deleted file mode 100644 index d6b2e64..0000000 Binary files a/public/content/home/acy-1.jpg and /dev/null differ diff --git a/public/content/home/acy-1.jpg.txt b/public/content/home/acy-1.jpg.txt deleted file mode 100644 index f0bd989..0000000 --- a/public/content/home/acy-1.jpg.txt +++ /dev/null @@ -1,5 +0,0 @@ -Uuid: qHw8nu1sgsbs0G6q - ----- - -Template: blocks/image \ No newline at end of file diff --git a/public/content/home/home.txt b/public/content/home/home.txt index 2966c32..dd6e110 100644 --- a/public/content/home/home.txt +++ b/public/content/home/home.txt @@ -2,7 +2,7 @@ Title: Home ---- -Testimages: - file://4xs4UNZhQf3jLvsG +Testimages: ---- @@ -10,7 +10,7 @@ Testtext: test ---- -Testblocks: [{"content":{"location":"kirby","image":["file://qHw8nu1sgsbs0G6q"],"src":"","alt":"","caption":"","link":"","ratio":"","crop":"false"},"id":"9f5c767f-0b50-471c-85de-5c3d18fb596a","isHidden":false,"type":"image"}] +Testblocks: [{"content":{"location":"kirby","image":["home/image.png"],"src":"","alt":"","caption":"","link":"","ratio":"","crop":"false"},"id":"ad071a0e-852b-473b-9f6f-46ea4079168e","isHidden":false,"type":"image"}] ---- diff --git a/public/content/home/image.png b/public/content/home/image.png new file mode 100644 index 0000000..6f1fc00 Binary files /dev/null and b/public/content/home/image.png differ diff --git a/public/content/home/image.png.txt b/public/content/home/image.png.txt new file mode 100644 index 0000000..ac2b32c --- /dev/null +++ b/public/content/home/image.png.txt @@ -0,0 +1 @@ +Template: blocks/image \ No newline at end of file diff --git a/public/content/home/signal-2024-07-01-214357.jpg b/public/content/home/signal-2024-07-01-214357.jpg deleted file mode 100644 index 078dd9f..0000000 Binary files a/public/content/home/signal-2024-07-01-214357.jpg and /dev/null differ diff --git a/public/content/home/signal-2024-07-01-214357.jpg.txt b/public/content/home/signal-2024-07-01-214357.jpg.txt deleted file mode 100644 index 81a3cff..0000000 --- a/public/content/home/signal-2024-07-01-214357.jpg.txt +++ /dev/null @@ -1 +0,0 @@ -Uuid: 4xs4UNZhQf3jLvsG \ No newline at end of file diff --git a/public/site/config/config.php b/public/site/config/config.php index 090068c..4c7232c 100644 --- a/public/site/config/config.php +++ b/public/site/config/config.php @@ -6,5 +6,8 @@ return [ 'basicAuth' => true, // Enable api access without SSL. To disable in production. 'allowInsecure' => true + ], + 'content' => [ + 'uuid' => false ] ]; \ No newline at end of file diff --git a/public/site/templates/home.json.php b/public/site/templates/home.json.php index 522ef8c..be91710 100644 --- a/public/site/templates/home.json.php +++ b/public/site/templates/home.json.php @@ -1,6 +1,9 @@ testBlocks()->toBlocks()->toArray(); +$specificData = [ + 'blocks' => $blocks +]; $data = array_merge($genericData, $specificData); diff --git a/src/components/Btn.vue b/src/components/Btn.vue new file mode 100644 index 0000000..f674efe --- /dev/null +++ b/src/components/Btn.vue @@ -0,0 +1,11 @@ + + + + + diff --git a/src/views/Home.vue b/src/views/Home.vue index 0e3188a..b1a4e58 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -2,7 +2,11 @@

{{ data.content.title }}