diff --git a/src/_apis/tool.ts b/src/apis/tool.ts similarity index 74% rename from src/_apis/tool.ts rename to src/apis/tool.ts index 39ac029..bb4eae8 100644 --- a/src/_apis/tool.ts +++ b/src/apis/tool.ts @@ -1,4 +1,4 @@ -import { instance } from '@/_libs/api' +import { instance } from '@/libs/api' export const getToolList = async () => { const response = await instance.get(`/list`) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 3caced0..c2d3025 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,5 +1,5 @@ -import Providers from '@/_components/providers' -import META_DATA from '@/_constants/meta' +import Providers from '@/components/providers' +import META_DATA from '@/constants/meta' import { Metadata } from 'next/types' export const metadata: Metadata = { diff --git a/src/_assets/_icons/.gitkeep b/src/assets/_icons/.gitkeep similarity index 100% rename from src/_assets/_icons/.gitkeep rename to src/assets/_icons/.gitkeep diff --git a/src/_assets/_images/.gitkeep b/src/assets/_images/.gitkeep similarity index 100% rename from src/_assets/_images/.gitkeep rename to src/assets/_images/.gitkeep diff --git a/src/_components/Layout.tsx b/src/components/Layout.tsx similarity index 96% rename from src/_components/Layout.tsx rename to src/components/Layout.tsx index f751c8d..4393b11 100644 --- a/src/_components/Layout.tsx +++ b/src/components/Layout.tsx @@ -1,6 +1,6 @@ 'use client' -import { theme } from '@/_styles/theme' +import { theme } from '@/styles/theme' import { useServerInsertedHTML } from 'next/navigation' import React, { useState } from 'react' import styled, { ServerStyleSheet, StyleSheetManager } from 'styled-components' diff --git a/src/_components/_common/button/.gitkeep b/src/components/_common/button/.gitkeep similarity index 100% rename from src/_components/_common/button/.gitkeep rename to src/components/_common/button/.gitkeep diff --git a/src/_components/_common/checkbox/.gitkeep b/src/components/_common/checkbox/.gitkeep similarity index 100% rename from src/_components/_common/checkbox/.gitkeep rename to src/components/_common/checkbox/.gitkeep diff --git a/src/_components/_common/mypage/card/.gitkeep b/src/components/_common/mypage/card/.gitkeep similarity index 100% rename from src/_components/_common/mypage/card/.gitkeep rename to src/components/_common/mypage/card/.gitkeep diff --git a/src/_components/_common/nav/.gitkeep b/src/components/_common/nav/.gitkeep similarity index 100% rename from src/_components/_common/nav/.gitkeep rename to src/components/_common/nav/.gitkeep diff --git a/src/_components/providers/ReactQueryProviders.tsx b/src/components/providers/ReactQueryProviders.tsx similarity index 100% rename from src/_components/providers/ReactQueryProviders.tsx rename to src/components/providers/ReactQueryProviders.tsx diff --git a/src/_components/providers/index.tsx b/src/components/providers/index.tsx similarity index 62% rename from src/_components/providers/index.tsx rename to src/components/providers/index.tsx index b6cdb70..9ee6cf7 100644 --- a/src/_components/providers/index.tsx +++ b/src/components/providers/index.tsx @@ -1,9 +1,9 @@ 'use client' -import LayoutRegistry from '@/_components/Layout' -import ReactQueryProviders from '@/_components/providers/ReactQueryProviders' -import GlobalStyle from '@/_styles/GlobalStyle' -import { theme } from '@/_styles/theme' +import LayoutRegistry from '@/components/Layout' +import ReactQueryProviders from '@/components/providers/ReactQueryProviders' +import GlobalStyle from '@/styles/GlobalStyle' +import { theme } from '@/styles/theme' import { ThemeProvider } from 'styled-components' const Providers = ({ children }: { children: React.ReactNode }) => { diff --git a/src/_constants/api.ts b/src/constants/api.ts similarity index 100% rename from src/_constants/api.ts rename to src/constants/api.ts diff --git a/src/_constants/meta.ts b/src/constants/meta.ts similarity index 100% rename from src/_constants/meta.ts rename to src/constants/meta.ts diff --git a/src/_hooks/.gitkeep b/src/hooks/.gitkeep similarity index 100% rename from src/_hooks/.gitkeep rename to src/hooks/.gitkeep diff --git a/src/_libs/api.ts b/src/libs/api.ts similarity index 90% rename from src/_libs/api.ts rename to src/libs/api.ts index 07c9bdc..752d90e 100644 --- a/src/_libs/api.ts +++ b/src/libs/api.ts @@ -1,4 +1,4 @@ -import { API_BASE_URL } from '@/_constants/api' +import { API_BASE_URL } from '@/constants/api' import axios, { AxiosError, AxiosResponse } from 'axios' export const instance = axios.create({ diff --git a/src/_mocks/.gitkeep b/src/mocks/.gitkeep similarity index 100% rename from src/_mocks/.gitkeep rename to src/mocks/.gitkeep diff --git a/src/_store/.gitkeep b/src/store/.gitkeep similarity index 100% rename from src/_store/.gitkeep rename to src/store/.gitkeep diff --git a/src/_styles/GlobalStyle.tsx b/src/styles/GlobalStyle.tsx similarity index 94% rename from src/_styles/GlobalStyle.tsx rename to src/styles/GlobalStyle.tsx index a4ddadc..12a9dbf 100644 --- a/src/_styles/GlobalStyle.tsx +++ b/src/styles/GlobalStyle.tsx @@ -1,4 +1,4 @@ -import { theme } from '@/_styles/theme' +import { theme } from '@/styles/theme' import { createGlobalStyle } from 'styled-components' const GlobalStyle = createGlobalStyle` diff --git a/src/_styles/theme.ts b/src/styles/theme.ts similarity index 100% rename from src/_styles/theme.ts rename to src/styles/theme.ts diff --git a/src/_types/styled.d.ts b/src/types/styled.d.ts similarity index 74% rename from src/_types/styled.d.ts rename to src/types/styled.d.ts index c617f25..771c8c2 100644 --- a/src/_types/styled.d.ts +++ b/src/types/styled.d.ts @@ -1,4 +1,4 @@ -import { Theme } from '@/_styles/theme' +import { Theme } from '@/styles/theme' import 'styled-components' declare module 'styled-components' { diff --git a/src/utils/.gitkeep b/src/utils/.gitkeep new file mode 100644 index 0000000..e69de29