-
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.
53 functionality for adding partner data in strapi (#55)
* feat(backend): ✨ Create partner content type * feat(frontend): ✨ Map backend partner data to partner page Used graphql query to map backend partner data to the partner page * style(frontend): 💄 Change the width for all cards in partner page to have the same width. * fix(frontend): 🐛 Export edge runtime --------- Co-authored-by: Lucas Tran <lucastran1107@gmail.com>
- Loading branch information
2 people
authored and
GitHub
committed
Jan 29, 2024
1 parent
04e1c42
commit 6b7e1ae
Showing
12 changed files
with
2,266 additions
and
253 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,35 @@ | ||
| { | ||
| "kind": "collectionType", | ||
| "collectionName": "partners", | ||
| "info": { | ||
| "singularName": "partner", | ||
| "pluralName": "partners", | ||
| "displayName": "Partner" | ||
| }, | ||
| "options": { | ||
| "draftAndPublish": true | ||
| }, | ||
| "pluginOptions": {}, | ||
| "attributes": { | ||
| "partnerName": { | ||
| "type": "string", | ||
| "required": true | ||
| }, | ||
| "logoUrl": { | ||
| "type": "string" | ||
| }, | ||
| "logoImage": { | ||
| "allowedTypes": [ | ||
| "images", | ||
| "files", | ||
| "videos", | ||
| "audios" | ||
| ], | ||
| "type": "media", | ||
| "multiple": false | ||
| }, | ||
| "websiteUrl": { | ||
| "type": "string" | ||
| } | ||
| } | ||
| } |
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'; | ||
|
|
||
| /** | ||
| * partner controller | ||
| */ | ||
|
|
||
| const { createCoreController } = require('@strapi/strapi').factories; | ||
|
|
||
| module.exports = createCoreController('api::partner.partner'); |
Oops, something went wrong.