Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Jun 28, 2024
1 parent 7e43e2c commit 07e3261
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/canyon-platform/src/pages/index/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ const ProjectPage = () => {
return (
<div className={'flex gap-1'}>
<div>
<img src={`/langs/${record.language}.svg`} alt='' className={'w-[16px]'} />
<span style={{ width: '4px', display: 'inline-block' }}></span>
{/*<img src={`/langs/${record.language}.svg`} alt='' className={'w-[16px]'} />*/}
{/*<span style={{ width: '4px', display: 'inline-block' }}></span>*/}
<img src='/gitproviders/gitlab.svg' alt='' className={'w-[16px]'} />
</div>

Expand Down Expand Up @@ -274,21 +274,21 @@ const ProjectPage = () => {
}))}
/>

<Select
defaultValue={initLang}
mode='multiple'
onChange={(v) => {
setLang(v);
localStorage.setItem('langcondition', JSON.stringify(v));
}}
placeholder={'Language'}
className={'w-[200px] mr-2'}
options={[{ label: 'JavaScript', value: 'JavaScript' }]}
/>
{/*<Select*/}
{/* defaultValue={initLang}*/}
{/* mode='multiple'*/}
{/* onChange={(v) => {*/}
{/* setLang(v);*/}
{/* localStorage.setItem('langcondition', JSON.stringify(v));*/}
{/* }}*/}
{/* placeholder={'Language'}*/}
{/* className={'w-[200px] mr-2'}*/}
{/* options={[{ label: 'JavaScript', value: 'JavaScript' }]}*/}
{/*/>*/}

<Input.Search
placeholder={t('projects.search_keywords')}
className={'w-[360px] mb-3'}
className={'w-[420px] mb-3'}
onSearch={(value) => {
setKeyword(value);
setCurrent(1);
Expand Down

0 comments on commit 07e3261

Please sign in to comment.