-
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.
- Loading branch information
Showing
42 changed files
with
11,413 additions
and
271 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 |
---|---|---|
|
@@ -30,3 +30,6 @@ next-env.d.ts | |
|
||
# Local Netlify folder | ||
.netlify | ||
|
||
# auto-generated migrations | ||
database/migrations/*update* |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
const { ContentType, FieldType } = require('@include/hearth'); | ||
|
||
const aboutUs = new ContentType({ | ||
name: 'about-us-chinese', | ||
singularDisplayName: 'About Us (Chinese)', | ||
}); | ||
|
||
aboutUs | ||
.createField({ | ||
name: 'page_title', | ||
displayName: 'Page Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'page_subtitle', | ||
displayName: 'Page Subtitle', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'commitment_statement', | ||
displayName: 'Commitment Statement', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_title', | ||
displayName: 'History Card 1: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_text', | ||
displayName: 'History Card 1: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_title', | ||
displayName: 'History Card 2: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_text', | ||
displayName: 'History Card 2: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_title', | ||
displayName: 'History Card 3: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_text', | ||
displayName: 'History Card 3: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_title', | ||
displayName: 'History Card 4: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_text', | ||
displayName: 'History Card 4: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_title', | ||
displayName: 'History Card 5: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_text', | ||
displayName: 'History Card 5: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics_text', | ||
displayName: '"Sister Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics', | ||
displayName: 'Sister Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics_text', | ||
displayName: '"UCD Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics', | ||
displayName: 'UCD Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}); | ||
|
||
module.exports = aboutUs; |
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,112 @@ | ||
const { ContentType, FieldType } = require('@include/hearth'); | ||
|
||
const aboutUs = new ContentType({ | ||
name: 'about-us-english', | ||
singularDisplayName: 'About Us (English)', | ||
}); | ||
|
||
aboutUs | ||
.createField({ | ||
name: 'page_title', | ||
displayName: 'Page Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'page_subtitle', | ||
displayName: 'Page Subtitle', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'commitment_statement', | ||
displayName: 'Commitment Statement', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_title', | ||
displayName: 'History Card 1: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_text', | ||
displayName: 'History Card 1: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_title', | ||
displayName: 'History Card 2: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_text', | ||
displayName: 'History Card 2: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_title', | ||
displayName: 'History Card 3: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_text', | ||
displayName: 'History Card 3: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_title', | ||
displayName: 'History Card 4: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_text', | ||
displayName: 'History Card 4: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_title', | ||
displayName: 'History Card 5: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_text', | ||
displayName: 'History Card 5: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics_text', | ||
displayName: '"Sister Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics', | ||
displayName: 'Sister Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics_text', | ||
displayName: '"UCD Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics', | ||
displayName: 'UCD Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}); | ||
|
||
module.exports = aboutUs; |
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,142 @@ | ||
const { ContentType, FieldType } = require('@include/hearth'); | ||
|
||
const aboutUs = new ContentType({ | ||
name: 'about-us-hmong', | ||
singularDisplayName: 'About Us (Hmong)', | ||
}); | ||
|
||
aboutUs | ||
.createField({ | ||
name: 'page_title', | ||
displayName: 'Page Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'page_subtitle', | ||
displayName: 'Page Subtitle', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'commitment_statement', | ||
displayName: 'Commitment Statement', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_title', | ||
displayName: 'History Card 1: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_text', | ||
displayName: 'History Card 1: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_1_image', | ||
displayName: 'History Card 1: Image', | ||
type: FieldType.MEDIA_LIST, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_title', | ||
displayName: 'History Card 2: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_text', | ||
displayName: 'History Card 2: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_2_image', | ||
displayName: 'History Card 2: Image', | ||
type: FieldType.MEDIA_LIST, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_title', | ||
displayName: 'History Card 3: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_text', | ||
displayName: 'History Card 3: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_3_image', | ||
displayName: 'History Card 3: Image', | ||
type: FieldType.MEDIA_LIST, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_title', | ||
displayName: 'History Card 4: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_text', | ||
displayName: 'History Card 4: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_4_image', | ||
displayName: 'History Card 4: Image', | ||
type: FieldType.MEDIA_LIST, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_title', | ||
displayName: 'History Card 5: Title', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_text', | ||
displayName: 'History Card 5: Text', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'history_card_5_image', | ||
displayName: 'History Card 5: Image', | ||
type: FieldType.MEDIA_LIST, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics_text', | ||
displayName: '"Sister Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'sister_clinics', | ||
displayName: 'Sister Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics_text', | ||
displayName: '"UCD Clinics" text', | ||
type: FieldType.SHORT_TEXT, | ||
required: true, | ||
}) | ||
.createField({ | ||
name: 'ucd_clinics', | ||
displayName: 'UCD Clinics (Use a bulleted list, each bullet formatted exactly like Clinic Name - link', | ||
type: FieldType.LONG_TEXT, | ||
required: true, | ||
}); | ||
|
||
module.exports = aboutUs; |
Oops, something went wrong.