feat: change to lucide Icons

This commit is contained in:
Li Xin
2025-04-20 21:32:56 +08:00
parent 81b1dbfefb
commit 2f6b6a1d8d
6 changed files with 40 additions and 47 deletions

View File

@@ -1,13 +1,10 @@
// Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
// SPDX-License-Identifier: MIT
import {
DownloadOutlined,
SoundOutlined,
LoadingOutlined,
} from "@ant-design/icons";
import { LoadingOutlined } from "@ant-design/icons";
import { parse } from "best-effort-json-parser";
import { motion } from "framer-motion";
import { Download, Podcast } from "lucide-react";
import { useCallback, useMemo, useState } from "react";
import { Button } from "~/components/ui/button";
@@ -383,7 +380,7 @@ function PodcastCard({
<CardHeader>
<div className="text-muted-foreground flex items-center justify-between text-sm">
<div className="flex items-center gap-2">
{isGenerating ? <LoadingOutlined /> : <SoundOutlined />}
{isGenerating ? <LoadingOutlined /> : <Podcast />}
<RainbowText animated={isGenerating}>
{isGenerating
? "Generating podcast..."
@@ -400,7 +397,7 @@ function PodcastCard({
href={audioUrl}
download={`${(title ?? "podcast").replaceAll(" ", "-")}.mp3`}
>
<DownloadOutlined />
<Download />
</a>
</Button>
</Tooltip>