Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update github links #26

Merged
merged 3 commits into from
Nov 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion config/links.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"github": "https://github.com/zly201"
"github-repo": "https://github.com/typescript-tutorial-exercises/core",
"github-zly201": "https://github.com/zly201"
}
2 changes: 1 addition & 1 deletion src/modules/Footer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styles from './index.module.less';
const Footer = function () {
return (
<div className={styles.container}>
<a href={linkJson.github} target={'_blank'} rel="noreferrer">
<a href={linkJson['github-zly201']} target={'_blank'} rel="noreferrer">
copyright © 2023-Present ZLY201
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Header = function () {
<a
style={{ color: 'inherit' }}
className={styles.icon}
href={linkJson.github}
href={linkJson['github-repo']}
target={'_blank'}
rel="noreferrer"
>
Expand Down
5 changes: 4 additions & 1 deletion src/modules/Question/Description.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ const Description = function () {
const {
key,
title,
contributor: { name, link } = { name: 'ZLY201', link: linkJson.github },
contributor: { name, link } = {
name: 'ZLY201',
link: linkJson['github-zly201'],
},
cases = [NULL_CASE],
} = currentProblem;
const [desc, setDesc] = useState('');
Expand Down
Loading