Skip to content

Commit b4e603d

Browse files
committed
update icon import
1 parent c831696 commit b4e603d

File tree

5 files changed

+13
-8
lines changed

5 files changed

+13
-8
lines changed

content/docs/contribute/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: "文檔協作大全"
33
description: 了解如何為我們的文檔做出貢獻, 並幫助我們改進文檔吧!
44
---
55

6-
import { BookOpen, Star } from "lucide-react";
6+
import BookOpen from "lucide-react/dist/esm/icons/book-open";
7+
import Star from "lucide-react/dist/esm/icons/star";
78

89
了解如何為我們的文檔做出貢獻, 幫助我們改進文檔吧~
910

content/docs/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ title: 快速入門
33
description: YEE式機器龍是一隻全中文化的Discord機器人,我們不只提供音樂的服務,還有像是動態語音頻道、跨群聊天、等你不會想錯過的好東西
44
---
55

6-
import { Gamepad2, Music, MessageSquareDashed } from "lucide-react";
6+
import Gamepad2 from "lucide-react/dist/esm/icons/gamepad-2";
7+
import Music from "lucide-react/dist/esm/icons/music";
8+
import MessageSquareDashed from "lucide-react/dist/esm/icons/message-square-dashed";
79

810
YEE 式機器龍是一隻全中文化的 Discord 機器人,我們提供了許多簡單且快速的整合性服務,讓您不需要再四處尋找中文的機器人
911

content/docs/rpg/index.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ title: RPG 總覽
33
description: 將 Discord 變身成一個有趣的遊樂場!結合了工作、捕魚、商店、寵物、結婚等系統,讓你的 Discord 更有趣!
44
---
55

6-
import {
7-
ShoppingCart,
8-
Milestone,
9-
CircleDollarSign,
10-
ScissorsLineDashed,
11-
} from "lucide-react";
6+
import ShoppingCart from "lucide-react/dist/esm/icons/shopping-cart";
7+
import Milestone from "lucide-react/dist/esm/icons/milestone";
8+
import CircleDollarSign from "lucide-react/dist/esm/icons/circle-dollar-sign";
9+
import ScissorsLineDashed from "lucide-react/dist/esm/icons/scissors-line-dashed";
1210

1311
將 Discord 變身成一個有趣的遊樂場!結合了工作、捕魚、商店、寵物、結婚等系統,讓你的 Discord 更有趣!
1412

src/components/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Image from "next/image";
22
import Link from "next/link";
3+
34
import { ExternalLinkIcon } from "lucide-react";
45

56
export type FooterCategory = {

src/lucide-react.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module "lucide-react/dist/esm/icons/*" {
2+
export { LucideIcon as default } from "lucide-react";
3+
}

0 commit comments

Comments
 (0)