-
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.
Merge pull request #2 from include-davis/feat/single-types
single types added for all pages
- Loading branch information
Showing
43 changed files
with
2,917 additions
and
1,208 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 |
---|---|---|
|
@@ -15,4 +15,4 @@ module.exports = ({ env }) => ({ | |
}, | ||
debug: false, | ||
}, | ||
}); | ||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,75 @@ | ||
{ | ||
"kind": "singleType", | ||
"collectionName": "about_uses", | ||
"info": { | ||
"singularName": "about-us", | ||
"pluralName": "about-uses", | ||
"displayName": "about_us", | ||
"description": "" | ||
}, | ||
"options": { | ||
"draftAndPublish": true | ||
}, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"attributes": { | ||
"page_title_and_subtitle": { | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "home.title-description", | ||
"required": true | ||
}, | ||
"sister_clinics": { | ||
"displayName": "clinc_lists", | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "about-us.clinc-lists", | ||
"required": true | ||
}, | ||
"ucd_clinics": { | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "about-us.clinc-lists", | ||
"required": true | ||
}, | ||
"history_cards": { | ||
"displayName": "flipping-card", | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "about-us.flipping-card", | ||
"required": true | ||
}, | ||
"commitment_statement": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "text", | ||
"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'; | ||
|
||
/** | ||
* about-us controller | ||
*/ | ||
|
||
const { createCoreController } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreController('api::about-us.about-us'); |
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'; | ||
|
||
/** | ||
* about-us router | ||
*/ | ||
|
||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreRouter('api::about-us.about-us'); |
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'; | ||
|
||
/** | ||
* about-us service | ||
*/ | ||
|
||
const { createCoreService } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreService('api::about-us.about-us'); |
50 changes: 50 additions & 0 deletions
50
src/api/committees-page/content-types/committees-page/schema.json
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,50 @@ | ||
{ | ||
"kind": "singleType", | ||
"collectionName": "committees_pages", | ||
"info": { | ||
"singularName": "committees-page", | ||
"pluralName": "committees-pages", | ||
"displayName": "committees_page", | ||
"description": "" | ||
}, | ||
"options": { | ||
"draftAndPublish": true | ||
}, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"attributes": { | ||
"title_text": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"cards": { | ||
"displayName": "committee_cards", | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "committees.committee-cards", | ||
"required": true | ||
}, | ||
"back_to_committees": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"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'; | ||
|
||
/** | ||
* committees-page controller | ||
*/ | ||
|
||
const { createCoreController } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreController('api::committees-page.committees-page'); |
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'; | ||
|
||
/** | ||
* committees-page router | ||
*/ | ||
|
||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreRouter('api::committees-page.committees-page'); |
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'; | ||
|
||
/** | ||
* committees-page service | ||
*/ | ||
|
||
const { createCoreService } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreService('api::committees-page.committees-page'); |
95 changes: 95 additions & 0 deletions
95
src/api/get-involved/content-types/get-involved/schema.json
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,95 @@ | ||
{ | ||
"kind": "singleType", | ||
"collectionName": "get_involveds", | ||
"info": { | ||
"singularName": "get-involved", | ||
"pluralName": "get-involveds", | ||
"displayName": "get_involved", | ||
"description": "" | ||
}, | ||
"options": { | ||
"draftAndPublish": true | ||
}, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"attributes": { | ||
"page_title": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"involvement_opportunities": { | ||
"displayName": "involvement_cards", | ||
"type": "component", | ||
"repeatable": false, | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"component": "get-involved.involvement-cards", | ||
"required": true | ||
}, | ||
"details_text": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"sign_up_text": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"donate_today_text": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"donation_instruction": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "text", | ||
"required": true | ||
}, | ||
"thank_you_text": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "string", | ||
"required": true | ||
}, | ||
"address": { | ||
"pluginOptions": { | ||
"i18n": { | ||
"localized": true | ||
} | ||
}, | ||
"type": "text", | ||
"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'; | ||
|
||
/** | ||
* get-involved controller | ||
*/ | ||
|
||
const { createCoreController } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreController('api::get-involved.get-involved'); |
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'; | ||
|
||
/** | ||
* get-involved router | ||
*/ | ||
|
||
const { createCoreRouter } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreRouter('api::get-involved.get-involved'); |
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'; | ||
|
||
/** | ||
* get-involved service | ||
*/ | ||
|
||
const { createCoreService } = require('@strapi/strapi').factories; | ||
|
||
module.exports = createCoreService('api::get-involved.get-involved'); |
Oops, something went wrong.