add more strapi shit
All checks were successful
Deployment / Deploy website (push) Successful in 2m57s
Deployment / Deploy strapi (push) Successful in 2m54s

This commit is contained in:
Benjamin Palko 2025-05-12 18:12:24 -04:00
parent 18bde0daca
commit 6fa049504b
24 changed files with 595 additions and 62 deletions

View file

@ -0,0 +1,41 @@
{
"kind": "singleType",
"collectionName": "abouts",
"info": {
"singularName": "about",
"pluralName": "abouts",
"displayName": "About",
"description": ""
},
"options": {
"draftAndPublish": true
},
"attributes": {
"Name": {
"type": "string"
},
"Bio": {
"type": "text"
},
"Photo": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": ["images", "files", "videos", "audios"]
},
"Activities": {
"displayName": "Thing I Do",
"type": "component",
"repeatable": true,
"component": "shared.thing-i-do",
"max": 4,
"min": 4
},
"Titles": {
"displayName": "Title",
"type": "component",
"repeatable": true,
"component": "shared.title"
}
}
}

View file

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

View file

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

View file

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

View file

@ -0,0 +1,29 @@
{
"kind": "collectionType",
"collectionName": "educations",
"info": {
"singularName": "education",
"pluralName": "educations",
"displayName": "Education"
},
"options": {
"draftAndPublish": true
},
"attributes": {
"Institute": {
"type": "string"
},
"StartDate": {
"type": "date"
},
"EndDate": {
"type": "date"
},
"Field": {
"type": "string"
},
"Description": {
"type": "text"
}
}
}

View file

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

View file

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

View file

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

View file

@ -0,0 +1,41 @@
{
"kind": "collectionType",
"collectionName": "experiences",
"info": {
"singularName": "experience",
"pluralName": "experiences",
"displayName": "Experience",
"description": ""
},
"options": {
"draftAndPublish": true
},
"attributes": {
"Title": {
"type": "string",
"required": true
},
"Company": {
"type": "string",
"required": true,
"unique": true
},
"Description": {
"type": "text",
"required": true
},
"StartDate": {
"type": "date",
"required": true
},
"EndDate": {
"type": "date"
},
"Logo": {
"type": "media",
"multiple": false,
"required": false,
"allowedTypes": ["images", "files", "videos", "audios"]
}
}
}

View file

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

View file

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

View file

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

View file

@ -0,0 +1,17 @@
{
"collectionName": "components_shared_thing_i_dos",
"info": {
"displayName": "Thing I Do",
"icon": "walk",
"description": ""
},
"options": {},
"attributes": {
"Title": {
"type": "string"
},
"Description": {
"type": "text"
}
}
}

View file

@ -0,0 +1,14 @@
{
"collectionName": "components_shared_titles",
"info": {
"displayName": "Title",
"icon": "user",
"description": ""
},
"options": {},
"attributes": {
"value": {
"type": "string"
}
}
}