+
{#if current && current.slug !== '/'}
-
+
{current.name}
{/if}
@@ -88,7 +88,7 @@
Benjamin
Palko
-
+
diff --git a/strapi/src/api/site-background/content-types/site-background/schema.json b/strapi/src/api/site-background/content-types/site-background/schema.json
new file mode 100644
index 0000000..15dabf0
--- /dev/null
+++ b/strapi/src/api/site-background/content-types/site-background/schema.json
@@ -0,0 +1,19 @@
+{
+ "kind": "singleType",
+ "collectionName": "site_backgrounds",
+ "info": {
+ "singularName": "site-background",
+ "pluralName": "site-backgrounds",
+ "displayName": "Site Background"
+ },
+ "options": {
+ "draftAndPublish": true
+ },
+ "attributes": {
+ "Background": {
+ "allowedTypes": ["images", "files", "videos", "audios"],
+ "type": "media",
+ "multiple": false
+ }
+ }
+}
diff --git a/strapi/src/api/site-background/controllers/site-background.ts b/strapi/src/api/site-background/controllers/site-background.ts
new file mode 100644
index 0000000..7284b59
--- /dev/null
+++ b/strapi/src/api/site-background/controllers/site-background.ts
@@ -0,0 +1,7 @@
+/**
+ * site-background controller
+ */
+
+import { factories } from '@strapi/strapi';
+
+export default factories.createCoreController('api::site-background.site-background');
diff --git a/strapi/src/api/site-background/routes/site-background.ts b/strapi/src/api/site-background/routes/site-background.ts
new file mode 100644
index 0000000..0bddb8d
--- /dev/null
+++ b/strapi/src/api/site-background/routes/site-background.ts
@@ -0,0 +1,7 @@
+/**
+ * site-background router
+ */
+
+import { factories } from '@strapi/strapi';
+
+export default factories.createCoreRouter('api::site-background.site-background');
diff --git a/strapi/src/api/site-background/services/site-background.ts b/strapi/src/api/site-background/services/site-background.ts
new file mode 100644
index 0000000..bfcc5a8
--- /dev/null
+++ b/strapi/src/api/site-background/services/site-background.ts
@@ -0,0 +1,7 @@
+/**
+ * site-background service
+ */
+
+import { factories } from '@strapi/strapi';
+
+export default factories.createCoreService('api::site-background.site-background');