Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

1.0 KB
Raw Blame
'use client'
import type { FC } from 'react'
import * as React from 'react'
import { useTranslation } from 'react-i18next'

type Props = Readonly<{
  className?: string
  crawledNum: number
  totalNum: number
}>

const Crawling: FC<Props> = ({ className = '', crawledNum, totalNum }) => {
  const { t } = useTranslation(['datasetCreation'])

  return (
    <div className={className}>
      <div className="flex h-8.5 items-center border-y-[0.5px] border-divider-regular px-4 text-xs text-text-tertiary shadow-xs shadow-shadow-shadow-3">
        {t(($) => $['stepOne.website.totalPageScraped'], { ns: 'datasetCreation' })} {crawledNum}/
        {totalNum}
      </div>

      <div className="p-2">
        {['', '', '', ''].map((item, index) => (
          <div className="py-1.25" key={index}>
            <span
              aria-hidden
              className="i-custom-public-other-row-struct h-12 w-156 text-text-quaternary"
            />
          </div>
        ))}
      </div>
    </div>
  )
}
export default React.memo(Crawling)