Skip to content

Commit 6e3d0a5

Browse files
authored
Merge pull request #44 from type-challenges/dev
release-20240607
2 parents 9b24892 + 5a6f2ce commit 6e3d0a5

File tree

12 files changed

+73
-30
lines changed

12 files changed

+73
-30
lines changed

.github/CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Typescript-Tutorial-Exercises Contributing Guide
1+
# Type-Challenges-Site Contributing Guide
22

33
Hi! I'm really excited that you are interested in contributing to js-sdsl. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
44

5-
- [Code of Conduct](https://github.com/typescript-tutorial-exercises/core/blob/main/CODE_OF_CONDUCT.md)
5+
- [Code of Conduct](https://github.com/type-challenges/site/blob/main/CODE_OF_CONDUCT.md)
66
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
77
- [Pull Request Guidelines](#pull-request-guidelines)
88
- [Development Setup](#development-setup)
@@ -44,7 +44,7 @@ $ yarn setup
4444

4545
### Committing Changes
4646

47-
Please follow the commit specification. See [`.commitlintrc.json`](https://github.com/typescript-tutorial-exercises/core/blob/main/.commitlintrc.json) get help.
47+
Please follow the commit specification. See [`.commitlintrc.json`](https://github.com/type-challenges/site/blob/main/.commitlintrc.json) get help.
4848

4949
### Commonly used NPM scripts
5050

@@ -68,6 +68,6 @@ All our source files are written in typescript, please make sure your submission
6868

6969
## Credits
7070

71-
Thank you to all the people who have already contributed to `typescript-tutorial-exercises`!
71+
Thank you to all the people who have already contributed to `type-challenges`!
7272

73-
[![contributors](https://contrib.rocks/image?repo=typescript-tutorial-exercises/core)](https://github.com/typescript-tutorial-exercises/core/graphs/contributors)
73+
[![contributors](https://contrib.rocks/image?repo=type-challenges/site)](https://github.com/type-challenges/site/graphs/contributors)

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# These are supported funding model platforms
22

3-
open_collective: typescript-tutorial-exercises
43
custom: ["https://www.paypal.com/paypalme/zly201"]

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ jobs:
3636
folder: dist
3737
branch: gh-pages
3838
token: ${{ secrets.DEPLOY_TOKEN }}
39-
repository-name: typescript-tutorial-exercises/preview
39+
repository-name: type-challenges/site
4040
- name: Deploy to github pages
4141
if: ${{ github.ref == 'refs/heads/main' }}
4242
uses: JamesIves/github-pages-deploy-action@v4
4343
with:
4444
folder: dist
4545
branch: gh-pages
4646
token: ${{ secrets.DEPLOY_TOKEN }}
47-
repository-name: typescript-tutorial-exercises/typescript-tutorial-exercises.github.io
47+
repository-name: type-challenges/type-challenges.github.io

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Typescript Tutorial Exercise
22

3-
[![status](https://img.shields.io/github/actions/workflow/status/typescript-tutorial-exercises/core/deploy.yml)](https://github.com/typescript-tutorial-exercises/core/actions/workflows/deploy.yml)
4-
[![stars](https://img.shields.io/github/stars/typescript-tutorial-exercises/core.svg)](https://github.com/typescript-tutorial-exercises/core)
3+
[![status](https://img.shields.io/github/actions/workflow/status/type-challenges/site/deploy.yml)](https://github.com/type-challenges/site/actions/workflows/deploy.yml)
4+
[![stars](https://img.shields.io/github/stars/type-challenges/site.svg)](https://github.com/type-challenges/site)
55
[![licenses](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
6-
[![language](https://img.shields.io/github/languages/top/typescript-tutorial-exercises/core.svg)](https://github.com/typescript-tutorial-exercises/core)
6+
[![language](https://img.shields.io/github/languages/top/type-challenges/site.svg)](https://github.com/type-challenges/site)
77

88
## Getting Started
99

10-
Please go to [typescript-tutorial-exercises.github.io](https://typescript-tutorial-exercises.github.io/) to start your TypeScript travel!
10+
Please go to [type-challenges.github.io](https://type-challenges.github.io/) to start your TypeScript travel!
1111

1212
All exercises are from [type-challenges](https://github.com/type-challenges/type-challenges).
1313

@@ -19,7 +19,7 @@ Feel free to dive in! Open an issue or submit PRs. It may be helpful to read the
1919

2020
Thanks goes to these wonderful people:
2121

22-
[![contributors](https://contrib.rocks/image?repo=typescript-tutorial-exercises/core)](https://github.com/typescript-tutorial-exercises/core/graphs/contributors)
22+
[![contributors](https://contrib.rocks/image?repo=type-challenges/site)](https://github.com/type-challenges/site/graphs/contributors)
2323

2424

2525
## License

config/i18n.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,21 @@
5858
"no_question": {
5959
"en": "No Result",
6060
"zh-CN": "暂无数据"
61+
},
62+
"compilation_error": {
63+
"en": "Compilation Error",
64+
"zh-CN": "编译失败"
65+
},
66+
"compilation_success": {
67+
"en": "Compilation Successful",
68+
"zh-CN": "编译成功"
69+
},
70+
"compilation_success_info": {
71+
"en": "\uD83C\uDF89 Yay! You have finished this challenge.",
72+
"zh-CN": "\uD83C\uDF89 恭喜你完成了这个挑战!"
73+
},
74+
"share_solution": {
75+
"en": "Share your Solution",
76+
"zh-CN": "分享你的解答"
6177
}
6278
}

config/links.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"github-repo": "https://github.com/typescript-tutorial-exercises"
2+
"github-repo": "https://github.com/type-challenges/site"
33
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "typescript-tutorial-exercises",
2+
"name": "type-challenges-site",
33
"version": "1.0.0",
44
"author": {
55
"name": "ZLY201",

src/modules/Footer/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Footer = function () {
66
return (
77
<div className={styles.container}>
88
<a href={linkJson['github-repo']} target={'_blank'} rel="noreferrer">
9-
copyright © 2023-{dayjs().year()} typescript-tutorial-exercises
9+
copyright © 2023-{dayjs().year()} Type Challenges
1010
</a>
1111
</div>
1212
);

src/modules/Question/Solution.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const Solution = function () {
2828

2929
return (
3030
<div className={styles['solution-container']}>
31-
<Skeleton loading={loading} style={{ marginTop: 20 }}>
31+
<Skeleton loading={loading} style={{ marginTop: 20 }} animation={true}>
3232
<Markdown content={solution} theme={theme} />
3333
</Skeleton>
3434
</div>

src/modules/Results/index.module.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
border-radius: 8px;
3232
font-size: 16px;
3333
}
34+
.result-accept-btns {
35+
margin-top: 24px;
36+
}
3437
}
3538
.result-accept {
3639
.result-accept-title {

0 commit comments

Comments
 (0)