-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/registration
- Loading branch information
Showing
24 changed files
with
171 additions
and
27 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 |
---|---|---|
|
@@ -22,4 +22,3 @@ $side-padding: 1em; | |
width: calc(100% - $side-padding * 2); | ||
} | ||
} | ||
|
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
18 changes: 18 additions & 0 deletions
18
frontend/src/Pages/LycheAboutPage/LycheAboutPage.module.scss
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,18 @@ | ||
@import 'src/mixins'; | ||
|
||
@import 'src/constants'; | ||
|
||
.container { | ||
width: 100%; | ||
height: 100%; | ||
margin: $sulten-navbar-height/4 0 $sulten-navbar-height/4 0; //this looked the best | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
z-index: 10; | ||
@include flex-column-center; | ||
@include for-mobile-down { | ||
margin-top: $sulten-navbar-height; | ||
} | ||
} |
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,55 @@ | ||
import { useTranslation } from 'react-i18next'; | ||
import { SultenPage } from '~/Components/SultenPage'; | ||
import { useTextItem } from '~/hooks'; | ||
import { KEY } from '~/i18n/constants'; | ||
import styles from './LycheAboutPage.module.scss'; | ||
import { TextItem } from '~/constants'; | ||
import { SultenCard } from '~/Components'; | ||
import { burger, soup, dessert } from '~/assets'; | ||
|
||
export function LycheAboutPage() { | ||
const { t } = useTranslation(); | ||
|
||
const aboutCardWhatIsLyche = ( | ||
<SultenCard | ||
image={soup} | ||
imageAlt={'Chef'} | ||
header={t(KEY.sulten_what_is_lyche)} | ||
text={useTextItem(TextItem.sulten_what_is_lyche_text)} | ||
imageAlignment="right" | ||
smallCard={true} | ||
/> | ||
); | ||
const aboutCardLycheGoal = ( | ||
<SultenCard | ||
image={burger} | ||
imageAlt={'Chef'} | ||
header={t(KEY.sulten_lyche_goal)} | ||
text={useTextItem(TextItem.sulten_lyche_goal_text)} | ||
imageAlignment="left" | ||
smallCard={true} | ||
/> | ||
); | ||
const aboutCardLycheAboutMenu = ( | ||
<SultenCard | ||
image={dessert} | ||
imageAlt={'Chef'} | ||
header={t(KEY.sulten_lyche_about_menu)} | ||
text={useTextItem(TextItem.sulten_lyche_about_menu_text)} | ||
imageAlignment="right" | ||
smallCard={true} | ||
/> | ||
); | ||
|
||
return ( | ||
<> | ||
<SultenPage> | ||
<div className={styles.container}> | ||
{aboutCardWhatIsLyche} | ||
{aboutCardLycheGoal} | ||
{aboutCardLycheAboutMenu} | ||
</div> | ||
</SultenPage> | ||
</> | ||
); | ||
} |
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 { LycheAboutPage } from './LycheAboutPage'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { LycheHomePage } from './LycheHomePage'; |
File renamed without changes.
This file was deleted.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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