Skip to content

Commit

Permalink
Quelques corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyost committed Dec 28, 2023
1 parent a890ad2 commit 534b7bd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
node: [ 16 ]
node: [ latest ]
steps:
- name: Checkout 🛎
uses: actions/checkout@v3
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Generate ⚙️
run: npm run generate
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages
Expand Down
2 changes: 1 addition & 1 deletion content/latex/lessons/terminale/suites.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
\input{../../common}
\input{../common}

\begin{document}
%<*content>
Expand Down
5 changes: 5 additions & 0 deletions middleware/scrollToTop.global.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default defineNuxtRouteMiddleware((to, from) => {
if (to.path !== from.path && process.client) {
window.scrollTo(0, 0)
}
})
1 change: 1 addition & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@nuxtjs/google-fonts": "^3.1.3",
"@types/adm-zip": "^0.5.5",
"@types/katex": "^0.16.7",
"@types/node": "^20.10.5",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
Expand Down

0 comments on commit 534b7bd

Please sign in to comment.