-
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
1 parent
032526c
commit 1de01f1
Showing
6 changed files
with
37 additions
and
22 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* * */ | ||
|
||
import styles from './AppVersion.module.css'; | ||
import pjson from '../../package.json'; | ||
|
||
/* * */ | ||
|
||
export default function AppVersion() { | ||
return <p className={styles.container}>{pjson.version}</p>; | ||
} |
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,17 @@ | ||
/* * */ | ||
/* CONTAINER */ | ||
|
||
.container { | ||
width: 100%; | ||
margin: 0 auto; | ||
max-width: 1000px; | ||
padding: 15px var(--size-lg) 30px var(--size-lg); | ||
display: flex; | ||
flex-direction: column; | ||
align-items: flex-start; | ||
justify-content: flex-start; | ||
gap: 150px; | ||
font-size: 10px; | ||
font-weight: 600; | ||
color: rgba(0, 0, 0, 0.25); | ||
} |
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 |
---|---|---|
@@ -1,9 +1,15 @@ | ||
/* * */ | ||
|
||
import AppVersion from '../AppVersion/AppVersion'; | ||
import styles from './AppWrapper.module.css'; | ||
|
||
/* * */ | ||
|
||
export default function AppWrapper({ children }) { | ||
return <div className={styles.container}>{children}</div>; | ||
return ( | ||
<div className={styles.container}> | ||
{children} | ||
<AppVersion /> | ||
</div> | ||
); | ||
} |
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