Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zerosoul committed Dec 22, 2023
1 parent 4a3f668 commit 8ebbebf
Show file tree
Hide file tree
Showing 4 changed files with 710 additions and 1,659 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"editor.codeActionsOnSave": {
"source.fixAll": false,
"source.fixAll.eslint": true
"source.fixAll": "never",
"source.fixAll.eslint": "explicit"
},
"todohighlight.isCaseSensitive": false,
"css.validate": false,
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,24 @@
"file-saver": "^2.0.5",
"html2canvas": "^1.4.1",
"jinrishici": "^1.0.6",
"pinyin": "^2.11.2",
"pinyin": "^3.1.0",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-github-btn": "^1.4.0",
"react-router-dom": "^6.16.0",
"react-router-dom": "^6.21.1",
"smooth-scroll-into-view-if-needed": "^2.0.2",
"styled-components": "^6.0.8",
"styled-components": "^6.1.2",
"styled-reset": "^4.5.1"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.1.0",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^3.0.3",
"vite": "^4.4.9"
"prettier": "^3.1.1",
"vite": "^5.0.10"
},
"engines": {
"node": ">=16.0.0",
Expand Down
20 changes: 11 additions & 9 deletions src/components/InfoModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const Wrapper = styled.section`
margin-bottom: 0.5rem;
display: flex;
justify-content: center;
a,
> a,
> span {
padding: 0 0.4rem;
}
Expand All @@ -108,6 +108,9 @@ const Wrapper = styled.section`
}
}
&.ad {
display: flex;
/* gap: 8px; */
font-size: 0.5rem;
}
}
Expand Down Expand Up @@ -166,13 +169,6 @@ export default function InfoModal({ closeModal, bgColor }) {
Nipponcolors
</a>
</span>
<span>&</span>
<span>
数据来源:
<a href="http://blog.sina.com.cn/s/blog_5c3b139d0101deia.html" target="_blank">
中国传统颜色卡
</a>
</span>
</p>

<p>
Expand All @@ -185,7 +181,13 @@ export default function InfoModal({ closeModal, bgColor }) {
</p>
<p className="ad">
<span>
经典扫雷小游戏
更多作品:
<a href="//sinqi.tools" target="_blank">
Sinqi Tools
</a>
</span>
<span>
经典扫雷小游戏:
<a href="//ohminesweeper.online" target="_blank">
Minesweeper Online
</a>
Expand Down
Loading

0 comments on commit 8ebbebf

Please sign in to comment.