Skip to content

Commit

Permalink
Merge pull request #14 from cocktail-Ohzu/dev
Browse files Browse the repository at this point in the history
๐Ÿ”จ fix(prod): ํ”Œ๋ ˆ์ด์Šคํ† ์–ด ๋ฐ ์•ฑ์Šคํ† ์–ด ๋งํฌ ์—ฐ๊ฒฐ #11
  • Loading branch information
gengminy authored Sep 14, 2022
2 parents 35cac6e + 4538aec commit afd84f4
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 17 deletions.
1 change: 1 addition & 0 deletions src/assets/icons/appstore-mono-noborder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/icons/appstore-mono.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 21 additions & 10 deletions src/components/common/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,32 +1,43 @@
import styled from 'styled-components';
import { ReactComponent as Instagram } from '../../assets/icons/instagram.svg';
import { ReactComponent as AppStroe } from '../../assets/icons/appstore.svg';
import { ReactComponent as AppStore } from '../../assets/icons/appstore.svg';
import { ReactComponent as PlayStore } from '../../assets/icons/playstore.svg';
import { ReactComponent as Github } from '../../assets/icons/github.svg';
import { ToastsStore } from 'react-toasts';

const Footer = () => {
const useToast = (msg: string) => {
ToastsStore.info(msg);
};

return (
<Wrapper>
<p>ยฉ Ohzu. 2022 All rights reserved</p>
<SecondRow>
{/* <a href="" target="_blank" rel="noreferrer noopener"> */}
<a>
<AppStroe />
<a
href="https://apps.apple.com/us/app/%EC%98%A4%EC%A5%AC/id1643634105"
target="_blank"
rel="noreferrer noopener"
>
<AppStore width={20} height={20} />
</a>
{/* <a href="" target="_blank" rel="noreferrer noopener"> */}
<a>
<PlayStore />
<a
href="https://play.google.com/store/apps/details?id=com.ohzu.ohzu"
target="_blank"
rel="noreferrer noopener"
>
<PlayStore width={20} height={20} />
</a>
{/* <a href="" target="_blank" rel="noreferrer noopener"> */}
<a>
<Instagram />
<a onClick={() => useToast('์ค€๋น„ ์ค‘์ž…๋‹ˆ๋‹ค :)')}>
<Instagram width={20} height={20} />
</a>
<a
href="https://github.com/cocktail-Ohzu/Ohzu-FrontEnd"
target="_blank"
rel="noreferrer noopener"
>
<Github />
<Github width={20} height={20} />
</a>
</SecondRow>
</Wrapper>
Expand Down
14 changes: 8 additions & 6 deletions src/pages/question/Result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ function Result() {
const navigate = useNavigate();
const { state } = useLocation();
const [result, setResult] = useState<IResult>();
const playstoreUrl = '';
const appstoreUrl = '';
const playstoreUrl =
'https://play.google.com/store/apps/details?id=com.ohzu.ohzu';
const appstoreUrl =
'https://apps.apple.com/kr/app/%EC%98%A4%EC%A5%AC/id1643634105';

useEffect(() => {
try {
Expand Down Expand Up @@ -87,16 +89,16 @@ function Result() {
width={232}
height={67}
onClick={() => {
// openInNewTab(appstoreUrl);
useToast('์ค€๋น„ ์ค‘์ž…๋‹ˆ๋‹ค :)');
openInNewTab(appstoreUrl);
// useToast('์ค€๋น„ ์ค‘์ž…๋‹ˆ๋‹ค :)');
}}
/>
<PlayStore
width={232}
height={67}
onClick={() => {
// openInNewTab(playstoreUrl);
useToast('์ค€๋น„ ์ค‘์ž…๋‹ˆ๋‹ค :)');
openInNewTab(playstoreUrl);
// useToast('์ค€๋น„ ์ค‘์ž…๋‹ˆ๋‹ค :)');
}}
/>
</AppStoreWrapper>
Expand Down

0 comments on commit afd84f4

Please sign in to comment.