Skip to content

Commit

Permalink
Merge pull request #21 from b-yp/dev
Browse files Browse the repository at this point in the history
fix genres & update readme
  • Loading branch information
b-yp authored Nov 24, 2023
2 parents db3acb6 + 71e45f5 commit 752576d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
- Insert movie information on the movie page as page properties, supporting both English and Chinese.
- ![en-img](./assets/en.jpg)
- ![zh-img](./assets/zh.jpg)
- ![tv list](./assets/tv-list.png)
- Insert actor information on the actor page as page properties, supporting both English and Chinese.
- ![en-person](./assets/en-person.jpg)
- ![zh-person](./assets/zh-person.jpg)
- Insert book information as a page properties
- ![](./assets/book.jpg)
- ![book list](./assets/book-list.png)

- ## Demos

Expand Down
2 changes: 2 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
- 在电影页面插入该电影的信息作为页面属性,支持英文和中文
- ![en-img](./assets/en.jpg)
- ![zh-img](./assets/zh.jpg)
- ![tv list](./assets/tv-list.png)
- 在演员页面插入该演员的信息作为页面属性,支持英文和中文
- ![en-person](./assets/en-person.jpg)
- ![zh-person](./assets/zh-person.jpg)
- 插入书籍信息作为页面属性
- ![book](./assets/book.jpg)
- ![book list](./assets/book-list.png)

- ## 演示

Expand Down
Binary file added assets/book-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/tv-list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,13 @@ const App = () => {
genres: {
en: "genres",
zh: "类型",
value: movieDetailRes.genres.map((i) => `#${i.name}`).join(" "),
value: movieDetailRes.genres.map((i) => `#[[${i.name}]]`).join(" "),
},
spokenLanguages: {
en: "spoken-languages",
zh: "语言",
value: movieDetailRes.spokenLanguages
.map((i) => `#${i.name}`)
.map((i) => `#[[${i.name}]]`)
.join(" "),
},
status: {
Expand Down

0 comments on commit 752576d

Please sign in to comment.