switch to forest theme

This commit is contained in:
Benjamin Palko 2025-05-12 18:11:20 -04:00
parent ce50f8a6d6
commit 3ea150227b
9 changed files with 76 additions and 11 deletions

View file

@ -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
}
}
}

View file

@ -0,0 +1,7 @@
/**
* site-background controller
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreController('api::site-background.site-background');

View file

@ -0,0 +1,7 @@
/**
* site-background router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::site-background.site-background');

View file

@ -0,0 +1,7 @@
/**
* site-background service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::site-background.site-background');