-
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.
269 create a hero section on the front page (#271)
* Fix window not defined error #269 * Fix window not defined * Nice * Hero on website displaying team, fix window not defined, maybe fixed epileptic epileptic seizure from globe? * Prettier and lint
- Loading branch information
EliasKnudsen
authored and
GitHub
committed
Apr 13, 2024
1 parent
e534241
commit 82c6249
Showing
12 changed files
with
402 additions
and
107 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,30 @@ | ||
| { | ||
| "kind": "singleType", | ||
| "collectionName": "heroes", | ||
| "info": { | ||
| "singularName": "hero", | ||
| "pluralName": "heroes", | ||
| "displayName": "Hero", | ||
| "description": "" | ||
| }, | ||
| "options": { | ||
| "draftAndPublish": true | ||
| }, | ||
| "pluginOptions": {}, | ||
| "attributes": { | ||
| "image": { | ||
| "type": "media", | ||
| "multiple": false, | ||
| "required": true, | ||
| "allowedTypes": [ | ||
| "images", | ||
| "files", | ||
| "videos", | ||
| "audios" | ||
| ] | ||
| }, | ||
| "text": { | ||
| "type": "text" | ||
| } | ||
| } | ||
| } |
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'; | ||
|
|
||
| /** | ||
| * hero controller | ||
| */ | ||
|
|
||
| const { createCoreController } = require('@strapi/strapi').factories; | ||
|
|
||
| module.exports = createCoreController('api::hero.hero'); |
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'; | ||
|
|
||
| /** | ||
| * hero router | ||
| */ | ||
|
|
||
| const { createCoreRouter } = require('@strapi/strapi').factories; | ||
|
|
||
| module.exports = createCoreRouter('api::hero.hero'); |
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'; | ||
|
|
||
| /** | ||
| * hero service | ||
| */ | ||
|
|
||
| const { createCoreService } = require('@strapi/strapi').factories; | ||
|
|
||
| module.exports = createCoreService('api::hero.hero'); |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.