Skip to content

Commit 8c44093

Browse files
author
Your Name
committed
AMM docs
1 parent 4940f38 commit 8c44093

4 files changed

Lines changed: 176 additions & 115 deletions

File tree

frontendd/package-lock.json

Lines changed: 85 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontendd/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@
2727
"clsx": "^2.1.1",
2828
"ethers": "^6.8.0",
2929
"framer-motion": "^12.23.11",
30+
"katex": "^0.16.22",
3031
"lucide-react": "^0.526.0",
3132
"next": "15.4.4",
3233
"react": "19.1.0",
3334
"react-dom": "19.1.0",
3435
"react-icons": "^5.5.0",
36+
"react-katex": "^3.1.0",
3537
"tailwind-merge": "^3.3.1",
3638
"viem": "^2.33.1",
3739
"wagmi": "^2.16.0"
@@ -42,6 +44,7 @@
4244
"@types/node": "^20",
4345
"@types/react": "^19",
4446
"@types/react-dom": "^19",
47+
"@types/react-katex": "^3.0.4",
4548
"eslint": "^9",
4649
"eslint-config-next": "15.4.4",
4750
"tailwindcss": "^4",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import 'katex/dist/katex.min.css';
2+
import { InlineMath, BlockMath } from 'react-katex';
3+
4+
function OrbitalInvariant() {
5+
return (
6+
<div>
7+
<BlockMath math="\sum_{i=1}^{n} (r - x_i)^2 = r^2" />
8+
</div>
9+
);
10+
}
11+
12+
export default OrbitalInvariant;

0 commit comments

Comments
 (0)