-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: fsd 아키텍처를 위해 section 폴더를 제거한다
- Loading branch information
Showing
140 changed files
with
171 additions
and
231 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
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
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
2
...detail/ui/DetailMovieContentContainer.tsx → ...ontent/ui/DetailMovieContentContainer.tsx
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
File renamed without changes.
1 change: 0 additions & 1 deletion
1
src/widgets/detail/ui/index.ts → src/entities/content/ui/index.ts
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
export { DetailMovieContentContainer } from './DetailMovieContentContainer' | ||
export { DetailMovieImageContainer } from './DetailMovieImageContainer' |
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
export { OneMovieCard } from './OneMovieCard' | ||
export { OneMovieContent } from './OneMovieContent' | ||
export { OneMovieImage } from './OneMovieImage' | ||
export { OneMovieSearchCard } from './OneMovieSearchCard' | ||
export { DetailMovieBanner } from './DetailMovieBanner' | ||
export { DetailMovieImageContainer } from './DetailMovieImageContainer' | ||
export { DetailMovieIntro } from './DetailMovieIntro' | ||
export { MainMovieBanner } from './MainMovieBanner' | ||
export { MainMovieList } from './MainMovieList' | ||
export { MovieDetailContent } from './MovieDetailContent' | ||
export { MovieInfinityList } from './MovieInfinityList' | ||
export { SearchInfinityList } from './SearchInfinityList' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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,34 @@ | ||
'use client' | ||
|
||
import { Edit } from '@mui/icons-material' | ||
import classNames from 'classnames' | ||
import { motion } from 'framer-motion' | ||
|
||
import { useImageOnChange } from '@/features/profile/hooks' | ||
import { ProfileImage } from '@/shared/ui' | ||
|
||
import styles from './profile-image-changeButton.module.scss' | ||
|
||
type Props = { | ||
profileUrl: string | ||
nickname: string | ||
} | ||
|
||
export function ProfileImageChangeButton({ profileUrl, nickname }: Props) { | ||
const { onChange } = useImageOnChange() | ||
|
||
return ( | ||
<div className={styles.imageBox}> | ||
<ProfileImage src={profileUrl} alt={nickname + '프로필 이미지'} sx={{ width: 200, height: 200 }} /> | ||
<motion.label | ||
animate={{ background: '#fffffe' }} | ||
whileHover={{ background: '#142132' }} | ||
className={classNames(styles.button, styles.container)} | ||
htmlFor="file" | ||
> | ||
<Edit /> | ||
<input id="file" onChange={onChange} className={styles.inputFile} type={'file'} /> | ||
</motion.label> | ||
</div> | ||
) | ||
} |
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 @@ | ||
export { ProfileImageChangeButton } from './ProfileImageChangeButton' |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/widgets/landing/constants/subtitle.ts → src/shared/constants/LANDING_TITLE.ts
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export { GENRES } from './GENRES' | ||
export { IMAGE_SIZE } from './IMAGE_SIZE' | ||
export { LANDING_TITLE } from './LANDING_TITLE' | ||
export { MOVIE_QUERY_KEY } from './QUERY_KEY' | ||
export { SITE_PATH } from './SITE_PATH' |
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,5 @@ | ||
export function getImageWithDefault(url: string | null | undefined) { | ||
if (!url) return '/jpg/default-profile-image.jpg' | ||
|
||
return url | ||
} |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export { getDecimal } from './get-decimal' | ||
export { getHour } from './get-hours' | ||
export { getScrollbarWidth } from './get-scroll-bar-width' | ||
export { getImageWithDefault } from './getImageWithDefault' | ||
export { timeAgo } from './time-age' |
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
File renamed without changes.
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 @@ | ||
export { OneMovieContent } from './OneMovieContent' |
File renamed without changes.
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
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,23 @@ | ||
'use client' | ||
|
||
import classNames from 'classnames' | ||
import { motion } from 'framer-motion' | ||
|
||
import { LANDING_TITLE } from '@/shared/constants' | ||
import { poppins } from '@/shared/font' | ||
import { HomeButton } from '@/shared/ui' | ||
import { SubTitle } from '@/widgets/landing/SubTitle' | ||
|
||
import styles from './landing-contents.module.scss' | ||
|
||
export function LandingContents() { | ||
return ( | ||
<section className={styles.container}> | ||
<div className={styles.box}> | ||
<motion.div className={classNames(styles.title, poppins.className)}>Movie Connect</motion.div> | ||
<SubTitle subTitleList={LANDING_TITLE} /> | ||
<HomeButton /> | ||
</div> | ||
</section> | ||
) | ||
} |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { GithubIcon } from './GithubIcon' | ||
export { LandingBackGround } from './LandingBackGround' | ||
export { LandingContents } from './LandingContents' | ||
export { SubTitle } from './SubTitle' |
File renamed without changes.
Oops, something went wrong.