Skip to content

Commit

Permalink
update annoucement
Browse files Browse the repository at this point in the history
  • Loading branch information
CelleryLin committed Feb 3, 2025
1 parent 388eb57 commit af8deba
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 31 deletions.
47 changes: 29 additions & 18 deletions client-website/src/components/SelectorSetting/Announcement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,31 @@ class Announcement extends Component<AnnouncementProps> {
<Row>
<Col lg={6} md={6}>
<TextWithIcon>
<JournalText /> 更新紀錄
<JournalText /> 更新紀錄 Courses Data Status
</TextWithIcon>
<ul>
<li>學期課程資料: {convertVersion(latestCourseHistoryData)}</li>
</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<FileEarmarkText /> 回饋表單 Feedback:
<ArrowUpCircle /> 更新內容 Updates
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.updates)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<InfoCircle /> 使用須知
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.description)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<FileEarmarkText /> 相關連結 Urls
</TextWithIcon>
<ul>
<li>
回饋表單 Feedback: <br />
<a
href={ANNOUNCEMENT_DATA.feedbackFormUrl}
target='_blank'
Expand All @@ -72,35 +85,33 @@ class Announcement extends Component<AnnouncementProps> {
{ANNOUNCEMENT_DATA.feedbackFormUrl}
</a>
</li>
<li>
選課論壇 Discord Forum: <br />
<a
href={ANNOUNCEMENT_DATA.DCForumUrl}
target='_blank'
rel='noreferrer'
>
{ANNOUNCEMENT_DATA.DCForumUrl}
</a>
</li>
</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<InfoCircle /> 使用須知:
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.description)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<ArrowUpCircle /> 更新內容 Updates:
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.updates)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<Gear /> 主要功能 Main Features:
<Gear /> 主要功能 Main Features
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.features)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<ExclamationCircle /> 已知問題
<ExclamationCircle /> 已知問題 Known Issues
</TextWithIcon>
<ul>{this.renderList(ANNOUNCEMENT_DATA.knownIssues)}</ul>
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<CodeSlash /> 專案程式
<CodeSlash /> 專案程式 Source Code
</TextWithIcon>
<ul>
<li>
Expand All @@ -116,7 +127,7 @@ class Announcement extends Component<AnnouncementProps> {
</Col>
<Col lg={6} md={6}>
<TextWithIcon>
<Envelope /> 錯誤回報 & 聯絡
<Envelope /> 錯誤回報 & 聯絡 Reporting Issue
</TextWithIcon>
<ul>
<li>
Expand Down
21 changes: 8 additions & 13 deletions client-website/src/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
export const ANNOUNCEMENT_DATA = {
version: 'v5.1.1',
feedbackFormUrl: 'https://forms.gle/gFBZDgkSbj85zukP6',
DCForumUrl: "https://discord.gg/Md4x9frrHf",
description: [
<>
此網站式依據電腦的使用者體驗設計,建議
Expand All @@ -31,20 +32,13 @@ export const ANNOUNCEMENT_DATA = {
<span className='text-danger fw-bold'>
如果實驗性功能有任何問題,請聯絡我
</span>
</>,
</>
],
updates: [
'實驗性功能:改用自動更新API,資料將每小時更新一次。',
'自動選課改稱課程偵探,並且改成排序列表',
'新版前端完成了!手機版也有了!',
'新增課程偵探時間點擊篩選功能',
'一鍵登記與已選課程合併了',
'新增課程偵探排序功能',
'新增匯入與匯出功能',
'優化課程動態渲染',
'可以收起課表了',
'改用自動更新API,資料將每小時更新一次。',
],
features: [
'超漂亮UI',
'課表動態更新',
'一鍵加入必修課',
'更強大的篩選器以及智慧搜尋',
Expand Down Expand Up @@ -77,7 +71,7 @@ export const ANNOUNCEMENT_DATA = {
githubUrl: 'https://github.com/CelleryLin/selector_helper/',
contactEmail: '[email protected]',
copyright: [
'By Cellery Lin (MEME113) and whats2000 (MIS114).',
'By Cellery Lin (MEM113) and whats2000 (MIS114).',
'MIT License, Copyright © 2023 Cellery Lin and whats2000. All rights reserved.',
],
};
Expand All @@ -90,7 +84,7 @@ export const ENTRY_NOTIFICATION_CONFIG = {
<li>
中山選課論壇DC現在啟用啦!
<a
href='https://discord.gg/Md4x9frrHf'
href={ANNOUNCEMENT_DATA.DCForumUrl}
target='_blank'
rel='noreferrer noopener'
>
Expand All @@ -106,8 +100,9 @@ export const ENTRY_NOTIFICATION_CONFIG = {
target='_blank'
rel='noreferrer noopener'
>
form below.
form below
</a>
, or contact me ([email protected]) directly.
</li>
</ul>
</>
Expand Down

0 comments on commit af8deba

Please sign in to comment.