Skip to content

Commit

Permalink
refactor: features ui 폴더를 분리한다
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero-1016 committed May 23, 2024
1 parent 5a314db commit d4cdc2e
Show file tree
Hide file tree
Showing 23 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/entities/content/ui/DetailMovieContentContainer.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { generateContents } from '@/entities/mock/generate'
import { DetailContentForm } from '@/features/detail/DetailContentForm'
import { DetailContentForm } from '@/features/detail/ui'
import { OneMovieContent } from '@/widgets/content'

import styles from './detail-movie-content-container.module.scss'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import { KeyRound, Mail } from 'lucide-react'
import { ChangeEventHandler, useState } from 'react'

import { SubmitButton } from '@/features/auth/SubmitButton'
import { TextFiled } from '@/shared/ui/TextFiled'

import styles from './SignForm.module.scss'
import { SubmitButton } from './SubmitButton'

export function SignInForm() {
const [id, setId] = useState(() => '')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
import { KeyRound, KeySquare, Mail, UserRound } from 'lucide-react'
import { ChangeEventHandler, useState } from 'react'

import { ConfirmField } from '@/features/auth/ConfirmField'
import styles from '@/features/auth/SignForm.module.scss'
import { SubmitButton } from '@/features/auth/SubmitButton'
import { TextFiled } from '@/shared/ui/TextFiled'

import { ConfirmField } from './ConfirmField'
import styles from './SignForm.module.scss'
import { SubmitButton } from './SubmitButton'

export function SignUpForm() {
const [nickname, setNickname] = useState(() => '')
const [email, setEmail] = useState(() => '')
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/features/auth/index.ts → src/features/auth/ui/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { GuestButtons } from './GuestButtons'
export {} from './SignInForm'
export {} from './SignUpForm'
export { SignInForm } from './SignInForm'
export { SignUpForm } from './SignUpForm'
export { UserButton } from './UserButton'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useRouter } from 'next/navigation'
import { useState } from 'react'

import { SITE_PATH } from '@/shared/constants'
import { quando } from '@/shared/font/quando'
import { quando } from '@/shared/font'

import styles from './header-search-bar.module.scss'

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/widgets/auth/SignInSection.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SignInForm } from '@/features/auth/SignInForm'
import { SignInForm } from '@/features/auth/ui'
import { SignLottie } from '@/widgets/auth/SignLottie'

import styles from './sign-section.module.scss'
Expand Down
4 changes: 2 additions & 2 deletions src/widgets/auth/SignUpSection.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { SignUpForm } from '@/features/auth/SignUpForm'
import { SignLottie } from '@/widgets/auth/SignLottie'
import { SignUpForm } from '@/features/auth/ui'

import styles from './sign-section.module.scss'
import { SignLottie } from './SignLottie'

export function SignUpSection() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import classNames from 'classnames'

import { HeaderSearchBar } from '@/features/search'
import { HeaderSearchBar } from '@/features/search/ui'
import { useScrollDown } from '@/shared/hook'

import styles from './header.module.scss'
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/layout/UserStatusButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GuestButtons, UserButton } from '@/features/auth'
import { GuestButtons, UserButton } from '@/features/auth/ui'

type Props = {
isLogin: boolean
Expand Down

0 comments on commit d4cdc2e

Please sign in to comment.