mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 06:12:14 +08:00
feat: change icons
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user