Skip to content

Commit

Permalink
chore: 스타일 코드 디렉토리 및 파일 분리(#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgksqkr committed Jun 17, 2024
1 parent f7b8d60 commit 96ef577
Show file tree
Hide file tree
Showing 23 changed files with 366 additions and 359 deletions.
6 changes: 3 additions & 3 deletions src/app/search/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import SearchBodySection from '@/components/search/SearchBodySection';
import SearchHeadSection from '@/components/search/SearchHeadSection';
import SearchBodySection from '@/components/search/searchBodySection/SearchBodySection';
import SearchHeaderSection from '@/components/search/searchHeaderSection/SearchHeaderSection';

const SearchPage = () => {
return (
<>
<SearchHeadSection />
<SearchHeaderSection />
<SearchBodySection />
</>
);
Expand Down
63 changes: 0 additions & 63 deletions src/components/search/AutoCompleteContainer.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/search/SearchForm.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import SearchHeaderForm from './SearchHeaderForm';
import SearchPageForm from './SearchPageForm';
import SearchHeaderForm from './searchHeaderForm/SearchHeaderForm';
import SearchPageForm from './searchPageForm/SearchPageForm';

interface SearchFormProps {
type: string;
Expand Down
104 changes: 0 additions & 104 deletions src/components/search/SearchFound.tsx

This file was deleted.

33 changes: 0 additions & 33 deletions src/components/search/SearchHeadSection.tsx

This file was deleted.

54 changes: 0 additions & 54 deletions src/components/search/SearchHeaderForm.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions src/components/search/SearchNotFound.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/search/SearchResult.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { ISearchResult, ISearchResultList } from '@/types/search';
import React from 'react';
import Loading from '../common/Loading';
import SearchFound from './SearchFound';
import SearchNotFound from './SearchNotFound';
import SearchFound from './searchFound/SearchFound';
import SearchNotFound from './searchNotFound/SearchNotFound';

interface SearchResultProps {
searchResult: ISearchResult | ISearchResultList | undefined;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import styled from 'styled-components';

export const BoxWrapper = styled.div`
display: flex;
flex-direction: column;
width: 40vw;
background-color: white;
margin-left: 2%;
gap: 10px;
box-shadow: 2px 2px 2px black;
z-index: 1;
`;

export const ItemWrapper = styled.div`
padding: 15px;
font-size: 1.4rem;
cursor: pointer;
&:hover {
background-color: lightgrey;
}
`;

export const NoResultWrapper = styled.span`
padding: 15px;
font-size: 1.4rem;
box-shadow: 2px 2px 2px black;
`;
Loading

0 comments on commit 96ef577

Please sign in to comment.