feat: change icons

This commit is contained in:
Li Xin
2025-04-20 21:55:23 +08:00
parent 65c8a5595f
commit a970ab2b32

View File

@@ -4,7 +4,7 @@
import { LoadingOutlined } from "@ant-design/icons"; import { LoadingOutlined } from "@ant-design/icons";
import { parse } from "best-effort-json-parser"; import { parse } from "best-effort-json-parser";
import { motion } from "framer-motion"; import { motion } from "framer-motion";
import { Download, Podcast } from "lucide-react"; import { Download, Headphones } from "lucide-react";
import { useCallback, useMemo, useState } from "react"; import { useCallback, useMemo, useState } from "react";
import { Button } from "~/components/ui/button"; import { Button } from "~/components/ui/button";
@@ -380,7 +380,7 @@ function PodcastCard({
<CardHeader> <CardHeader>
<div className="text-muted-foreground flex items-center justify-between text-sm"> <div className="text-muted-foreground flex items-center justify-between text-sm">
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
{isGenerating ? <LoadingOutlined /> : <Podcast />} {isGenerating ? <LoadingOutlined /> : <Headphones size={16} />}
<RainbowText animated={isGenerating}> <RainbowText animated={isGenerating}>
{isGenerating {isGenerating
? "Generating podcast..." ? "Generating podcast..."
@@ -397,7 +397,7 @@ function PodcastCard({
href={audioUrl} href={audioUrl}
download={`${(title ?? "podcast").replaceAll(" ", "-")}.mp3`} download={`${(title ?? "podcast").replaceAll(" ", "-")}.mp3`}
> >
<Download /> <Download size={16} />
</a> </a>
</Button> </Button>
</Tooltip> </Tooltip>