From 91b7e0f8d1b967edc5dcb055a5747291cbd015af Mon Sep 17 00:00:00 2001 From: hanseulhee <3021062@gmail.com> Date: Sun, 5 May 2024 00:21:08 +0900 Subject: [PATCH] =?UTF-8?q?[#1]=20private=20=ED=8F=B4=EB=8D=94=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{_apis => apis}/tool.ts | 2 +- src/app/layout.tsx | 4 ++-- src/{_assets => assets}/_icons/.gitkeep | 0 src/{_assets => assets}/_images/.gitkeep | 0 src/{_components => components}/Layout.tsx | 2 +- src/{_components => components}/_common/button/.gitkeep | 0 src/{_components => components}/_common/checkbox/.gitkeep | 0 .../_common/mypage/card/.gitkeep | 0 src/{_components => components}/_common/nav/.gitkeep | 0 .../providers/ReactQueryProviders.tsx | 0 src/{_components => components}/providers/index.tsx | 8 ++++---- src/{_constants => constants}/api.ts | 0 src/{_constants => constants}/meta.ts | 0 src/{_hooks => hooks}/.gitkeep | 0 src/{_libs => libs}/api.ts | 2 +- src/{_mocks => mocks}/.gitkeep | 0 src/{_store => store}/.gitkeep | 0 src/{_styles => styles}/GlobalStyle.tsx | 2 +- src/{_styles => styles}/theme.ts | 0 src/{_types => types}/styled.d.ts | 2 +- src/utils/.gitkeep | 0 21 files changed, 11 insertions(+), 11 deletions(-) rename src/{_apis => apis}/tool.ts (74%) rename src/{_assets => assets}/_icons/.gitkeep (100%) rename src/{_assets => assets}/_images/.gitkeep (100%) rename src/{_components => components}/Layout.tsx (96%) rename src/{_components => components}/_common/button/.gitkeep (100%) rename src/{_components => components}/_common/checkbox/.gitkeep (100%) rename src/{_components => components}/_common/mypage/card/.gitkeep (100%) rename src/{_components => components}/_common/nav/.gitkeep (100%) rename src/{_components => components}/providers/ReactQueryProviders.tsx (100%) rename src/{_components => components}/providers/index.tsx (62%) rename src/{_constants => constants}/api.ts (100%) rename src/{_constants => constants}/meta.ts (100%) rename src/{_hooks => hooks}/.gitkeep (100%) rename src/{_libs => libs}/api.ts (90%) rename src/{_mocks => mocks}/.gitkeep (100%) rename src/{_store => store}/.gitkeep (100%) rename src/{_styles => styles}/GlobalStyle.tsx (94%) rename src/{_styles => styles}/theme.ts (100%) rename src/{_types => types}/styled.d.ts (74%) create mode 100644 src/utils/.gitkeep 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