-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
beec009
commit 2d0d342
Showing
11 changed files
with
384 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { IonItem, IonLabel, IonText } from '@ionic/react'; | ||
import React from 'react'; | ||
|
||
type ComponentProps = { | ||
name: string; | ||
position: string; | ||
}; | ||
|
||
export const CreditsMemberItem: React.FC<ComponentProps> = (props) => { | ||
const { name, position } = props; | ||
|
||
return ( | ||
<IonItem> | ||
<IonLabel> | ||
<IonText> | ||
{name} | ||
<p>{position}</p> | ||
</IonText> | ||
</IonLabel> | ||
</IonItem> | ||
); | ||
}; |
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 @@ | ||
export { CreditsMemberItem } from './CreditsMemberItem'; |
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,32 @@ | ||
import { IonLabel, IonList, IonListHeader } from '@ionic/react'; | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { CREDITS_TEAM_MENTOR } from '../../data/credits/credits'; | ||
import { CreditsMemberItem } from '../CreditsMemberItem'; | ||
|
||
export const CreditsTeamMentor: React.FC = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<IonList> | ||
<IonListHeader> | ||
<IonLabel>{t('CREDITS.TEAM.MENTOR')}</IonLabel> | ||
</IonListHeader> | ||
{CREDITS_TEAM_MENTOR.map((team, teamIndex) => { | ||
return ( | ||
<React.Fragment key={teamIndex}> | ||
{team.members.map((member, memberIndex) => { | ||
return ( | ||
<CreditsMemberItem | ||
key={memberIndex} | ||
name={t(member.name)} | ||
position={t(member.position)} | ||
/> | ||
); | ||
})} | ||
</React.Fragment> | ||
); | ||
})} | ||
</IonList> | ||
); | ||
}; |
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,32 @@ | ||
import { IonLabel, IonList, IonListHeader } from '@ionic/react'; | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { CREDITS_TEAM_MMH } from '../../data/credits/credits'; | ||
import { CreditsMemberItem } from '../CreditsMemberItem'; | ||
|
||
export const CreditsTeamMmh: React.FC = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<IonList> | ||
<IonListHeader> | ||
<IonLabel>{t('CREDITS.TEAM.MMH')}</IonLabel> | ||
</IonListHeader> | ||
{CREDITS_TEAM_MMH.map((team, teamIndex) => { | ||
return ( | ||
<React.Fragment key={teamIndex}> | ||
{team.members.map((member, memberIndex) => { | ||
return ( | ||
<CreditsMemberItem | ||
key={memberIndex} | ||
name={t(member.name)} | ||
position={t(member.position)} | ||
/> | ||
); | ||
})} | ||
</React.Fragment> | ||
); | ||
})} | ||
</IonList> | ||
); | ||
}; |
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 @@ | ||
import { IonItemDivider, IonLabel, IonList, IonListHeader } from '@ionic/react'; | ||
import React from 'react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import { CREDITS_TEAM_PROJECT } from '../../data/credits/credits'; | ||
import { CreditsMemberItem } from '../CreditsMemberItem'; | ||
|
||
export const CreditsTeamProject: React.FC = () => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<IonList> | ||
<IonListHeader> | ||
<IonLabel>{t('CREDITS.TEAM.PROJECT')}</IonLabel> | ||
</IonListHeader> | ||
{CREDITS_TEAM_PROJECT.map((team, teamIndex) => { | ||
return ( | ||
<React.Fragment key={teamIndex}> | ||
<IonItemDivider class="ion-padding-top"> | ||
<IonLabel>{t(team.title)}</IonLabel> | ||
</IonItemDivider> | ||
{team.members.map((member, memberIndex) => { | ||
return ( | ||
<CreditsMemberItem | ||
key={memberIndex} | ||
name={t(member.name)} | ||
position={t(member.position)} | ||
/> | ||
); | ||
})} | ||
</React.Fragment> | ||
); | ||
})} | ||
</IonList> | ||
); | ||
}; |
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,3 @@ | ||
export { CreditsTeamMentor } from './CreditsTeamMentor'; | ||
export { CreditsTeamMmh } from './CreditsTeamMmh'; | ||
export { CreditsTeamProject } from './CreditsTeamProject'; |
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,187 @@ | ||
export const CREDITS_CULTURE_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.CULTURE.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.CULTURE.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.CULTURE.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.CULTURE.MEMBER.02.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.CULTURE.MEMBER.03.NAME', | ||
position: 'CREDITS.GROUP.CULTURE.MEMBER.03.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_DRAWING_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.DRAWING.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.DRAWING.MEMBER.01.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_IT_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.IT.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.IT.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.IT.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.IT.MEMBER.02.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_MENTOR_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.MENTOR.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.MENTOR.MEMBER.01.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_MMH_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.MMH.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.MMH.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.MMH.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.MMH.MEMBER.02.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.MMH.MEMBER.03.NAME', | ||
position: 'CREDITS.GROUP.MMH.MEMBER.03.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.MMH.MEMBER.04.NAME', | ||
position: 'CREDITS.GROUP.MMH.MEMBER.04.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_SUPPORT_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.02.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.03.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.03.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.04.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.04.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.05.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.05.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.06.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.06.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.SUPPORT.MEMBER.07.NAME', | ||
position: 'CREDITS.GROUP.SUPPORT.MEMBER.07.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_TRANSLATOR_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.02.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.03.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.03.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.04.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.04.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.05.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.05.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.06.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.06.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.07.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.07.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.TRANSLATOR.MEMBER.08.NAME', | ||
position: 'CREDITS.GROUP.TRANSLATOR.MEMBER.08.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_VETERINARIAN_MEMBERS = [ | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.01.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.01.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.02.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.02.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.03.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.03.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.04.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.04.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.05.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.05.POSITION', | ||
}, | ||
{ | ||
name: 'CREDITS.GROUP.VETERINARIAN.MEMBER.06.NAME', | ||
position: 'CREDITS.GROUP.VETERINARIAN.MEMBER.06.POSITION', | ||
}, | ||
]; | ||
|
||
export const CREDITS_TEAM_PROJECT = [ | ||
{ | ||
title: 'CREDITS.GROUP.VETERINARIAN.TITLE', | ||
members: CREDITS_VETERINARIAN_MEMBERS, | ||
}, | ||
{ | ||
title: 'CREDITS.GROUP.TRANSLATOR.TITLE', | ||
members: CREDITS_TRANSLATOR_MEMBERS, | ||
}, | ||
{ | ||
title: 'CREDITS.GROUP.IT.TITLE', | ||
members: CREDITS_IT_MEMBERS, | ||
}, | ||
{ | ||
title: 'CREDITS.GROUP.SUPPORT.TITLE', | ||
members: CREDITS_SUPPORT_MEMBERS, | ||
}, | ||
{ | ||
title: 'CREDITS.GROUP.DRAWING.TITLE', | ||
members: CREDITS_DRAWING_MEMBERS, | ||
}, | ||
]; | ||
|
||
export const CREDITS_TEAM_MENTOR = [ | ||
{ | ||
title: 'CREDITS.GROUP.MENTOR.TITLE', | ||
members: CREDITS_MENTOR_MEMBERS, | ||
}, | ||
]; | ||
export const CREDITS_TEAM_MMH = [ | ||
{ | ||
title: 'CREDITS.GROUP.MMH.TITLE', | ||
members: CREDITS_MMH_MEMBERS, | ||
}, | ||
]; |
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.