-
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.
Merge branch 'master' into 23-feat-fe-detail한-부분들-수정-및-구현
- Loading branch information
Showing
18 changed files
with
172 additions
and
56 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
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.
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
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,25 @@ | ||
import { useLocation } from 'react-router-dom'; | ||
import RG from 'react-ga'; | ||
import { useEffect, useState } from 'react'; | ||
|
||
const usePageTracking = () => { | ||
const location = useLocation(); | ||
const [init, setInit] = useState(false); | ||
|
||
useEffect(() => { | ||
if (!window.location.href.includes('localhost')) { | ||
RG.initialize( | ||
process.env.REACT_APP_GATI ? process.env.REACT_APP_GATI : '', | ||
); | ||
} | ||
setInit(true); | ||
}, []); | ||
|
||
useEffect(() => { | ||
if (init) { | ||
RG.pageview(location.pathname + location.search); | ||
} | ||
}, [init, location]); | ||
}; | ||
|
||
export default usePageTracking; |
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,49 @@ | ||
import { Box, Container, Typography } from '@mui/material'; | ||
import React from 'react'; | ||
import Logo from '@assets/logo512.png'; | ||
|
||
const AboutPage = () => { | ||
return ( | ||
<Container maxWidth="sm"> | ||
<Box sx={{ textAlign: 'center' }} py={10}> | ||
<img src={Logo} alt="logo" style={{ width: 256, height: 256 }} /> | ||
<Box py={3}> | ||
<Typography variant="h6">Beta version</Typography> | ||
<Typography> | ||
현재 베타 버전입니다. 점진적으로 수정 계획에 있습니다. | ||
</Typography> | ||
</Box> | ||
<Box py={3}> | ||
<Typography variant="h6">MbtiWithUs</Typography> | ||
<Typography> | ||
{`Lorem Ipsum is simply dummy text of the printing and typesetting | ||
industry. Lorem Ipsum has been the industry's standard dummy text | ||
ever since the 1500s, when an unknown printer took a galley of type | ||
and scrambled it to make a type specimen book. It has survived not | ||
only five centuries, but also the leap into electronic typesetting, | ||
remaining essentially unchanged. It was popularised in the 1960s | ||
with the release of Letraset sheets containing Lorem Ipsum passages, | ||
and more recently with desktop publishing software like Aldus | ||
PageMaker including versions of Lorem Ipsum.`} | ||
</Typography> | ||
</Box> | ||
<Box py={3}> | ||
<Typography variant="h6">MbtiWithUs</Typography> | ||
<Typography> | ||
{`Lorem Ipsum is simply dummy text of the printing and typesetting | ||
industry. Lorem Ipsum has been the industry's standard dummy text | ||
ever since the 1500s, when an unknown printer took a galley of type | ||
and scrambled it to make a type specimen book. It has survived not | ||
only five centuries, but also the leap into electronic typesetting, | ||
remaining essentially unchanged. It was popularised in the 1960s | ||
with the release of Letraset sheets containing Lorem Ipsum passages, | ||
and more recently with desktop publishing software like Aldus | ||
PageMaker including versions of Lorem Ipsum.`} | ||
</Typography> | ||
</Box> | ||
</Box> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default React.memo(AboutPage); |
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