Skip to content

Commit e4e6a72

Browse files
committed
modlist update
1 parent 800a0c2 commit e4e6a72

3 files changed

Lines changed: 49 additions & 20 deletions

File tree

i18n/en/code.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,19 @@
312312
"message": "My Mods"
313313
},
314314
"更新中": {
315-
"message": "Updating"
315+
"message": "Published/Updating"
316316
},
317-
"制作中/计划中": {
318-
"message": "In Development/Planned"
317+
"制作中": {
318+
"message": "Announced/In Development"
319+
},
320+
"计划中": {
321+
"message": "Planned"
319322
},
320323
"停止更新": {
321324
"message": "Discontinued"
322325
},
323326
"非发布": {
324-
"message": "Unreleased/Private"
327+
"message": "Not For Release/Private"
325328
},
326329
"theme.colorToggle.ariaLabel.mode.system": {
327330
"message": "system mode",

src/components/ModList/ModList.tsx

Lines changed: 40 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const MRMod = ({slug, buttons}) => {
161161
);
162162
};
163163

164-
const WorkingMod = ({img, title, description, buttons}) => {
164+
const PlainMod = ({img, title, description, buttons}) => {
165165
return (
166166
<div className={styles.modContainer}>
167167
{(
@@ -256,27 +256,43 @@ const ModList: React.FC = () => {
256256
{text: 'CurseForge', url: baseCfUrl + hotbar + '/files'},
257257
{text: 'MCMod', url: 'https://www.mcmod.cn/class/14032.html'},
258258
]}/>
259-
<MRMod slug={anomalysDelight} buttons={[
260-
{text: 'Demo Video', url: 'https://www.bilibili.com/video/BV1iJrkYsEb1/'},
261-
{text: 'Modrinth', url: 'https://modrinth.com/mod/anomalys-delight'},
262-
]}/>
263259
<CFMod modUrl={cfApiUrl + section31} buttons={[
264260
{text: 'Demo Video', url: 'https://www.bilibili.com/video/BV1tt9UY4E8x/'},
265261
{text: 'CurseForge', url: baseCfUrl + section31 + '/files'},
266262
{text: 'MCMod', url: 'https://www.mcmod.cn/class/18765.html'},
267263
]}/>
268-
<WorkingMod img={"up.png"}
269-
title={'Guide Me To'}
270-
description={'Flexible signs designed for an online conventions.'}
271-
buttons={[]}
264+
265+
<h2 className={styles.h2Margin}><Translate>制作中</Translate></h2>
266+
<PlainMod img={"neb_icon_500.png"}
267+
title={'Not Enough Bandwidth'}
268+
description={'Save your server network flow more than 70%.'}
269+
buttons={[]}
270+
/>
271+
<PlainMod img={"chl_icon_500.png"}
272+
title={'Channel'}
273+
description={'An open source in-game talking mod.'}
274+
buttons={[]}
272275
/>
273276

274-
<h2 className={styles.h2Margin}><Translate>制作中/计划中</Translate></h2>
277+
<h2 className={styles.h2Margin}><Translate>计划中</Translate></h2>
278+
279+
<PlainMod img={"question.png"}
280+
title={'PowerGrid'}
281+
description={'Multi-thread in time.'}
282+
buttons={[]}
283+
/>
284+
285+
<PlainMod img={"ares_logo_500.png"}
286+
title={'Ares'}
287+
description={'The best unified first-person pvp experience.'}
288+
buttons={[]}
289+
/>
290+
291+
{/*<CFMod modUrl={cfApiUrl + r6} buttons={[*/}
292+
{/* //{text: 'All downloads', url: baseCFUrl + r6 + '/files'},*/}
293+
{/* //{text: 'MCMod', url: 'https://www.mcmod.cn/class/4799.html'},*/}
294+
{/*]}/>*/}
275295

276-
<CFMod modUrl={cfApiUrl + r6} buttons={[
277-
//{text: 'All downloads', url: baseCFUrl + r6 + '/files'},
278-
//{text: 'MCMod', url: 'https://www.mcmod.cn/class/4799.html'},
279-
]}/>
280296
<h2 className={styles.h2Margin}><Translate>停止更新</Translate></h2>
281297
<CFMod modUrl={cfApiUrl + brighter} buttons={[
282298
{text: 'Demo Video', url: 'https://www.bilibili.com/video/BV17Q4y1e7Ri'},
@@ -288,9 +304,19 @@ const ModList: React.FC = () => {
288304
{text: 'CurseForge', url: baseCfUrl + extinguish + '/files'},
289305
{text: 'MCMod', url: 'https://www.mcmod.cn/class/6752.html'},
290306
]}/>
307+
<MRMod slug={anomalysDelight} buttons={[
308+
{text: 'Demo Video', url: 'https://www.bilibili.com/video/BV1iJrkYsEb1/'},
309+
{text: 'Modrinth', url: 'https://modrinth.com/mod/anomalys-delight'},
310+
]}/>
291311

292312
<h2 className={styles.h2Margin}><Translate>非发布</Translate></h2>
293313

314+
<PlainMod img={"up.png"}
315+
title={'Guide Me To'}
316+
description={'Flexible signs designed for an online conventions.'}
317+
buttons={[]}
318+
/>
319+
294320
<div className={styles.biliModAllContainer}>
295321
<BiliMod img={'kamu1.jpg'}
296322
title={'怪物末日'}

src/components/ModList/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
width: 14rem;
4444
height: 8rem;
4545
object-fit: cover;
46-
margin: 2% 2% 3% 2%;
46+
margin: 1.5% 1.5% 2% 1.5%;
4747
border-radius: 0.5rem;
4848
}
4949

@@ -55,7 +55,7 @@
5555
width: 8rem;
5656
height: 8rem;
5757
object-fit: cover;
58-
margin: 2% 2% 2% 4%;
58+
margin: 1.5% 1.5% 1.5% 3%;
5959
border-radius: 0.5rem;
6060
}
6161

0 commit comments

Comments
 (0)