From f4a94f564359e10a2e2d6bd3954b7de04eeb7715 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niklas=20Schr=C3=B6tler?= <niklas@allround.digital>
Date: Sun, 26 Nov 2023 21:01:08 +0100
Subject: [PATCH] Configs: Adapted to new features and panels

---
 public/config/default.json | 19 ++++++++++++-------
 public/config/foobar.json  | 17 ++++-------------
 2 files changed, 16 insertions(+), 20 deletions(-)

diff --git a/public/config/default.json b/public/config/default.json
index feefa3a..0dae420 100644
--- a/public/config/default.json
+++ b/public/config/default.json
@@ -5,21 +5,26 @@
   },
   "panels": [
     {
-      "type": "test",
+      "type": "fahrplan",
       "position": {
         "x": 0,
         "y": 0,
-        "w": 2,
-        "h": 2
+        "w": 6,
+        "h": 10
       }
     },
     {
-      "type": "demo",
+      "type": "bild",
       "position": {
-        "x": 0,
+        "x": 6,
         "y": 0,
-        "w": 2,
-        "h": 2
+        "w": 10,
+        "h": 4
+      },
+      "config": {
+        "url": "/preisliste.png",
+        "title": "FooBar",
+        "description": "Ihr habt dort die Möglichkeit, mit 40 verschiedenen Ansprechpartnern auf der IT-Kontaktmesse Kontakt aufzunehmen. Ihr habt dort die Möglichkeit, mit 40 verschiedenen Ansprechpartnern auf der IT-Kontaktmesse Kontakt aufzunehmen."
       }
     }
   ]
diff --git a/public/config/foobar.json b/public/config/foobar.json
index 6d50b2a..62b1527 100644
--- a/public/config/foobar.json
+++ b/public/config/foobar.json
@@ -1,22 +1,13 @@
 {
   "id": "foobar",
+  "background": "/preisliste.png",
   "schedule": {
     "times": [
       {
-        "from": "2023-11-25T16:26",
-        "to": "2023-11-25T16:27"
+        "from": "2023-11-25T17:30",
+        "to": "2023-11-25T17:31"
       }
     ]
   },
-  "panels": [
-    {
-      "type": "foobar",
-      "position": {
-        "x": 0,
-        "y": 0,
-        "w": 2,
-        "h": 2
-      }
-    }
-  ]
+  "panels": []
 }
-- 
GitLab