mirror of
https://github.com/mdnice/markdown-resume.git
synced 2025-10-17 16:02:32 +00:00
fix(github链接)
This commit is contained in:
@@ -4,10 +4,10 @@ import PropTypes from "prop-types";
|
||||
import { withStyles } from "@material-ui/core/styles";
|
||||
// import Button from "@material-ui/core/Button";
|
||||
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 github from "../../icons/github.svg";
|
||||
import github from "../../icons/github.svg";
|
||||
import Export from "../Button/Export"
|
||||
|
||||
// import { ENTER_DELAY, LEAVE_DELAY } from "../../utils/constant";
|
||||
@@ -42,15 +42,17 @@ class ListStorage extends Component {
|
||||
enterDelay={ENTER_DELAY}
|
||||
leaveDelay={LEAVE_DELAY}
|
||||
disableFocusListener
|
||||
>
|
||||
> */}
|
||||
<ListItem
|
||||
className={classes.listItem}
|
||||
button
|
||||
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>
|
||||
</Tooltip> */}
|
||||
{/* </Tooltip> */}
|
||||
</List>
|
||||
);
|
||||
}
|
||||
@@ -77,6 +79,9 @@ const styles = theme => ({
|
||||
btn: {
|
||||
padding: "0",
|
||||
width: "100px",
|
||||
},
|
||||
github: {
|
||||
borderBottom: "none"
|
||||
}
|
||||
});
|
||||
|
||||
|
@@ -80,6 +80,7 @@ export const HELP_MARKDOWN = `
|
||||
export const HELP_NOTICE = `
|
||||
### 简历数据目前自动保存在浏览器中,如果清理浏览器将会丢失!
|
||||
### 记得编辑后保存到本地备份!
|
||||
### 欢迎点击右上角查看该开源项目,欢迎STAR
|
||||
`
|
||||
export const HELP_INFO = [HELP_NOTICE, HELP_USE, HELP_MARKDOWN];
|
||||
|
||||
|
Reference in New Issue
Block a user