-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(frontend): ✨ make initial people page * style(frontend): 💄 Add some styling to projects table * feat(frontend): ✨ add people data query to team page * feat(frontend): ✨ Add people to peoples page and put them in categories Co-authored-by: Mats <mnyflot@gmail.com> * refactor(frontend): ♻️ Fix eslint and prettier errors --------- Co-authored-by: Mats <mnyflot@gmail.com> Co-authored-by: Jakob Grøtan Gregusson <jakobgg@stud.ntnu.no>
- Loading branch information
3 people
authored and
GitHub
committed
Jan 31, 2024
1 parent
d9e39c3
commit c9db0df
Showing
17 changed files
with
4,296 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| { | ||
| "kind": "collectionType", | ||
| "collectionName": "people", | ||
| "info": { | ||
| "singularName": "person", | ||
| "pluralName": "people", | ||
| "displayName": "person", | ||
| "description": "" | ||
| }, | ||
| "options": { | ||
| "draftAndPublish": true | ||
| }, | ||
| "pluginOptions": {}, | ||
| "attributes": { | ||
| "name": { | ||
| "type": "string", | ||
| "required": true | ||
| }, | ||
| "workTitle": { | ||
| "type": "string", | ||
| "required": false | ||
| }, | ||
| "employeeLink": { | ||
| "type": "string" | ||
| }, | ||
| "profilePicture": { | ||
| "type": "media", | ||
| "multiple": false, | ||
| "required": false, | ||
| "allowedTypes": [ | ||
| "images", | ||
| "files", | ||
| "videos", | ||
| "audios" | ||
| ] | ||
| }, | ||
| "profilePictureURL": { | ||
| "type": "string" | ||
| }, | ||
| "role": { | ||
| "type": "enumeration", | ||
| "enum": [ | ||
| "Researchers", | ||
| "PhD candidates", | ||
| "Engineers", | ||
| "Contact us" | ||
| ], | ||
| "required": true | ||
| } | ||
| } | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| 'use strict'; | ||
|
|
||
| /** | ||
| * person controller | ||
| */ | ||
|
|
||
| const { createCoreController } = require('@strapi/strapi').factories; | ||
|
|
||
| module.exports = createCoreController('api::person.person'); |
Oops, something went wrong.