Skip to content

Commit

Permalink
Init: project setting
Browse files Browse the repository at this point in the history
  • Loading branch information
MEGUMMY1 committed Nov 3, 2024
1 parent 3453428 commit 4564338
Show file tree
Hide file tree
Showing 30 changed files with 253 additions and 356 deletions.
20 changes: 19 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
"env": {
"browser": true,
"es2021": true
},
"extends": [
"next/core-web-vitals",
"next/typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"quotes": ["error", "single"]
}
}
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"printWidth": 80,
"bracketSpacing": true,
"arrowParens": "avoid"
}
3 changes: 1 addition & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: true,
};

Expand Down
51 changes: 50 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,19 @@
"lint": "next lint"
},
"dependencies": {
"next": "15.0.2",
"react": "19.0.0-rc-02c0e824-20241028",
"react-dom": "19.0.0-rc-02c0e824-20241028",
"next": "15.0.2"
"scss": "^0.2.4"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.0.2"
"eslint-config-next": "15.0.2",
"eslint-config-prettier": "^9.1.0",
"prettier": "^3.3.3",
"typescript": "^5"
}
}
13 changes: 0 additions & 13 deletions pages/api/hello.ts

This file was deleted.

Binary file removed pages/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed pages/fonts/GeistVF.woff
Binary file not shown.
118 changes: 0 additions & 118 deletions pages/index.tsx

This file was deleted.

1 change: 0 additions & 1 deletion public/file.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/globe.svg

This file was deleted.

Empty file added public/icon/temp.tsx
Empty file.
Empty file added public/image/temp.tsx
Empty file.
1 change: 0 additions & 1 deletion public/next.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/window.svg

This file was deleted.

Empty file added src/apis/temp.tsx
Empty file.
Empty file added src/components/temp.tsx
Empty file.
Empty file added src/constants/temp.tsx
Empty file.
Empty file added src/hooks/temp.tsx
Empty file.
3 changes: 1 addition & 2 deletions pages/_app.tsx → src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import "@/styles/globals.css";
import type { AppProps } from "next/app";
import type { AppProps } from 'next/app';

export default function App({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />;
Expand Down
2 changes: 1 addition & 1 deletion pages/_document.tsx → src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Html, Head, Main, NextScript } from "next/document";
import { Html, Head, Main, NextScript } from 'next/document';

export default function Document() {
return (
Expand Down
14 changes: 14 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Head from 'next/head';

export default function Home() {
return (
<>
<Head>
<title>헬로핏</title>
<meta name="description" content="Hello Fit" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
</Head>
</>
);
}
Empty file added src/states/temp.tsx
Empty file.
20 changes: 20 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
@import './reset.css';

@font-face {
font-family: 'Pretendard-Regular';
src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/[email protected]/Pretendard-Regular.woff')
format('woff');
font-weight: 400;
font-style: normal;
}

* {
font-family: 'Pretendard-Regular', sans-serif;
font-size: 16px;
font-weight: 400;
text-decoration: none;
}

:root {
font-family: 'Pretendard-Regular', sans-serif;
}
Loading

0 comments on commit 4564338

Please sign in to comment.