feat: create top bar

This commit is contained in:
AkaraChen
2024-11-21 16:19:32 +08:00
parent 13c62f83f4
commit fdcee1cd45
6 changed files with 112 additions and 38 deletions

View File

@ -1,25 +1,16 @@
'use client'
import Input from '../components/base/input'
import { OptionCard } from '../components/datasets/create/step-two/option-card'
import { Stepper } from '../components/datasets/create/stepper'
export default function Page() {
return <div className='p-4'>
<OptionCard
icon={undefined}
title={'General'}
description={
'General text chunking mode, the chunks retrieved and recalled are the same.'
}
className='w-[600px]'
activeHeaderClassName='bg-gradient-to-r from-[#EFF0F9] to-[#F9FAFB]'
isActive={true}>
<p
className='text-[#354052] text-sm font-semibold leading-tight'
>
Lorem ipsum
</p>
<Input className='mt-2' />
</OptionCard>
<Stepper
steps={[
{ name: 'Data Source' },
{ name: 'Document Processing' },
{ name: 'Execute & Finish' },
]}
activeStepIndex={1}
/>
</div>
}