fix(github链接)

This commit is contained in:
guanpengchn
2019-07-04 13:28:13 +08:00
parent 28edd4d572
commit f0ae003196
2 changed files with 11 additions and 5 deletions

View File

@@ -4,10 +4,10 @@ import PropTypes from "prop-types";
import { withStyles } from "@material-ui/core/styles"; import { withStyles } from "@material-ui/core/styles";
// import Button from "@material-ui/core/Button"; // import Button from "@material-ui/core/Button";
import List from "@material-ui/core/List"; import List from "@material-ui/core/List";
// import ListItem from "@material-ui/core/ListItem"; import ListItem from "@material-ui/core/ListItem";
// import Tooltip from "@material-ui/core/Tooltip"; // import Tooltip from "@material-ui/core/Tooltip";
// import github from "../../icons/github.svg"; import github from "../../icons/github.svg";
import Export from "../Button/Export" import Export from "../Button/Export"
// import { ENTER_DELAY, LEAVE_DELAY } from "../../utils/constant"; // import { ENTER_DELAY, LEAVE_DELAY } from "../../utils/constant";
@@ -42,15 +42,17 @@ class ListStorage extends Component {
enterDelay={ENTER_DELAY} enterDelay={ENTER_DELAY}
leaveDelay={LEAVE_DELAY} leaveDelay={LEAVE_DELAY}
disableFocusListener disableFocusListener
> > */}
<ListItem <ListItem
className={classes.listItem} className={classes.listItem}
button button
onClick={this.handleSave} onClick={this.handleSave}
> >
<img src={github} alt="logo" /> <a className={classes.github} target="_blank" rel="noopener noreferrer" href="https://github.com/guanpengchn/markdown-resume">
<img src={github} alt="logo" />
</a>
</ListItem> </ListItem>
</Tooltip> */} {/* </Tooltip> */}
</List> </List>
); );
} }
@@ -77,6 +79,9 @@ const styles = theme => ({
btn: { btn: {
padding: "0", padding: "0",
width: "100px", width: "100px",
},
github: {
borderBottom: "none"
} }
}); });

View File

@@ -80,6 +80,7 @@ export const HELP_MARKDOWN = `
export const HELP_NOTICE = ` export const HELP_NOTICE = `
### 简历数据目前自动保存在浏览器中,如果清理浏览器将会丢失! ### 简历数据目前自动保存在浏览器中,如果清理浏览器将会丢失!
### 记得编辑后保存到本地备份! ### 记得编辑后保存到本地备份!
### 欢迎点击右上角查看该开源项目欢迎STAR
` `
export const HELP_INFO = [HELP_NOTICE, HELP_USE, HELP_MARKDOWN]; export const HELP_INFO = [HELP_NOTICE, HELP_USE, HELP_MARKDOWN];