Skip to content

Commit

Permalink
[fix] Scroll to Page Top & Upgrade cell-router (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
dethan3 authored Jun 20, 2024
1 parent 427a6f9 commit b86c0a8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"boot-cell": "^2.0.0-beta.29",
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^3.0.0-rc.7",
"cell-router": "^3.0.0-rc.8",
"classnames": "^2.5.1",
"dom-renderer": "^2.1.8",
"html-to-image": "^1.11.11",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions source/page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ export const PageRouter = () => (
<div>
<h4>关于我们</h4>
<p className="text-muted">
非营利组织 freeCodeCamp.org 自 2014
非营利组织
<a target="_blank" href="https://www.freecodecamp.org/">
freeCodeCamp
</a>{' '}
自 2014
年成立以来,以“帮助人们免费学习编程”为使命,创建了大量免费的编程教程,包括交互式课程、视频课程、文章等。线下开发者社区遍布
160 多个国家、2000
多个城市。我们正在帮助全球数百万人学习编程,希望让世界上每个人都有机会获得免费的优质的编程教育资源,成为开发者或者运用编程去解决问题。
Expand Down Expand Up @@ -85,7 +89,7 @@ export const PageRouter = () => (
</a>
开发
</span>
<a href="#top">返回页顶</a>
<a href="#top">返回页首</a>
</section>
</footer>
</>
Expand Down

1 comment on commit b86c0a8

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for web-conf ready!

✅ Preview
https://web-conf-o9t8f19u1-techquerys-projects.vercel.app

Built with commit b86c0a8.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.