-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into my-pages/healthcenter-update
- Loading branch information
Showing
61 changed files
with
1,043 additions
and
311 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
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 |
---|---|---|
|
@@ -5,6 +5,8 @@ export const notificationModuleConfig = defineConfig({ | |
load: (env) => ({ | ||
production: env.optional('NODE_ENV') === 'production', | ||
courtOfAppealsId: '4676f08b-aab4-4b4f-a366-697540788088', | ||
shouldUseWhitelist: | ||
env.required('CONTENTFUL_ENVIRONMENT', 'test') !== 'master', | ||
email: { | ||
fromEmail: env.required('EMAIL_FROM', '[email protected]'), | ||
fromName: env.required('EMAIL_FROM_NAME', 'Réttarvörslugátt'), | ||
|
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
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
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
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
File renamed without changes.
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
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,38 @@ | ||
import { m } from '../messages' | ||
|
||
export const CATEGORY_TAG_SLUGS = [ | ||
'grant-category-business', | ||
'grant-category-culture-and-arts', | ||
'grant-category-native', | ||
'grant-category-research', | ||
'grant-category-innovation', | ||
'grant-category-global', | ||
'grant-category-professional-education', | ||
'grant-category-education-and-teaching', | ||
'grant-category-youth-and-sports', | ||
] as const | ||
|
||
export type CategorySlug = typeof CATEGORY_TAG_SLUGS[number] | ||
|
||
export const mapTagToMessageId = (tagSlug: CategorySlug) => { | ||
switch (tagSlug) { | ||
case 'grant-category-business': | ||
return m.home.grantCategoryBusinessDescription | ||
case 'grant-category-culture-and-arts': | ||
return m.home.grantCategoryCultureAndArtsDescription | ||
case 'grant-category-native': | ||
return m.home.grantCategoryNativeDescription | ||
case 'grant-category-research': | ||
return m.home.grantCategoryResearchDescription | ||
case 'grant-category-innovation': | ||
return m.home.grantCategoryInnovationDescription | ||
case 'grant-category-global': | ||
return m.home.grantCategoryGlobalDescription | ||
case 'grant-category-professional-education': | ||
return m.home.grantCategoryProfessionalEducationDescription | ||
case 'grant-category-education-and-teaching': | ||
return m.home.grantCategoryEducationAndTeachingDescription | ||
case 'grant-category-youth-and-sports': | ||
return m.home.grantCategoryYouthAndSportsDescription | ||
} | ||
} |
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
Oops, something went wrong.