Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f554999
git 연결
Namgyeon Jan 19, 2025
9b6a5ca
feat: 기본기능 구현
Namgyeon Jan 19, 2025
5569432
feat: favicon추가, font:Pretendard 적용
Namgyeon Jan 20, 2025
2fab846
feat: 검색기능 추가
Namgyeon Jan 20, 2025
fba2e36
chors: 배포 코드추가
Namgyeon Jan 20, 2025
8acaf03
chors: 배포 코드추가2
Namgyeon Jan 20, 2025
7cfb7c7
feat: props nickname 기본값 추가
Namgyeon Jan 20, 2025
6becf40
배포 코드 수정
Namgyeon Jan 20, 2025
a71f491
배포 코드 수정
Namgyeon Jan 20, 2025
ed284bb
배포 코드 수정
Namgyeon Jan 20, 2025
badd979
배포 코드 수정
Namgyeon Jan 21, 2025
eac3d41
배포 오류 수정을 위해 파일경로 수정
Namgyeon Jan 21, 2025
b8f1f6e
배포 오류 수정을 위해 파일경로 수정
Namgyeon Jan 21, 2025
c9c3229
배포 오류 수정
Namgyeon Jan 21, 2025
4e00daa
feat: 서버사이드 렌더링으로 변경
Namgyeon Jan 21, 2025
f4de0eb
feat: AllPosts SSR로 변경
Namgyeon Jan 21, 2025
38b936a
feat: api요청에 URLSearchParams를 사용
Namgyeon Jan 22, 2025
6f7bdb6
feat: OrderByValue type alias 추가
Namgyeon Jan 22, 2025
979b2ac
feat: baseURL 상수화
Namgyeon Jan 22, 2025
a0c4627
feat: 에러 핸들링 수정
Namgyeon Jan 22, 2025
75419fb
feat: 불필요한 상태 제거
Namgyeon Jan 22, 2025
895e82a
refactor: 콤포넌트 prop 가독성, 유지보수 개선
Namgyeon Jan 23, 2025
a09eae4
refactor: 불필요한 useState삭제, textMapper 객체를 활용하여 기능 유지
Namgyeon Jan 23, 2025
bbaa9f2
refactor: useMediaQuery hooks를 따로 구분하여 가독성 개선
Namgyeon Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions next/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
40 changes: 40 additions & 0 deletions next/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/pages/api-reference/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/pages/building-your-application/routing/api-routes) instead of React pages.

This project uses [`next/font`](https://nextjs.org/docs/pages/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn-pages-router) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/pages/building-your-application/deploying) for more details.
16 changes: 16 additions & 0 deletions next/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { dirname } from "path";
import { fileURLToPath } from "url";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

const compat = new FlatCompat({
baseDirectory: __dirname,
});

const eslintConfig = [
...compat.extends("next/core-web-vitals", "next/typescript"),
];

export default eslintConfig;
6 changes: 6 additions & 0 deletions next/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build]
command = "npm run build"
publish = ".next"

[[plugins]]
package = "@netlify/plugin-nextjs"
19 changes: 19 additions & 0 deletions next/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: true,
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "https",
hostname: "sprint-fe-project.s3.ap-northeast-2.amazonaws.com",
pathname: "/**", // 경로에 제한을 두지 않으려면 **를 사용
},
],
},
output: "standalone",
};

export default nextConfig;
Loading
Loading