Skip to content

Commit

Permalink
feat: update to 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarivy committed Jul 18, 2024
1 parent b18ecd7 commit c0ba788
Show file tree
Hide file tree
Showing 4 changed files with 1,856 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import MainLayout from '../layouts/MainLayout/MainLayout';
import parseMd from '../parseMd/parseMd';
import NotFound from './NotFound';

const markdown = require('../markdown/上海科技大学2023新生手册.md')
const markdown = require('../markdown/上海科技大学2024新生手册.md')

var parseMdt = new parseMd(markdown);
var data = parseMdt.render();
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Header extends React.Component {
});

const headerContent = (this.props.level0==undefined)?
<div>上海科技大学<br /><b>新 生 导 航</b><br />- 2023 -<br /></div> :
<div>上海科技大学<br /><b>新 生 导 航</b><br />- 2024 -<br /></div> :
<div><b><br /><br /><br /></b></div>;

const level1ContainerCls = classnames({
Expand Down Expand Up @@ -87,7 +87,7 @@ class Header extends React.Component {
</Col>
<Col span={24} className={styles.info_container}>
© 上海科技大学 迎新网<br />
All Rights Reserved · 2023<br />
All Rights Reserved · 2024<br />
</Col>
</Row>
<Row className={level1ContainerCls}>
Expand Down
2 changes: 1 addition & 1 deletion src/entries/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>上海科技大学 新生导航 2023</title>
<title>上海科技大学 新生导航 2024</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down
Loading

0 comments on commit c0ba788

Please sign in to comment.