Skip to content

Commit f06680e

Browse files
committed
rename
1 parent 8f1ea92 commit f06680e

32 files changed

+186
-188
lines changed

CONTRIBUTING-KR.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,5 @@
112112
## 7. 참고 사항
113113

114114
- 문서와 블로그 포스트는 마크다운 형식으로 관리
115-
- 랜딩 페이지는 react-notion-custom 라이브러리를 활용한 실제 예시 포함
115+
- 랜딩 페이지는 Notionpresso 라이브러리를 활용한 실제 예시 포함
116116
- 지속적인 콘텐츠 업데이트 및 커뮤니티 참여 독려

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@
114114
## 7. Additional Notes
115115

116116
- Manage documents and blog posts in Markdown format
117-
- Include practical examples using the react-notion-custom library on the landing page
117+
- Include practical examples using the Notionpresso library on the landing page
118118
- Encourage continuous content updates and community participation

app/[lang]/docs/[group]/[slug]/page.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export async function generateMetadata({
4242
const document = getDocumentBySlug(lang, group, slug, allDocuments);
4343

4444
return {
45-
title: `${document.title} | react-notion-custom Docs`,
45+
title: `${document.title} | Notionpresso Docs`,
4646
description: document.content.slice(0, 160),
4747
openGraph: {
48-
title: `${document.title} | react-notion-custom Docs`,
48+
title: `${document.title} | Notionpresso Docs`,
4949
description: document.content.slice(0, 160),
5050
// url: "",
5151
},

app/layout.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ const pretendard = localFont({
1111
});
1212

1313
export const metadata: Metadata = {
14-
title: "react-notion-custom Docs",
14+
title: "Notionpresso Docs",
1515
description:
16-
"Comprehensive documentation for react-notion-custom library, a powerful tool for rendering Notion pages in React applications.",
16+
"Comprehensive documentation for Notionpresso library, a powerful tool for rendering Notion pages in React applications.",
1717
keywords: "react, notion, custom, documentation, library, rendering",
1818
openGraph: {
19-
title: "react-notion-custom Documentation",
19+
title: "Notionpresso Documentation",
2020
description:
21-
"Learn how to use react-notion-custom to render Notion pages in your React apps.",
21+
"Learn how to use Notionpresso to render Notion pages in your React apps.",
2222
type: "website",
2323
// TODO: Add URL and image
2424
// url: "",

components/effects/mouse-image-effect.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ export default function MouseImageEffect() {
4545
className="relative h-screen overflow-hidden flex items-center justify-center bg-white dark:bg-black"
4646
>
4747
<div className="text-center z-10 font-Inter text-black dark:text-white">
48-
<h1 className="text-xl font-bold mb-4 md:text-6xl">
49-
react-notion-custom
50-
</h1>
48+
<h1 className="text-xl font-bold mb-4 md:text-6xl">Notionpresso</h1>
5149
<p className="text-sm md:text-xl">
5250
Create Your Custom Blog with Notion
5351
</p>

components/navigation.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ export default function Navigation() {
2525
className="logo-image"
2626
style={{ cursor: "pointer" }}
2727
/>
28-
<p className="dark:text-white hidden sm:block">
29-
react-notion-custom
30-
</p>
28+
<p className="dark:text-white hidden sm:block">Notionpresso</p>
3129
</Link>
3230

3331
<div className="flex gap-5 items-center ml-auto">

content/guide/en/01. getting-started/01. introduction.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ group: "getting-started"
33
order: 1
44
title: "Project Introduction"
55
slug: "introduction"
6-
description: "An overview of the React-Notion-Custom project, its key features, and potential applications."
6+
description: "An overview of the Notionpresso project, its key features, and potential applications."
77
---
88

9-
# Introduction to React-Notion-Custom Project
9+
# Introduction to Notionpresso Project
1010

11-
## What is React-Notion-Custom?
11+
## What is Notionpresso?
1212

13-
React-Notion-Custom is a tool that allows you to easily bring Notion's powerful content creation capabilities to your website. This library enables you to render content created in Notion directly on your React-based website. It's a "magic potion" for both developers and content creators - allowing developers to quickly produce results and providing content creators with a convenient management tool. ✨
13+
Notionpresso is a tool that allows you to easily bring Notion's powerful content creation capabilities to your website. This library enables you to render content created in Notion directly on your React-based website. It's a "magic potion" for both developers and content creators - allowing developers to quickly produce results and providing content creators with a convenient management tool. ✨
1414

1515
## Key Features and Provided Value
1616

@@ -19,7 +19,7 @@ React-Notion-Custom is a tool that allows you to easily bring Notion's powerful
1919
You can easily convert various content from Notion such as text, images, lists, code blocks, etc., into React components. Notion pages are reborn on the web with the following structure:
2020

2121
```jsx
22-
import { Notion, type NotionPageData } from 'react-notion-custom';
22+
import { Notion, type NotionPageData } from 'Notionpresso';
2323

2424
interface NotionPageProps {
2525
pageData: NotionPageData;
@@ -42,17 +42,17 @@ In this example, the `NotionPageData` type defines the data structure of a Notio
4242

4343
### 🎨 Freedom of Customization
4444

45-
You can easily change themes by just tweaking CSS, or partially modify the provided components to customize only the parts you need. You can even create completely new components and combine them with React-Notion-Custom. It offers unlimited possibilities for developers who handle code.
45+
You can easily change themes by just tweaking CSS, or partially modify the provided components to customize only the parts you need. You can even create completely new components and combine them with Notionpresso. It offers unlimited possibilities for developers who handle code.
4646

4747
### 🚀 Rapid Site Construction
4848

49-
You can easily extract Notion data using the Notion-dump CLI and quickly build static sites through frameworks like Next.js. The process of building a site with just a few commands feels like a website is completed right from the text.
49+
You can easily extract Notion data using the @notionpresso/cli CLI and quickly build static sites through frameworks like Next.js. The process of building a site with just a few commands feels like a website is completed right from the text.
5050

5151
```bash
52-
npx notion-dump --page YOUR_PAGE_URL --auth YOUR_API_KEY
52+
npx npresso --page YOUR_PAGE_URL --auth YOUR_API_KEY
5353
```
5454

55-
When you run notion-dump, Notion data is extracted into the following folder structure:
55+
When you run @notionpresso/cli, Notion data is extracted into the following folder structure:
5656

5757
```
5858
my-notion-project/
@@ -73,13 +73,13 @@ my-notion-project/
7373
- `notion-data/`: The content of each Notion page is stored in JSON format. The file name is generated based on the page's slug.
7474
- `public/images/`: Images used in Notion pages are stored and categorized by each page.
7575

76-
The extracted data can be easily integrated with React-Notion-Custom components, allowing you to quickly convert Notion content into a website. By simply passing the content of the JSON file to React components, the structure and style of the Notion page are reflected directly on the website.
76+
The extracted data can be easily integrated with Notionpresso components, allowing you to quickly convert Notion content into a website. By simply passing the content of the JSON file to React components, the structure and style of the Notion page are reflected directly on the website.
7777

7878
## Target Users and Their Potential Applications
7979

8080
### Developers
8181

82-
Developers are given the freedom to easily render and customize content created in Notion on websites. If you want to build a website quickly or style it as you want beyond the limitations of commercial services, React-Notion-Custom is the answer.
82+
Developers are given the freedom to easily render and customize content created in Notion on websites. If you want to build a website quickly or style it as you want beyond the limitations of commercial services, Notionpresso is the answer.
8383

8484
### Designers and Creators
8585

@@ -91,12 +91,12 @@ You can directly reflect content written in Notion on the web, allowing you to q
9191
- **Company Introduction and Recruitment Pages**: Quickly update company profiles or recruitment information using Notion.
9292
- **Portfolio Sites**: Easily update projects and works, making portfolio management much easier.
9393

94-
## Why Choose React-Notion-Custom
94+
## Why Choose Notionpresso
9595

96-
1. **Developer-Centric Customization**: You can modify even the finest details that can't be touched in other commercial services. The infinite possibilities through code - this is the charm of React-Notion-Custom.
96+
1. **Developer-Centric Customization**: You can modify even the finest details that can't be touched in other commercial services. The infinite possibilities through code - this is the charm of Notionpresso.
9797

9898
2. **Freedom of Open Source**: Everything is transparent and can be handled directly by you. If needed, you can modify the code and self-host the project on your own server, eliminating cost burdens.
9999

100100
3. **Quick Results and High Efficiency**: You can write content in Notion and use it directly on your website with simple settings. The process of content creation and deployment is further simplified.
101101

102-
React-Notion-Custom is the bridge that turns your Notion pages into amazing websites. No more complicated setups, start right from Notion now!
102+
Notionpresso is the bridge that turns your Notion pages into amazing websites. No more complicated setups, start right from Notion now!

content/guide/en/01. getting-started/02. quick-start.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ group: "getting-started"
33
order: 2
44
title: "Quick Start Guide"
55
slug: "quick-start"
6-
description: "A step-by-step guide on building a website with Notion content using React-Notion-Custom."
6+
description: "A step-by-step guide on building a website with Notion content using Notionpresso."
77
---
88

9-
# React-Notion-Custom Quick Start Guide
9+
# Notionpresso Quick Start Guide
1010

1111
## 2.1. Installation and Setup
1212

13-
### Installing React-Notion-Custom
13+
### Installing Notionpresso
1414

15-
Install React-Notion-Custom and Notion-dump, a CLI tool for extracting Notion data.
15+
Install Notionpresso and @notionpresso/cli, a CLI tool for extracting Notion data.
1616

1717
```bash
18-
npm install react-notion-custom notion-dump
18+
npm install -g @notionpresso/cli
19+
npm install @notionpresso/react
1920
```
2021

2122
### Setting up a Next.js Project
@@ -33,21 +34,21 @@ cd my-notion-blog
3334
2. Create a new integration.
3435
3. Securely store the generated API key.
3536

36-
## 2.2. Extracting Notion Data (notion-dump)
37+
## 2.2. Extracting Notion Data (@notionpresso/cli)
3738

38-
Use the Notion-dump CLI to extract Notion data in JSON format and prepare it for use on your website.
39+
Use the @notionpresso/cli CLI to extract Notion data in JSON format and prepare it for use on your website.
3940

4041
### Using the Data Extraction Command
4142

4243
Extract data using the Notion page URL and API key.
4344

4445
```bash
45-
npx notion-dump --page YOUR_PAGE_URL --auth YOUR_API_KEY
46+
npx npresso --page YOUR_PAGE_URL --auth YOUR_API_KEY
4647
```
4748

48-
### notion-dump Folder Structure and Options
49+
### @notionpresso/cli Folder Structure and Options
4950

50-
notion-dump is tailored to the Next.js project structure by default. The extracted data is stored in the following structure:
51+
@notionpresso/cli is tailored to the Next.js project structure by default. The extracted data is stored in the following structure:
5152

5253
```
5354
my-notion-blog/
@@ -65,15 +66,15 @@ my-notion-blog/
6566
└── ...
6667
```
6768

68-
Main options for notion-dump:
69+
Main options for @notionpresso/cli:
6970

7071
- `--dir`: Specifies the directory where JSON files will be stored. Default is `./notion-data`.
7172
- `--image-dir`: Specifies the directory where image files will be stored. Default is `./public/images`.
7273

7374
For example, if you want to change the storage location:
7475

7576
```bash
76-
npx notion-dump --page YOUR_PAGE_URL --auth YOUR_API_KEY --dir ./data --image-dir ./public/assets/images
77+
npx npresso --page YOUR_PAGE_URL --auth YOUR_API_KEY --dir ./data --image-dir ./public/assets/images
7778
```
7879

7980
If options are not specified, default values are used, which are optimized for the Next.js project structure.
@@ -87,7 +88,7 @@ Render the extracted Notion data using React components. This section covers bas
8788
A simple example of rendering Notion data as React components.
8889

8990
```jsx
90-
import { Notion } from "react-notion-custom";
91+
import { Notion } from "@notionpresso/react";
9192
import pageData from "./notion-data/your-page-id.json";
9293

9394
function NotionPage() {
@@ -120,7 +121,7 @@ Generate each post page with dynamic routing and use `getStaticPaths` and `getSt
120121

121122
```jsx
122123
// pages/[slug].js
123-
import { Notion } from "react-notion-custom";
124+
import { Notion } from "@notionpresso/react";
124125
import posts from "../posts";
125126

126127
export async function getStaticPaths() {

content/guide/en/02. customization-guide/01. structure-and-customization.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
22
group: "customization-guide"
33
order: 1
4-
title: "Understanding React-Notion-Custom Structure and Customization"
4+
title: "Understanding Notionpresso Structure and Customization"
55
slug: "structure-and-customization"
6-
description: "Learn about the data structure of React-Notion-Custom and effective customization methods based on this understanding."
6+
description: "Learn about the data structure of Notionpresso and effective customization methods based on this understanding."
77
---
88

9-
# Understanding React-Notion-Custom Structure and Customization
9+
# Understanding Notionpresso Structure and Customization
1010

11-
To effectively customize React-Notion-Custom, it's essential to first understand its basic structure and data flow. This section examines the structure of Notion data and explains how to create custom components based on this understanding.
11+
To effectively customize Notionpresso, it's essential to first understand its basic structure and data flow. This section examines the structure of Notion data and explains how to create custom components based on this understanding.
1212

1313
## Understanding the Data Structure
1414

15-
The Notion data used by React-Notion-Custom is structured in JSON format and includes page information and detailed content for each block. Understanding this structure is the first step towards effective customization.
15+
The Notion data used by Notionpresso is structured in JSON format and includes page information and detailed content for each block. Understanding this structure is the first step towards effective customization.
1616

1717
### Basic Data Structure
1818

@@ -124,7 +124,7 @@ The Notion data used by React-Notion-Custom is structured in JSON format and inc
124124

125125
## Component Structure for Customization
126126

127-
The basic component structure of React-Notion-Custom is as follows:
127+
The basic component structure of Notionpresso is as follows:
128128

129129
<pre style="font-family: monospace; line-height: 1.2; white-space: pre;">
130130
┌────────────────────────────────────────────────────────────────┐
@@ -172,4 +172,4 @@ In this structure, the `<Body>` component occupies about 60% of the total width
172172

173173
5. **Leverage Metadata**: Use page metadata, cover images, icons, etc. to create rich UIs.
174174

175-
Understanding these structures and strategies allows you to create highly customized Notion-based websites using React-Notion-Custom. The next section will explore specific customization methods for each element.
175+
Understanding these structures and strategies allows you to create highly customized Notion-based websites using Notionpresso. The next section will explore specific customization methods for each element.

0 commit comments

Comments
 (0)