mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
feat: add Plugin icon component and integrate it into the navigation operations
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
'use client'
|
||||
import { RiAddLine, RiBookOpenLine, RiGithubLine, RiPuzzle2Line } from '@remixicon/react'
|
||||
import { RiAddLine, RiBookOpenLine, RiGithubLine } from '@remixicon/react'
|
||||
import Link from 'next/link'
|
||||
import { useSearchParams } from 'next/navigation'
|
||||
import { useState } from 'react'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import Badge from '@/app/components/base/badge'
|
||||
import Button, { buttonVariants } from '@/app/components/base/button'
|
||||
import { Playground } from '@/app/components/base/icons/src/vender/plugin'
|
||||
import { Playground, Plugin } from '@/app/components/base/icons/src/vender/plugin'
|
||||
import {
|
||||
PortalToFollowElem,
|
||||
PortalToFollowElemContent,
|
||||
@ -99,7 +99,7 @@ export const CreationTypeTabs = ({ creationType: creationTypeProp }: CreationTyp
|
||||
creationType === 'plugins' && 'bg-state-base-hover text-text-secondary',
|
||||
)}
|
||||
>
|
||||
<RiPuzzle2Line className="h-4 w-4 shrink-0" />
|
||||
<Plugin className="h-4 w-4 shrink-0" />
|
||||
<span className="system-sm-medium hidden md:inline">
|
||||
{t('plugins', { ns: 'plugin' })}
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user