Skip to content

Commit

Permalink
chore: add md
Browse files Browse the repository at this point in the history
  • Loading branch information
Doeunnkimm committed Aug 17, 2024
1 parent 8015e7d commit 118c7ad
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 24 deletions.
39 changes: 15 additions & 24 deletions apps/tech-blog/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,27 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
# ์‚ผ๋ดค๋“œ์˜ ๋ชจํ—˜ ํŒ€ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ CONTRIBUTING

## Getting Started
> ๋‹ค์Œ ๋ฐฉ๋ฒ•์— ๋”ฐ๋ผ ๊ธฐ์ˆ  ๋ธ”๋กœ๊ทธ ์ž‘์„ฑ์„ ํ•ด์ฃผ์„ธ์š”
First, run the development server:
## 0. ๊ฐœ๋ฐœ ๋ชจ๋“œ๋กœ ์‹คํ–‰ํ•˜๊ธฐ

> ์•„๋ž˜ ๋ช…๋ น์–ด๋ฅผ ํ†ตํ•ด ๊ฐœ๋ฐœ ๋ชจ๋“œ๋กœ ์ž‘์„ฑ ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
$ pnpm install
$ pnpm dev
```

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

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

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More
## 1. ์š”์•ฝ ์นด๋“œ ์ž‘์„ฑํ•˜๊ธฐ

To learn more about Next.js, take a look at the following resources:
> [์ž‘์„ฑํ•˜๋Š” ๊ณณ](https://github.com/depromeet/15th-team3-FE/blob/main/apps/tech-blog/constants/articles.ts)
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - 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!
## 2. ๊ธ€ ์ถ”๊ฐ€ํ•˜๊ธฐ

## Deploy on Vercel
- pages ํ•˜์œ„์— ํด๋”/ํŒŒ์ผ ๋ช…์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ผ์šฐํŒ… ๋ผ์š”.
- [์˜ˆ์‹œ ํŒŒ์ผ](https://github.com/depromeet/15th-team3-FE/blob/main/apps/tech-blog/pages/_temp.mdx)์ด์—์š”. ํ•ด๋‹น ํŒŒ์ผ์„ ์ฐธ๊ณ ํ•˜์—ฌ ์ œ๊ณตํ•˜๊ณ  ์žˆ๋Š” ์–‘์‹์— ๋งž๊ฒŒ ์ž‘์„ฑํ•ด์ฃผ์„ธ์š”.

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/deployment) for more details.
- ์ธ๋„ค์ผ ์‚ฌ์ด์ฆˆ๋Š” `700*358`์„ ๊ถŒ์žฅํ•ด์š”.
8 changes: 8 additions & 0 deletions apps/tech-blog/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ const nextConfig = {
emotion: true,
},
transpilePackages: ['@sambad/sds'],
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'static.toss.im', // NOTE: ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
},
],
},
};

module.exports = withNextra(nextConfig);
21 changes: 21 additions & 0 deletions apps/tech-blog/pages/_temp.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Badge } from '@sambad/sds/components';
import { colors } from '@sambad/sds/theme';
import { RenderArticleBase } from '@/../utils/RenderArticleBase';

# ๋””ํ”„๋งŒ 1๋“ฑ ํ•˜๊ธฐ

{RenderArticleBase({
tags: ['Web', 'ํ…Œ์ŠคํŠธ', '๋ฑƒ์ง€'],
writer: '๊น€ํ…Œ์Šคํ„ฐ',
role: 'Frontend Developer',
date: '2024-09-14',
thumbnail: 'https://static.toss.im/illusts-content/tech-0812-cover3.png',
})}

์ง€๊ธˆ๋ถ€ํ„ฐ๋Š” ๊ธ€์„ ์“ฐ๋ฉด ๋ฉ๋‹ˆ๋‹ค.

```tsx
<Foo content="code๋„ ์“ธ ์ˆ˜ ์žˆ์–ด์š”" theme="ํ…Œ๋งˆ๋„ ์•Œ์•„์„œ ๋จนํž™๋‹ˆ๋‹ค" />
```

**๋งˆํฌ๋‹ค์šด** `๋ฌธ๋ฒ•`์ž…๋‹ˆ๋‹ค.

0 comments on commit 118c7ad

Please sign in to comment.