-
-
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
b0e6df2
commit 3940921
Showing
8 changed files
with
227 additions
and
87 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
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,53 @@ | ||
import React from 'react'; | ||
import { connect } from 'react-redux'; | ||
import { IonCol, IonGrid, IonImg, IonRow, IonText } from '@ionic/react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import ChapterFooter from '../footer'; | ||
|
||
interface ContainerProps {} | ||
|
||
const Chapter0205: React.FC<ContainerProps> = (props) => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<> | ||
<IonGrid class="ion-padding ion-text-justify"> | ||
<IonRow class="ion-justify-content-center"> | ||
<IonCol size="12" sizeSm="6"> | ||
<IonText> | ||
<h2 className="chapter-title">{t(`CHAPTER.02.05.TITLE`)}</h2> | ||
</IonText> | ||
<IonText> | ||
<p>{t(`CHAPTER.02.05.TEXT.PARAGRAPH.01`)}</p> | ||
<ul> | ||
<li>{t(`CHAPTER.02.05.TEXT.LIST.01.010000`)}</li> | ||
<li>{t(`CHAPTER.02.05.TEXT.LIST.01.020000`)}</li> | ||
<li>{t(`CHAPTER.02.05.TEXT.LIST.01.030000`)}</li> | ||
<li>{t(`CHAPTER.02.05.TEXT.LIST.01.040000`)}</li> | ||
<li>{t(`CHAPTER.02.05.TEXT.LIST.01.050000`)}</li> | ||
</ul> | ||
<div className="chapter-image-title"> | ||
<IonImg src={t(`CHAPTER.02.05.IMAGE.01.FILENAME`)} /> | ||
<IonText>{t(`CHAPTER.02.05.IMAGE.01.TITLE`)}</IonText> | ||
</div> | ||
</IonText> | ||
</IonCol> | ||
</IonRow> | ||
</IonGrid> | ||
<ChapterFooter | ||
previousChapter="/chapter/02/04" | ||
nextChapter="/chapter/02/06" | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
const mapStateToProps = (state: any) => { | ||
return {}; | ||
}; | ||
|
||
const mapDispatchToProps = (dispatch: any) => { | ||
return {}; | ||
}; | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Chapter0205); |
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,59 @@ | ||
import React from 'react'; | ||
import { connect } from 'react-redux'; | ||
import { IonCol, IonGrid, IonImg, IonRow, IonText } from '@ionic/react'; | ||
import { useTranslation } from 'react-i18next'; | ||
import ChapterFooter from '../footer'; | ||
|
||
interface ContainerProps {} | ||
|
||
const Chapter0206: React.FC<ContainerProps> = (props) => { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<> | ||
<IonGrid class="ion-padding ion-text-justify"> | ||
<IonRow class="ion-justify-content-center"> | ||
<IonCol size="12" sizeSm="6"> | ||
<IonText> | ||
<h2 className="chapter-title">{t(`CHAPTER.02.06.TITLE`)}</h2> | ||
</IonText> | ||
<IonText> | ||
<p>{t(`CHAPTER.02.06.TEXT.PARAGRAPH.01`)}</p> | ||
<ul> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.010000`)}</li> | ||
<ul> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.010100`)}</li> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.010200`)}</li> | ||
</ul> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.020000`)}</li> | ||
<ul> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.020100`)}</li> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.020200`)}</li> | ||
<li>{t(`CHAPTER.02.06.TEXT.LIST.01.020300`)}</li> | ||
</ul> | ||
</ul> | ||
<div className="chapter-image-title"> | ||
<IonImg src={t(`CHAPTER.02.06.IMAGE.01.FILENAME`)} /> | ||
<IonText>{t(`CHAPTER.02.06.IMAGE.01.TITLE`)}</IonText> | ||
</div> | ||
</IonText> | ||
</IonCol> | ||
</IonRow> | ||
</IonGrid> | ||
<ChapterFooter | ||
previousChapter="/chapter/02/05" | ||
nextChapter="/chapter/03/01" | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
const mapStateToProps = (state: any) => { | ||
return {}; | ||
}; | ||
|
||
const mapDispatchToProps = (dispatch: any) => { | ||
return {}; | ||
}; | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Chapter0206); |
Oops, something went wrong.