'use client'
import { useTranslation } from 'react-i18next'
import Link from 'next/link'
import { useSelectedLayoutSegment } from 'next/navigation'
import { cn } from '@/utils/classnames'
import {
RiImage2Fill,
RiImage2Line,
} from '@remixicon/react'
type ExploreNavProps = {
className?: string
}
const DrawNav = ({
className,
}: ExploreNavProps) => {
const { t } = useTranslation()
const selectedSegment = useSelectedLayoutSegment()
const actived = selectedSegment === 'draw-extend'
return (
{
actived
?
:
}
{t("aiDraw.title", { ns: "extend" } )}
)
}
export default DrawNav