-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e90ef9d
commit 74aa953
Showing
13 changed files
with
130 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ node_modules | |
dist | ||
out | ||
.gitignore | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ pnpm-lock.yaml | |
LICENSE.md | ||
tsconfig.json | ||
tsconfig.*.json | ||
CHANGELOG*.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# CHANGES LOG | ||
|
||
### v0.2.1 - 2024-07-15 | ||
|
||
1. **Feature**: Add new feature for pausing message sending | ||
2. **Fix**: Resolve incomplete translation issue upon language switch | ||
3. **Build**: Support for macOS Intel architecture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# 更新日志 | ||
|
||
### v0.2.1 - 2024-07-15 | ||
|
||
1. 【功能】新增消息暂停发送功能 | ||
2. 【修复】修复多语言切换不彻底问题 | ||
3. 【构建】支持 macOS Intel 架构 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
$background-color: #121212; | ||
$text-color: #ffffff; | ||
$heading-color: #bb86fc; | ||
$link-color: #3498db; | ||
$code-background: #1e1e1e; | ||
$code-color: #f0e7db; | ||
|
||
.markdown { | ||
body { | ||
background-color: $background-color; | ||
color: $text-color; | ||
font-family: Arial, sans-serif; | ||
padding: 20px; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
color: $heading-color; | ||
} | ||
|
||
h3 { | ||
margin: 10px 0; | ||
font-weight: 500; | ||
font-family: Arial, sans-serif; | ||
} | ||
|
||
a { | ||
color: $link-color; | ||
text-decoration: none; | ||
|
||
&:hover { | ||
text-decoration: underline; | ||
} | ||
} | ||
|
||
strong { | ||
font-weight: bold; | ||
} | ||
|
||
pre { | ||
background-color: $code-background; | ||
padding: 10px; | ||
border-radius: 5px; | ||
overflow-x: auto; | ||
} | ||
|
||
code { | ||
background-color: $code-background; | ||
color: $code-color; | ||
padding: 2px 4px; | ||
border-radius: 3px; | ||
} | ||
|
||
blockquote { | ||
border-left: 4px solid $heading-color; | ||
padding-left: 10px; | ||
margin-left: 0; | ||
color: #b3b3b3; | ||
} | ||
|
||
ul, | ||
ol { | ||
padding-left: 30px; | ||
} | ||
|
||
li { | ||
margin-bottom: 5px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import changelogEn from '@renderer/assets/changelog/CHANGELOG.en.md?raw' | ||
import changelogZh from '@renderer/assets/changelog/CHANGELOG.zh.md?raw' | ||
import i18next from 'i18next' | ||
import { FC } from 'react' | ||
import Markdown from 'react-markdown' | ||
import styled from 'styled-components' | ||
import styles from '@renderer/assets/styles/changelog.module.scss' | ||
|
||
const Changelog: FC = () => { | ||
const language = i18next.language | ||
const changelog = language === 'zh-CN' ? changelogZh : changelogEn | ||
|
||
return ( | ||
<Container> | ||
<Markdown className={styles.markdown}>{changelog}</Markdown> | ||
</Container> | ||
) | ||
} | ||
|
||
const Container = styled.div` | ||
font-size: 14px; | ||
background-color: var(--color-background-soft); | ||
margin-top: 40px; | ||
padding: 20px; | ||
border-radius: 5px; | ||
width: 650px; | ||
` | ||
|
||
export default Changelog |