feat: ai icons

This commit is contained in:
DIYgod 2025-11-12 21:07:58 +08:00
parent 2ed3eae425
commit 86d53a7caa
No known key found for this signature in database
6 changed files with 14 additions and 7 deletions

View File

@ -192,7 +192,7 @@ export const AISummaryCardBase: React.FC<AISummaryCardBaseProps> = ({
"sm:opacity-0 sm:duration-300 sm:group-hover:translate-y-0 sm:group-hover:opacity-100", "sm:opacity-0 sm:duration-300 sm:group-hover:translate-y-0 sm:group-hover:opacity-100",
)} )}
> >
<i className="i-mingcute-ai-line text-base" /> <i className="i-mgc-ai-cute-re text-base" />
<span>Ask AI</span> <span>Ask AI</span>
</MotionButtonBase> </MotionButtonBase>
)} )}

View File

@ -136,7 +136,7 @@ export const EntryListHeader: FC<{
tooltip={t("entry_list_header.timeline_summary")} tooltip={t("entry_list_header.timeline_summary")}
onClick={summarizeTimeline} onClick={summarizeTimeline}
> >
<i className="i-mingcute-ai-line text-purple-600 dark:text-purple-400" /> <i className="i-mgc-paint-brush-ai-cute-re text-purple-600 dark:text-purple-400" />
</ActionButton> </ActionButton>
)} )}
<DividerVertical className="mx-2 w-px" /> <DividerVertical className="mx-2 w-px" />

View File

