Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nju collaboration case and fix typos #288

Merged
merged 4 commits into from
Dec 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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