Skip to content

Commit

Permalink
Merge pull request #84 from IT-Cotato/hotfix/TCT-33_not_found_page_mo…
Browse files Browse the repository at this point in the history
…bile_view

Hotfix TCT-33 not found page mobile view
  • Loading branch information
WONYOUNG-HC authored Aug 19, 2024
2 parents cc0fa22 + 69e297a commit 69c65ed
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/components/NotFound.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import styled from 'styled-components';
import { ReactComponent as BittenPotato } from '@assets/potato_bitten.svg';
import { media } from '@theme/media';

const NotFound = () => {
return (
Expand Down Expand Up @@ -52,13 +53,31 @@ const Wrapper = styled.div`
border: 4px solid ${({ theme }) => theme.colors.primary100_1};
z-index: 100;
}
${media.landscape`
h1 {
font-size: 20px;
}
button {
padding: 12px 28px;
margin-top: 20px;
font-size: 16px;
border-radius: 80px;
}
`}
`;

const StyledBittenPotato = styled(BittenPotato)`
z-index: 100;
width: 180px;
height: 140px;
margin-bottom: 16px;
${media.landscape`
width: 140px;
height: 120px;
`}
`;

export default NotFound;
19 changes: 19 additions & 0 deletions src/components/ReadyState.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import styled from 'styled-components';
import { ReactComponent as WorkingPotato } from '@assets/potato_working.svg';
import { media } from '@theme/media';

const ReadyState = () => {
return (
Expand Down Expand Up @@ -47,12 +48,30 @@ const Wrapper = styled.div`
cursor: pointer;
border: 4px solid ${({ theme }) => theme.colors.primary100_1};
}
${media.landscape`
h1 {
font-size: 20px;
}
button {
padding: 12px 28px;
margin-top: 20px;
font-size: 16px;
border-radius: 80px;
}
`}
`;

const StyledWorkingPotato = styled(WorkingPotato)`
width: 180px;
height: 140px;
margin-bottom: 16px;
${media.landscape`
width: 140px;
height: 120px;
`}
`;

export default ReadyState;

0 comments on commit 69c65ed

Please sign in to comment.