@ -27,23 +27,27 @@ export const EntryPlaceholderLogo = () => {
}, [sendAIShortcut]) }, [sendAIShortcut])
const buttons = [ const buttons = [
{
label: "Personalize my Folo AI",
onClick: () => settingModalPresent("ai"),
},
{ {
label: "Summarize the current timeline", label: "Summarize the current timeline",
onClick: handleSummarizeTimeline, onClick: handleSummarizeTimeline,
icon: <i className="i-mgc-paint-brush-ai-cute-re text-base" />,
}, },
{ {
label: "Suggest me some new feeds", label: "Suggest me some new feeds",
onClick: handleRecommendFeeds, onClick: handleRecommendFeeds,
icon: <i className="i-mgc-search-ai-cute-re text-base" />,
}, },
{ {
label: "Sort the timeline by importance", label: "Sort the timeline by importance",
onClick: () => { onClick: () => {
toast.success("Coming soon!") toast.success("Coming soon!")
}, },
icon: <i className="i-mgc-refresh-4-ai-cute-re text-base" />,
},
{
label: "Personalize my Folo AI",
onClick: () => settingModalPresent("ai"),
icon: <i className="i-mgc-ai-cute-re text-base" />,
}, },
] ]
@ -67,7 +71,7 @@ export const EntryPlaceholderLogo = () => {
textClassName="flex items-center gap-2 text-purple-600 dark:text-purple-400" textClassName="flex items-center gap-2 text-purple-600 dark:text-purple-400"
variant="ghost" variant="ghost"
> >
<i className="i-mingcute-ai-line text-base" /> {button.icon}
<span className="bg-gradient-to-r from-purple-600 to-blue-600 bg-clip-text text-transparent dark:from-purple-400 dark:to-blue-400"> <span className="bg-gradient-to-r from-purple-600 to-blue-600 bg-clip-text text-transparent dark:from-purple-400 dark:to-blue-400">
{button.label} {button.label}
</span> </span>

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="m13.707 7.257-.689-.724zm7.242-3.828-.323-.946zm.121.122.947.323zm-3.827 7.242-.725-.69zM6.238 19.676l.285-.958zm-.82-5.447.981.196zm-.196 1.514-.98-.196zm-1.53 2.284.65.76zm-.236.192-.618-.786a1 1 0 0 0-.023 1.554zM6 2l.946-.323a1 1 0 0 0-1.892 0zm3 3 .323.946a1 1 0 0 0 0-1.892zM6 8l-.946.323a1 1 0 0 0 1.892 0zM3 5l-.323-.946a1 1 0 0 0 0 1.892zm11.396 2.982c.93-.884 2.388-1.707 3.796-2.364a32.661 32.661 0 0 1 3.08-1.242l-.646-1.893a34.65 34.65 0 0 0-3.278 1.322c-1.455.679-3.156 1.612-4.33 2.728zm5.728-4.754a32.656 32.656 0 0 1-1.242 3.08c-.657 1.408-1.48 2.866-2.364 3.796l1.45 1.378c1.115-1.174 2.048-2.875 2.727-4.33a34.659 34.659 0 0 0 1.322-3.278zm-8.475 8.65c.729-1.324 1.742-2.94 2.747-3.896l-1.378-1.45c-1.246 1.185-2.383 3.04-3.12 4.38zm4.869-1.774c-.956 1.005-2.572 2.018-3.895 2.747l.965 1.752c1.34-.738 3.195-1.875 4.38-3.121zm4.754-5.728a.906.906 0 0 1-1.148-1.148l1.893.646a1.094 1.094 0 0 0-1.391-1.39zM11.232 17.51c-1.618 1.617-3.324 1.618-4.709 1.207l-.57 1.917c1.89.561 4.424.559 6.693-1.71zm0-4.243a3 3 0 0 1 0 4.243l1.415 1.414a5 5 0 0 0 0-7.071zm-4.242 0a3 3 0 0 1 4.242 0l1.415-1.414a5 5 0 0 0-7.072 0zm-.59 1.157c.084-.423.237-.805.59-1.157l-1.415-1.414c-.707.708-1 1.49-1.137 2.18zM4.34 18.787c.57-.487 1.582-1.453 1.861-2.848l-1.96-.392c-.139.689-.682 1.276-1.2 1.72zm-.267.219c.088-.07.177-.142.267-.219l-1.3-1.52a6.307 6.307 0 0 1-.203.166zm2.45-.288c-.897-.267-1.761-.71-2.427-1.266l-1.282 1.535c.902.754 2.018 1.315 3.138 1.648zm6.122-9.693-.205.979h-.002l-.003-.001h-.004L12.429 10l.006.002.06.018c.062.02.16.055.284.112.248.116.588.32.93.66l1.413-1.414a5.31 5.31 0 0 0-1.494-1.056 4.398 4.398 0 0 0-.688-.256 2.19 2.19 0 0 0-.073-.018l-.008-.001h-.004l-.001-.001c-.001 0-.002 0-.207.978m1.061 1.768c.34.34.544.681.66.929a2.406 2.406 0 0 1 .131.346v-.004l-.001-.003v-.002l.978-.205c.979-.205.978-.206.978-.206v-.006l-.002-.008-.005-.019a2.532 2.532 0 0 0-.062-.22 4.397 4.397 0 0 0-.207-.522 5.31 5.31 0 0 0-1.056-1.494zm-7.505 5.146c.062-.309.09-.613.114-.858.025-.262.045-.464.083-.656l-1.961-.392c-.062.309-.09.613-.113.858a6.555 6.555 0 0 1-.084.656zM5.054 2.323l.129.378 1.892-.646-.129-.378zm3.245 3.494.378.13.646-1.893-.378-.13zm.378-1.763-.378.129.646 1.892.378-.129zM5.183 7.299l-.13.378 1.893.646.13-.378zm1.763.378-.129-.378-1.892.646.129.378zM3.701 4.183l-.378-.13-.646 1.893.378.13zm-.378 1.763.378-.129-.646-1.892-.378.129zm3.494-3.245.13-.378-1.893-.646-.13.378zM3.701 5.817a5 5 0 0 0 3.116-3.116l-1.892-.646a3 3 0 0 1-1.87 1.87zM6.817 7.3a5 5 0 0 0-3.116-3.116l-.646 1.892a3 3 0 0 1 1.87 1.87zM8.3 4.183a5 5 0 0 0-3.116 3.116l1.892.646a3 3 0 0 1 1.87-1.87zM5.183 2.7a5 5 0 0 0 3.116 3.116l.646-1.892a3 3 0 0 1-1.87-1.87z"/></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path stroke="#10161F" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.5 3.5c-1.073.538-1.82 1.25-2.384 2.278a.462.462 0 0 0 0 .444C7.68 7.25 8.426 7.962 9.5 8.5m7 9.5H11a7 7 0 0 1-7-7v-1m10.5 10.5c1.073-.538 1.82-1.25 2.384-2.278a.462.462 0 0 0 0-.444c-.563-1.028-1.31-1.74-2.384-2.278M7.5 6H13c1.074 0 2.09.242 3 .674M19 8l.13.378a4 4 0 0 0 2.492 2.493L22 11l-.378.13a4 4 0 0 0-2.493 2.492L19 14l-.13-.378a4 4 0 0 0-2.492-2.493L16 11l.378-.13a4 4 0 0 0 2.493-2.492z"/></svg>

After

Width:  |  Height:  |  Size: 629 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none"><path fill="#fff" fill-opacity=".01" d="M24 0v24H0V0z"/><path fill="#10161F" d="M16.586 15.172a1 1 0 1 0-1.414 1.414zm2.828 5.656a1 1 0 0 0 1.414-1.414zM11.801 4.13a1 1 0 0 0 .398-1.96zm7.029 8.069a1 1 0 1 0-1.96-.398zM19 2l.946-.323a1 1 0 0 0-1.892 0zm3 3 .323.946a1 1 0 0 0 0-1.892zm-3 3-.946.323a1 1 0 0 0 1.892 0zm-3-3-.323-.946a1 1 0 0 0 0 1.892zm2.87-2.622-.946-.323zm0 5.244-.946.323zm.26 0-.947-.323zM10.5 17A6.5 6.5 0 0 1 4 10.5H2a8.5 8.5 0 0 0 8.5 8.5zM4 10.5A6.5 6.5 0 0 1 10.5 4V2A8.5 8.5 0 0 0 2 10.5zm11.172 6.086 4.242 4.242 1.414-1.414-4.242-4.242zM10.5 4c.447 0 .882.045 1.301.13l.398-1.96A8.534 8.534 0 0 0 10.5 2zm6.37 7.801A6.503 6.503 0 0 1 10.5 17v2a8.503 8.503 0 0 0 8.33-6.801zm1.184-9.478.129.378 1.893-.646-.13-.378zm3.245 3.494.378.13.646-1.893-.378-.13zm.378-1.763-.378.129.646 1.892.378-.129zm-3.494 3.245-.13.378 1.893.646.13-.378zm1.763.378-.129-.378-1.893.646.13.378zm-3.245-3.494-.378-.13-.646 1.893.378.13zm-.378 1.763.378-.129-.646-1.892-.378.129zm3.494-3.245.13-.378-1.893-.646-.13.378zm-3.116 3.116a5 5 0 0 0 3.116-3.116l-1.893-.646a3 3 0 0 1-1.869 1.87zM19.817 7.3a5 5 0 0 0-3.116-3.116l-.646 1.892a3 3 0 0 1 1.87 1.87zM21.3 4.183a5 5 0 0 0-3.116 3.116l1.893.646a3 3 0 0 1 1.869-1.87zM18.183 2.7a5 5 0 0 0 3.116 3.116l.646-1.892a3 3 0 0 1-1.87-1.87z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB