Skip to content

Commit

Permalink
docs: 폴더구조 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
imeureka committed Jan 9, 2024
1 parent c7f484e commit 530d6c3
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 24 deletions.
7 changes: 3 additions & 4 deletions src/components/tournament/intro/TournamentContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
import TournamentStartText from './TournamentStartText';
import TournamentItemCount from './TournamentItemCount';
import TournamentStartText from './tournamentStartText/TournamentStartText';
import TournamentItemCount from './tournamentItemCount/TournamentItemCount';
import styled from 'styled-components';
import { Svg3Dicons } from '../../../assets/svg';

export default function TournamentConatainer() {
return (
<>
<TournamentStartText />
<TournamentStartText />
<TournamentItemCount />
<TournamentImg>
<Svg3Dicons />
</TournamentImg>
{/* 공통버튼 btn_cta_fill 들어갈 예정*/}
</>

);
}

Expand Down
16 changes: 0 additions & 16 deletions src/components/tournament/intro/TournamentItemCount.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import styled from 'styled-components';

export const TournamentStartTextWrapper = styled.section`
export const TournamentStartTextWrapper = styled.article`
text-align: left;
margin-bottom: 2rem;
`;

export const Title = styled.p`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useRecoilValue } from 'recoil';
import { userNameState } from '../../../recoil/atoms';
import * as S from './TournamentStartText.style'
import { userNameState } from '../../../../recoil/atoms';
import * as S from './TournamentStartText.style';

export default function TournamentStartText() {
const userName = useRecoilValue(userNameState);

return (
<S.TournamentStartTextWrapper>
<S.SubTitle>선물 등록이 마감되어</S.SubTitle>
Expand Down

0 comments on commit 530d6c3

Please sign in to comment.