Skip to content

Commit

Permalink
feat: add nju collaboration case and fix typos (#288)
Browse files Browse the repository at this point in the history
Signed-off-by: laixingyou <[email protected]>
  • Loading branch information
coder-sett authored Dec 29, 2023
1 parent 28b9674 commit 29202fb
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/i18n
Binary file added apps/web/public/images/academe/case/nju2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/images/academe/case/nju3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 69 additions & 1 deletion apps/web/src/modules/academe/CooperationCase/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,39 @@ const CooperationCase = () => {
/>
),
},
{
name: 'nju2',
url: '/images/academe/[email protected]',
title: t('academe:nju2_title'),
desc: (
<ul className="h-full w-full">
<li className="ml-4 mb-2 list-disc">{t('academe:nju2_author')}</li>
<li className="ml-4 mb-2 list-disc">{t('academe:nju2_author2')}</li>
<li className="ml-4 list-disc">
{t('academe:nju2_desc')}
<LinkX
href={
'/blog/2023/12/06/an-Information-entropy/an-Information-entropy'
}
>
<span className="text-[#002fa7]">{t('academe:nju2_title')}</span>
</LinkX>
</li>
</ul>
),
content:
i18n.language === 'en' ? (
<img
className="h-[50%] w-full"
src={'/images/academe/case/nju2.png'}
/>
) : (
<img
className="h-[50%] w-full"
src={'/images/academe/case/nju2.png'}
/>
),
},
{
name: 'pku3',
url: '/images/academe/[email protected]',
Expand Down Expand Up @@ -209,6 +242,39 @@ const CooperationCase = () => {
/>
),
},
{
name: 'nju3',
url: '/images/academe/[email protected]',
title: t('academe:nju3_title'),
desc: (
<ul className="h-full w-full">
<li className="ml-4 mb-2 list-disc">{t('academe:nju3_author')}</li>
<li className="ml-4 mb-2 list-disc">{t('academe:nju3_author2')}</li>
<li className="ml-4 list-disc">
{t('academe:nju3_desc')}
<LinkX
href={
'/blog/2023/12/06/an-Information-entropy/an-Information-entropy'
}
>
<span className="text-[#002fa7]">{t('academe:nju3_title')}</span>
</LinkX>
</li>
</ul>
),
content:
i18n.language === 'en' ? (
<img
className="h-[65%] w-full"
src={'/images/academe/case/nju3.png'}
/>
) : (
<img
className="h-[65%] w-full"
src={'/images/academe/case/nju3.png'}
/>
),
},
];

const [active, setActive] = useState('nju');
Expand Down Expand Up @@ -290,7 +356,9 @@ const CooperationCase = () => {
)}
{activeCase.experience && activeCase.experience}
</div>
<div className="ml-16 h-[280px] flex-1 ">{activeCase.content}</div>
<div className="ml-16 flex h-[280px] flex-1 items-center">
{activeCase.content}
</div>
</div>
</div>
</>
Expand Down

2 comments on commit 29202fb

@vercel
Copy link

@vercel vercel bot commented on 29202fb Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 29202fb Dec 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.