🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update dependencies and enhance layout styling
Bill Yangb59bbb24dfe2
diff --git a/client/package-lock.json b/client/package-lock.jsonindex 70a81c16f..2156ba4a6 100644--- a/client/package-lock.json+++ b/client/package-lock.json@@ -56,7 +56,7 @@"lodash": "^4.17.21","lucide-react": "^0.487.0","luxon": "^3.5.0",- "next": "15.1.6",+ "next": "^15.3.1","next-themes": "^0.4.4","react": "^19.0.0","react-countup": "^6.5.3",@@ -251,9 +251,9 @@"dev": true},"node_modules/@emnapi/runtime": {- "version": "1.3.1",- "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz",- "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==",+ "version": "1.4.3",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.4.3.tgz",+ "integrity": "sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==","optional": true,"dependencies": {"tslib": "^2.4.0"@@ -1189,9 +1189,9 @@"integrity": "sha512-lhqDEAvWixy3bZ+UOYbPwUbBkwBq5C1LAJ/xPC8Oi+lL54oyakv/npbA0aU2hgCsx/1NUd4IBvV03+aUBWxerw=="},"node_modules/@img/sharp-darwin-arm64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz",- "integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.34.1.tgz",+ "integrity": "sha512-pn44xgBtgpEbZsu+lWf2KNb6OAf70X68k+yk69Ic2Xz11zHR/w24/U49XT7AeRwJ0Px+mhALhU5LPci1Aymk7A==","cpu": ["arm64"],@@ -1206,13 +1206,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-darwin-arm64": "1.0.4"+ "@img/sharp-libvips-darwin-arm64": "1.1.0"}},"node_modules/@img/sharp-darwin-x64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz",- "integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.34.1.tgz",+ "integrity": "sha512-VfuYgG2r8BpYiOUN+BfYeFo69nP/MIwAtSJ7/Zpxc5QF3KS22z8Pvg3FkrSFJBPNQ7mmcUcYQFBmEQp7eu1F8Q==","cpu": ["x64"],@@ -1227,13 +1227,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-darwin-x64": "1.0.4"+ "@img/sharp-libvips-darwin-x64": "1.1.0"}},"node_modules/@img/sharp-libvips-darwin-arm64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz",- "integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.1.0.tgz",+ "integrity": "sha512-HZ/JUmPwrJSoM4DIQPv/BfNh9yrOA8tlBbqbLz4JZ5uew2+o22Ik+tHQJcih7QJuSa0zo5coHTfD5J8inqj9DA==","cpu": ["arm64"],@@ -1246,9 +1246,9 @@}},"node_modules/@img/sharp-libvips-darwin-x64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz",- "integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.1.0.tgz",+ "integrity": "sha512-Xzc2ToEmHN+hfvsl9wja0RlnXEgpKNmftriQp6XzY/RaSfwD9th+MSh0WQKzUreLKKINb3afirxW7A0fz2YWuQ==","cpu": ["x64"],@@ -1261,9 +1261,9 @@}},"node_modules/@img/sharp-libvips-linux-arm": {- "version": "1.0.5",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz",- "integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.1.0.tgz",+ "integrity": "sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA==","cpu": ["arm"],@@ -1276,9 +1276,9 @@}},"node_modules/@img/sharp-libvips-linux-arm64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz",- "integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.1.0.tgz",+ "integrity": "sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==","cpu": ["arm64"],@@ -1290,10 +1290,25 @@"url": "https://opencollective.com/libvips"}},+ "node_modules/@img/sharp-libvips-linux-ppc64": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.1.0.tgz",+ "integrity": "sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==",+ "cpu": [+ "ppc64"+ ],+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },"node_modules/@img/sharp-libvips-linux-s390x": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.0.4.tgz",- "integrity": "sha512-u7Wz6ntiSSgGSGcjZ55im6uvTrOxSIS8/dgoVMoiGE9I6JAfU50yH5BoDlYA1tcuGS7g/QNtetJnxA6QEsCVTA==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.1.0.tgz",+ "integrity": "sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA==","cpu": ["s390x"],@@ -1306,9 +1321,9 @@}},"node_modules/@img/sharp-libvips-linux-x64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz",- "integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.1.0.tgz",+ "integrity": "sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==","cpu": ["x64"],@@ -1321,9 +1336,9 @@}},"node_modules/@img/sharp-libvips-linuxmusl-arm64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz",- "integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.1.0.tgz",+ "integrity": "sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w==","cpu": ["arm64"],@@ -1336,9 +1351,9 @@}},"node_modules/@img/sharp-libvips-linuxmusl-x64": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz",- "integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==",+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.1.0.tgz",+ "integrity": "sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A==","cpu": ["x64"],@@ -1351,9 +1366,9 @@}},"node_modules/@img/sharp-linux-arm": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz",- "integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.34.1.tgz",+ "integrity": "sha512-anKiszvACti2sGy9CirTlNyk7BjjZPiML1jt2ZkTdcvpLU1YH6CXwRAZCA2UmRXnhiIftXQ7+Oh62Ji25W72jA==","cpu": ["arm"],@@ -1368,13 +1383,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-arm": "1.0.5"+ "@img/sharp-libvips-linux-arm": "1.1.0"}},"node_modules/@img/sharp-linux-arm64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz",- "integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.34.1.tgz",+ "integrity": "sha512-kX2c+vbvaXC6vly1RDf/IWNXxrlxLNpBVWkdpRq5Ka7OOKj6nr66etKy2IENf6FtOgklkg9ZdGpEu9kwdlcwOQ==","cpu": ["arm64"],@@ -1389,13 +1404,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-arm64": "1.0.4"+ "@img/sharp-libvips-linux-arm64": "1.1.0"}},"node_modules/@img/sharp-linux-s390x": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.33.5.tgz",- "integrity": "sha512-y/5PCd+mP4CA/sPDKl2961b+C9d+vPAveS33s6Z3zfASk2j5upL6fXVPZi7ztePZ5CuH+1kW8JtvxgbuXHRa4Q==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.34.1.tgz",+ "integrity": "sha512-7s0KX2tI9mZI2buRipKIw2X1ufdTeaRgwmRabt5bi9chYfhur+/C1OXg3TKg/eag1W+6CCWLVmSauV1owmRPxA==","cpu": ["s390x"],@@ -1410,13 +1425,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-s390x": "1.0.4"+ "@img/sharp-libvips-linux-s390x": "1.1.0"}},"node_modules/@img/sharp-linux-x64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz",- "integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.34.1.tgz",+ "integrity": "sha512-wExv7SH9nmoBW3Wr2gvQopX1k8q2g5V5Iag8Zk6AVENsjwd+3adjwxtp3Dcu2QhOXr8W9NusBU6XcQUohBZ5MA==","cpu": ["x64"],@@ -1431,13 +1446,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linux-x64": "1.0.4"+ "@img/sharp-libvips-linux-x64": "1.1.0"}},"node_modules/@img/sharp-linuxmusl-arm64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz",- "integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.34.1.tgz",+ "integrity": "sha512-DfvyxzHxw4WGdPiTF0SOHnm11Xv4aQexvqhRDAoD00MzHekAj9a/jADXeXYCDFH/DzYruwHbXU7uz+H+nWmSOQ==","cpu": ["arm64"],@@ -1452,13 +1467,13 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linuxmusl-arm64": "1.0.4"+ "@img/sharp-libvips-linuxmusl-arm64": "1.1.0"}},"node_modules/@img/sharp-linuxmusl-x64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz",- "integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.34.1.tgz",+ "integrity": "sha512-pax/kTR407vNb9qaSIiWVnQplPcGU8LRIJpDT5o8PdAx5aAA7AS3X9PS8Isw1/WfqgQorPotjrZL3Pqh6C5EBg==","cpu": ["x64"],@@ -1473,19 +1488,19 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-libvips-linuxmusl-x64": "1.0.4"+ "@img/sharp-libvips-linuxmusl-x64": "1.1.0"}},"node_modules/@img/sharp-wasm32": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.33.5.tgz",- "integrity": "sha512-ykUW4LVGaMcU9lu9thv85CbRMAwfeadCJHRsg2GmeRa/cJxsVY9Rbd57JcMxBkKHag5U/x7TSBpScF4U8ElVzg==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.34.1.tgz",+ "integrity": "sha512-YDybQnYrLQfEpzGOQe7OKcyLUCML4YOXl428gOOzBgN6Gw0rv8dpsJ7PqTHxBnXnwXr8S1mYFSLSa727tpz0xg==","cpu": ["wasm32"],"optional": true,"dependencies": {- "@emnapi/runtime": "^1.2.0"+ "@emnapi/runtime": "^1.4.0"},"engines": {"node": "^18.17.0 || ^20.3.0 || >=21.0.0"@@ -1495,9 +1510,9 @@}},"node_modules/@img/sharp-win32-ia32": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.33.5.tgz",- "integrity": "sha512-T36PblLaTwuVJ/zw/LaH0PdZkRz5rd3SmMHX8GSmR7vtNSP5Z6bQkExdSK7xGWyxLw4sUknBuugTelgw2faBbQ==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.34.1.tgz",+ "integrity": "sha512-WKf/NAZITnonBf3U1LfdjoMgNO5JYRSlhovhRhMxXVdvWYveM4kM3L8m35onYIdh75cOMCo1BexgVQcCDzyoWw==","cpu": ["ia32"],@@ -1513,9 +1528,9 @@}},"node_modules/@img/sharp-win32-x64": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz",- "integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.34.1.tgz",+ "integrity": "sha512-hw1iIAHpNE8q3uMIRCgGOeDoz9KtFNarFLQclLxr/LK1VBkj8nby18RjFvr6aP7USRYAjTZW6yisnBWMX571Tw==","cpu": ["x64"],@@ -1612,14 +1627,14 @@}},"node_modules/@next/env": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/env/-/env-15.1.6.tgz",- "integrity": "sha512-d9AFQVPEYNr+aqokIiPLNK/MTyt3DWa/dpKveiAaVccUadFbhFEvY6FXYX2LJO2Hv7PHnLBu2oWwB4uBuHjr/w=="+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/env/-/env-15.3.1.tgz",+ "integrity": "sha512-cwK27QdzrMblHSn9DZRV+DQscHXRuJv6MydlJRpFSqJWZrTYMLzKDeyueJNN9MGd8NNiUKzDQADAf+dMLXX7YQ=="},"node_modules/@next/swc-darwin-arm64": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.1.6.tgz",- "integrity": "sha512-u7lg4Mpl9qWpKgy6NzEkz/w0/keEHtOybmIl0ykgItBxEM5mYotS5PmqTpo+Rhg8FiOiWgwr8USxmKQkqLBCrw==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-15.3.1.tgz",+ "integrity": "sha512-hjDw4f4/nla+6wysBL07z52Gs55Gttp5Bsk5/8AncQLJoisvTBP0pRIBK/B16/KqQyH+uN4Ww8KkcAqJODYH3w==","cpu": ["arm64"],@@ -1632,9 +1647,9 @@}},"node_modules/@next/swc-darwin-x64": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.1.6.tgz",- "integrity": "sha512-x1jGpbHbZoZ69nRuogGL2MYPLqohlhnT9OCU6E6QFewwup+z+M6r8oU47BTeJcWsF2sdBahp5cKiAcDbwwK/lg==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-15.3.1.tgz",+ "integrity": "sha512-q+aw+cJ2ooVYdCEqZVk+T4Ni10jF6Fo5DfpEV51OupMaV5XL6pf3GCzrk6kSSZBsMKZtVC1Zm/xaNBFpA6bJ2g==","cpu": ["x64"],@@ -1647,9 +1662,9 @@}},"node_modules/@next/swc-linux-arm64-gnu": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.1.6.tgz",- "integrity": "sha512-jar9sFw0XewXsBzPf9runGzoivajeWJUc/JkfbLTC4it9EhU8v7tCRLH7l5Y1ReTMN6zKJO0kKAGqDk8YSO2bg==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-15.3.1.tgz",+ "integrity": "sha512-wBQ+jGUI3N0QZyWmmvRHjXjTWFy8o+zPFLSOyAyGFI94oJi+kK/LIZFJXeykvgXUk1NLDAEFDZw/NVINhdk9FQ==","cpu": ["arm64"],@@ -1662,9 +1677,9 @@}},"node_modules/@next/swc-linux-arm64-musl": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.1.6.tgz",- "integrity": "sha512-+n3u//bfsrIaZch4cgOJ3tXCTbSxz0s6brJtU3SzLOvkJlPQMJ+eHVRi6qM2kKKKLuMY+tcau8XD9CJ1OjeSQQ==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-15.3.1.tgz",+ "integrity": "sha512-IIxXEXRti/AulO9lWRHiCpUUR8AR/ZYLPALgiIg/9ENzMzLn3l0NSxVdva7R/VDcuSEBo0eGVCe3evSIHNz0Hg==","cpu": ["arm64"],@@ -1677,9 +1692,9 @@}},"node_modules/@next/swc-linux-x64-gnu": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.1.6.tgz",- "integrity": "sha512-SpuDEXixM3PycniL4iVCLyUyvcl6Lt0mtv3am08sucskpG0tYkW1KlRhTgj4LI5ehyxriVVcfdoxuuP8csi3kQ==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-15.3.1.tgz",+ "integrity": "sha512-bfI4AMhySJbyXQIKH5rmLJ5/BP7bPwuxauTvVEiJ/ADoddaA9fgyNNCcsbu9SlqfHDoZmfI6g2EjzLwbsVTr5A==","cpu": ["x64"],@@ -1692,9 +1707,9 @@}},"node_modules/@next/swc-linux-x64-musl": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.1.6.tgz",- "integrity": "sha512-L4druWmdFSZIIRhF+G60API5sFB7suTbDRhYWSjiw0RbE+15igQvE2g2+S973pMGvwN3guw7cJUjA/TmbPWTHQ==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-15.3.1.tgz",+ "integrity": "sha512-FeAbR7FYMWR+Z+M5iSGytVryKHiAsc0x3Nc3J+FD5NVbD5Mqz7fTSy8CYliXinn7T26nDMbpExRUI/4ekTvoiA==","cpu": ["x64"],@@ -1707,9 +1722,9 @@}},"node_modules/@next/swc-win32-arm64-msvc": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.1.6.tgz",- "integrity": "sha512-s8w6EeqNmi6gdvM19tqKKWbCyOBvXFbndkGHl+c9YrzsLARRdCHsD9S1fMj8gsXm9v8vhC8s3N8rjuC/XrtkEg==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-15.3.1.tgz",+ "integrity": "sha512-yP7FueWjphQEPpJQ2oKmshk/ppOt+0/bB8JC8svPUZNy0Pi3KbPx2Llkzv1p8CoQa+D2wknINlJpHf3vtChVBw==","cpu": ["arm64"],@@ -1722,9 +1737,9 @@}},"node_modules/@next/swc-win32-x64-msvc": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.1.6.tgz",- "integrity": "sha512-6xomMuu54FAFxttYr5PJbEfu96godcxBTRk1OhAvJq0/EnmFU/Ybiax30Snis4vdWZ9LGpf7Roy5fSs7v/5ROQ==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.1.tgz",+ "integrity": "sha512-3PMvF2zRJAifcRNni9uMk/gulWfWS+qVI/pagd+4yLF5bcXPZPPH2xlYRYOsUjmCJOXSTAC2PjRzbhsRzR2fDQ==","cpu": ["x64"],@@ -6812,11 +6827,11 @@}},"node_modules/next": {- "version": "15.1.6",- "resolved": "https://registry.npmjs.org/next/-/next-15.1.6.tgz",- "integrity": "sha512-Hch4wzbaX0vKQtalpXvUiw5sYivBy4cm5rzUKrBnUB/y436LGrvOUqYvlSeNVCWFO/770gDlltR9gqZH62ct4Q==",+ "version": "15.3.1",+ "resolved": "https://registry.npmjs.org/next/-/next-15.3.1.tgz",+ "integrity": "sha512-8+dDV0xNLOgHlyBxP1GwHGVaNXsmp+2NhZEYrXr24GWLHtt27YrBPbPuHvzlhi7kZNYjeJNR93IF5zfFu5UL0g==","dependencies": {- "@next/env": "15.1.6",+ "@next/env": "15.3.1","@swc/counter": "0.1.3","@swc/helpers": "0.5.15","busboy": "1.6.0",@@ -6831,15 +6846,15 @@"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"},"optionalDependencies": {- "@next/swc-darwin-arm64": "15.1.6",- "@next/swc-darwin-x64": "15.1.6",- "@next/swc-linux-arm64-gnu": "15.1.6",- "@next/swc-linux-arm64-musl": "15.1.6",- "@next/swc-linux-x64-gnu": "15.1.6",- "@next/swc-linux-x64-musl": "15.1.6",- "@next/swc-win32-arm64-msvc": "15.1.6",- "@next/swc-win32-x64-msvc": "15.1.6",- "sharp": "^0.33.5"+ "@next/swc-darwin-arm64": "15.3.1",+ "@next/swc-darwin-x64": "15.3.1",+ "@next/swc-linux-arm64-gnu": "15.3.1",+ "@next/swc-linux-arm64-musl": "15.3.1",+ "@next/swc-linux-x64-gnu": "15.3.1",+ "@next/swc-linux-x64-musl": "15.3.1",+ "@next/swc-win32-arm64-msvc": "15.3.1",+ "@next/swc-win32-x64-msvc": "15.3.1",+ "sharp": "^0.34.1"},"peerDependencies": {"@opentelemetry/api": "^1.1.0",@@ -7883,9 +7898,9 @@"integrity": "sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA=="},"node_modules/semver": {- "version": "7.6.3",- "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz",- "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==",+ "version": "7.7.1",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz",+ "integrity": "sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==","optional": true,"bin": {"semver": "bin/semver.js"@@ -7900,15 +7915,15 @@"integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ=="},"node_modules/sharp": {- "version": "0.33.5",- "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.33.5.tgz",- "integrity": "sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==",+ "version": "0.34.1",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.34.1.tgz",+ "integrity": "sha512-1j0w61+eVxu7DawFJtnfYcvSv6qPFvfTaqzTQ2BLknVhHTwGS8sc63ZBF4rzkWMBVKybo4S5OBtDdZahh2A1xg==","hasInstallScript": true,"optional": true,"dependencies": {"color": "^4.2.3","detect-libc": "^2.0.3",- "semver": "^7.6.3"+ "semver": "^7.7.1"},"engines": {"node": "^18.17.0 || ^20.3.0 || >=21.0.0"@@ -7917,25 +7932,26 @@"url": "https://opencollective.com/libvips"},"optionalDependencies": {- "@img/sharp-darwin-arm64": "0.33.5",- "@img/sharp-darwin-x64": "0.33.5",- "@img/sharp-libvips-darwin-arm64": "1.0.4",- "@img/sharp-libvips-darwin-x64": "1.0.4",- "@img/sharp-libvips-linux-arm": "1.0.5",- "@img/sharp-libvips-linux-arm64": "1.0.4",- "@img/sharp-libvips-linux-s390x": "1.0.4",- "@img/sharp-libvips-linux-x64": "1.0.4",- "@img/sharp-libvips-linuxmusl-arm64": "1.0.4",- "@img/sharp-libvips-linuxmusl-x64": "1.0.4",- "@img/sharp-linux-arm": "0.33.5",- "@img/sharp-linux-arm64": "0.33.5",- "@img/sharp-linux-s390x": "0.33.5",- "@img/sharp-linux-x64": "0.33.5",- "@img/sharp-linuxmusl-arm64": "0.33.5",- "@img/sharp-linuxmusl-x64": "0.33.5",- "@img/sharp-wasm32": "0.33.5",- "@img/sharp-win32-ia32": "0.33.5",- "@img/sharp-win32-x64": "0.33.5"+ "@img/sharp-darwin-arm64": "0.34.1",+ "@img/sharp-darwin-x64": "0.34.1",+ "@img/sharp-libvips-darwin-arm64": "1.1.0",+ "@img/sharp-libvips-darwin-x64": "1.1.0",+ "@img/sharp-libvips-linux-arm": "1.1.0",+ "@img/sharp-libvips-linux-arm64": "1.1.0",+ "@img/sharp-libvips-linux-ppc64": "1.1.0",+ "@img/sharp-libvips-linux-s390x": "1.1.0",+ "@img/sharp-libvips-linux-x64": "1.1.0",+ "@img/sharp-libvips-linuxmusl-arm64": "1.1.0",+ "@img/sharp-libvips-linuxmusl-x64": "1.1.0",+ "@img/sharp-linux-arm": "0.34.1",+ "@img/sharp-linux-arm64": "0.34.1",+ "@img/sharp-linux-s390x": "0.34.1",+ "@img/sharp-linux-x64": "0.34.1",+ "@img/sharp-linuxmusl-arm64": "0.34.1",+ "@img/sharp-linuxmusl-x64": "0.34.1",+ "@img/sharp-wasm32": "0.34.1",+ "@img/sharp-win32-ia32": "0.34.1",+ "@img/sharp-win32-x64": "0.34.1"}},"node_modules/shebang-command": {diff --git a/client/package.json b/client/package.jsonindex 9e55baaeb..b75e69279 100644--- a/client/package.json+++ b/client/package.json@@ -57,7 +57,7 @@"lodash": "^4.17.21","lucide-react": "^0.487.0","luxon": "^3.5.0",- "next": "15.1.6",+ "next": "^15.3.1","next-themes": "^0.4.4","react": "^19.0.0","react-countup": "^6.5.3",diff --git a/client/public/rybbit-logo-2.png b/client/public/rybbit-logo-2.pngnew file mode 100644index 000000000..b8b086b58Binary files /dev/null and b/client/public/rybbit-logo-2.png differdiff --git a/client/public/rybbit-logo-3.png b/client/public/rybbit-logo-3.pngnew file mode 100644index 000000000..7a3ae271eBinary files /dev/null and b/client/public/rybbit-logo-3.png differdiff --git a/client/public/rybbit-logo.png b/client/public/rybbit-logo.pngnew file mode 100644index 000000000..04ae41ef1Binary files /dev/null and b/client/public/rybbit-logo.png differdiff --git a/client/src/app/layout.tsx b/client/src/app/layout.tsxindex 93bde29dd..e68382875 100644--- a/client/src/app/layout.tsx+++ b/client/src/app/layout.tsx@@ -3,7 +3,7 @@import { BACKEND_URL } from "@/lib/const";import QueryProvider from "@/providers/QueryProvider";import type { Metadata } from "next";-import { Inter } from "next/font/google";+import { Inter, Manrope } from "next/font/google";import { redirect, usePathname } from "next/navigation";import { useEffect, useState } from "react";import { Toaster } from "../components/ui/sonner";@@ -13,6 +13,10 @@ import "./globals.css";const inter = Inter({ subsets: ["latin"] });+// const manrope = Manrope({+// subsets: ["latin"],+// });+const publicRoutes = ["/login", "/signup"];// Helper function to check if a site is publicdiff --git a/client/src/components/TopBar.tsx b/client/src/components/TopBar.tsxindex 4d4df9005..ed444ebd1 100644--- a/client/src/components/TopBar.tsx+++ b/client/src/components/TopBar.tsx@@ -13,21 +13,40 @@ import {import { User } from "lucide-react";import { Button } from "./ui/button";import Image from "next/image";+import { Manrope, Outfit, Urbanist } from "next/font/google";++const manrope = Manrope({+ subsets: ["latin"],+});++const outfit = Outfit({+ subsets: ["latin"],+});++const urbanist = Urbanist({+ subsets: ["latin"],+});+export function TopBar() {const session = authClient.useSession();const router = useRouter();const queryClient = useQueryClient();return (- <div className="flex py-2 px-3 items-center w-full bg-neutral-950 justify-center border-b border-neutral-750">+ <div className="flex py-2 pr-3 pl-6 items-center w-full bg-neutral-950 justify-center border-b border-neutral-750"><div className="flex items-center justify-between flex-1"><div className="flex items-center space-x-4"><Link- href="/"- className="text-base font-semibold flex items-center gap-2"+ href={session.data ? "/" : "https://rybbit.io"}+ className={`text-base font-semibold flex items-center gap-1 ${urbanist.className}`}>- <Image src="/frog.png" alt="Rybbit" width={24} height={24} />- Rybbit+ <Image+ src="/rybbit-logo-3.png"+ alt="Rybbit"+ width={20}+ height={20}+ />+ rybbit</Link></div>{session.data ? (diff --git a/docs/src/content/_meta.js b/docs/src/content/_meta.jsindex 84104770c..65af6447d 100644--- a/docs/src/content/_meta.js+++ b/docs/src/content/_meta.js@@ -1,7 +1,6 @@export default {index: "",- "self-hosting": "",tracker: "",- features: "",- advanced: "",+ "track-events": "",+ "self-hosting": "",};diff --git a/docs/src/content/advanced/code-highlighting.mdx b/docs/src/content/advanced/code-highlighting.mdxdeleted file mode 100644index 7bf744f9a..000000000--- a/docs/src/content/advanced/code-highlighting.mdx+++ /dev/null@@ -1,56 +0,0 @@-# Code Highlighting--Nextra uses [Shiki](https://shiki.style) and-[Rehype Pretty Code](https://github.com/FormidableLabs/prism-react-renderer) to-highlight the code blocks. This section covers how you can customize it.--## Meta strings--### Highlight lines--````mdx-```jsx {1,3-5}-import 'nextra-theme-docs/style.css'--export default function Nextra({ Component, pageProps }) {- const getLayout = Component.getLayout || (page => page)- return getLayout(<Component {...pageProps} />)-}-```-````--```jsx {1,4-5}-import 'nextra-theme-docs/style.css'--export default function Nextra({ Component, pageProps }) {- const getLayout = Component.getLayout || (page => page)- return getLayout(<Component {...pageProps} />)-}-```--### Title--````mdx-```jsx filename="_app.js"-import 'nextra-theme-docs/style.css'--export default function Nextra({ Component, pageProps }) {- const getLayout = Component.getLayout || (page => page)- return getLayout(<Component {...pageProps} />)-}-```-````--```jsx filename="_app.js"-import 'nextra-theme-docs/style.css'--export default function Nextra({ Component, pageProps }) {- const getLayout = Component.getLayout || (page => page)- return getLayout(<Component {...pageProps} />)-}-```--## Supported Languages--You can find a list of supported languages-[here](https://github.com/shikijs/shiki/blob/main/docs/languages.md).diff --git a/docs/src/content/definitions.mdx b/docs/src/content/definitions.mdxnew file mode 100644index 000000000..4ce790c58--- /dev/null+++ b/docs/src/content/definitions.mdx@@ -0,0 +1,111 @@+# Definitions++## Aggregate Metrics++### Unique Users+The total number of distinct individuals who visited your website, identified by a unique user ID. Each user is counted only once regardless of how many times they visit.++### Sessions+A series of user interactions with your website within a given time frame. A session ends after 30 minutes of inactivity from the same user ID. Multiple pageviews can occur within one session.++### Pageviews+The total number of times visitors have viewed pages on your website. Each time a page is loaded or reloaded counts as a pageview.++### Pages Per Session+The average number of pages viewed during a session. Calculated by dividing the total number of pageviews by the total number of sessions.++### Bounce Rate+The percentage of sessions where a user leaves your site after viewing only one page without any interaction. A high bounce rate might indicate that landing pages aren't relevant to visitors.++### Session Duration+The average length of time users spend on your site during a session. Longer sessions typically indicate more engaged visitors.++## Individual Datapoints++### User ID+A unique identifier generated from a hash of the visitor's IP address and browser user-agent. This anonymized ID helps track unique visitors without storing personally identifiable information.++### Hostname+The domain name of the website being visited (e.g., example.com).++### Pathname+The path portion of the URL that follows the hostname (e.g., /blog/article).++### Entry Page+The first page viewed by a user during a session. Identifies which pages commonly serve as entry points to your site.++### Exit Page+The last page viewed by a user before ending their session. Helps identify where users tend to leave your site.++### Querystring+The portion of a URL that follows a question mark, containing parameters (e.g., ?utm_source=newsletter).++### Page Title+The title of the webpage as defined in the HTML `<title>` tag.++### Referrer+The URL that a user was on before coming to your site. Shows how users are discovering your content.++### UTM Source+Identifies which website, search engine, or other source is sending traffic to your site (e.g., google, newsletter, twitter).++### UTM Medium+Identifies the marketing medium (e.g., cpc, email, social).++### UTM Term+Identifies paid search keywords. Used primarily for paid search campaigns.++### UTM Campaign+Identifies the specific campaign or promotion that brought users to your site.++### UTM Content+Identifies what specifically was clicked to bring the visitor to your site (e.g., banner ad, text link).++### Channel+A categorization of traffic sources into standard groups such as direct, search, social, email, or referral.++### Browser+The web browser used by the visitor (e.g., Chrome, Firefox, Safari).++### Browser Version+The specific version of the browser being used.++### Operating System+The operating system used by the visitor (e.g., Windows, macOS, iOS, Android).++### Operating System Version+The specific version of the operating system being used.++### Language+The preferred language setting of the visitor's browser.++### Country+The country where the user is located, based on IP geolocation.++### Region+The state or region where the user is located, based on IP geolocation.++### City+The city where the user is located, based on IP geolocation.++### Latitude+The geographic latitude coordinate of the user's approximate location.++### Longitude+The geographic longitude coordinate of the user's approximate location.++### Screen Width+The width of the visitor's screen or device viewport in pixels.++### Screen Height+The height of the visitor's screen or device viewport in pixels.++### Device Type+The type of device being used (e.g., desktop, tablet, mobile).++### Event Name+The name of a custom event triggered by user interaction (e.g., "button_click", "form_submit").++### Event Properties+Additional contextual data associated with custom events, stored as key-value pairs. Used to provide more detail about specific interactions.+diff --git a/docs/src/content/features/_meta.js b/docs/src/content/features/_meta.jsdeleted file mode 100644index bb39123a2..000000000--- a/docs/src/content/features/_meta.js+++ /dev/null@@ -1,8 +0,0 @@-export default {- mdx: '',- ssg: '',- i18n: '',- image: '',- themes: '',- latex: ''-}diff --git a/docs/src/content/features/i18n.mdx b/docs/src/content/features/i18n.mdxdeleted file mode 100644index 60aff2128..000000000--- a/docs/src/content/features/i18n.mdx+++ /dev/null@@ -1,54 +0,0 @@-# Next.js I18n--> [!NOTE]->-> This feature is only available in the docs theme.--Nextra supports-[Next.js Internationalized Routing](https://nextjs.org/docs/advanced-features/i18n-routing)-out of the box.--To add multi-language pages to your Nextra application, just need to config-`i18n` in `next.config.mjs`:--```js filename="next.config.mjs"-import nextra from 'nextra'--const withNextra = nextra({- theme: 'nextra-theme-docs',- themeConfig: './theme.config.js'-})--export default withNextra({- i18n: {- locales: ['en', 'zh', 'de'],- defaultLocale: 'en'- }-})-```--Then, add the locale codes to your file extensions (required for the default-locale too):--```text-/pages- index.en.md- index.zh.md- index.de.md- meta.en.json- meta.zh.json- meta.de.json- ...-```--Finally, add the `i18n` option to your `theme.config.js` to configure the-language dropdown:--```jsx filename="theme.config.js"-i18n: [- { locale: 'en', text: 'English' },- { locale: 'zh', text: '中文' },- { locale: 'de', text: 'Deutsch' },- { locale: 'ar', text: 'العربية', direction: 'rtl' }-]-```diff --git a/docs/src/content/features/image.mdx b/docs/src/content/features/image.mdxdeleted file mode 100644index 26113d0e2..000000000--- a/docs/src/content/features/image.mdx+++ /dev/null@@ -1,34 +0,0 @@-# Next.js Image--You can use-[Next.js Image](https://nextjs.org/docs/basic-features/image-optimization)-directly in MDX.--If the `demo.png` file is located at `/public/demo.png`, you can use the code-below to display it:--```mdx-import Image from 'next/image'--<Image src="/demo.png" alt="Hello" width={500} height={500} />-```--## Static Image--> [!NOTE]->-> This feature is enabled via `staticImage: true` in the Nextra config by-> default.--Nextra also supports automatic static image imports, you no longer need to-specify the width and height of the image manually, and you can directly use the-Markdown syntax to display the same image:--```mdx--```--With Next.js Image, there will be no layout shift, and a beautiful blurry-placeholder will be shown by default when loading the images:--diff --git a/docs/src/content/features/latex.mdx b/docs/src/content/features/latex.mdxdeleted file mode 100644index 45f446d0c..000000000--- a/docs/src/content/features/latex.mdx+++ /dev/null@@ -1,34 +0,0 @@-{/* <link rel="stylesheet"> is unsupported in Metadata API https://nextjs.org/docs/app/api-reference/functions/generate-metadata#unsupported-metadata */}--<link- rel="stylesheet"- href="https://cdn.jsdelivr.net/npm/katex/dist/katex.css"-/>--# LaTeX--Nextra uses [KaTeX](https://katex.org) to render LaTeX expressions directly in-MDX. To enable LaTeX support, you must add the following to your-`next.config.mjs`:--```js filename="next.config.mjs"-import nextra from 'nextra'--const withNextra = nextra({- latex: true-})--export default withNextra()-```--Using LaTeX within MDX is as simple as wrapping your expression in `$$` or `$`.-For example, the following code--```latex-$\sqrt{a^2 + b^2}$-```--will be rendered as: $\sqrt{a^2 + b^2}$--To learn more about KaTeX and its supported functions, visit their-[documentation](https://katex.org/docs/supported.html).diff --git a/docs/src/content/features/mdx.mdx b/docs/src/content/features/mdx.mdxdeleted file mode 100644index e1e48ceba..000000000--- a/docs/src/content/features/mdx.mdx+++ /dev/null@@ -1,159 +0,0 @@-import { compileMdx } from 'nextra/compile'-import { Callout } from 'nextra/components'-import { MDXRemote } from 'nextra/mdx-remote'--# MDX--With Nextra, all your `.md` and `.mdx` files under the pages directory will be-rendered with [MDX](https://mdxjs.com/about), it's an advanced Markdown format-with React component support.--You can use import and use React components inside your Markdown files like-this:--export async function Demo() {- const mdx = `import { Callout } from 'nextra/components'--**Markdown With React Components**--<Callout emoji="✅">- **MDX** (the library), at its core, transforms MDX (the syntax) to JSX. It- receives an MDX string and outputs a _JSX string_. It does this by parsing the- MDX document to a syntax tree and then generates a JSX document from that- tree.-</Callout>`- const rawJs = await compileMdx(`~~~mdx filename="example.mdx"-${mdx}-~~~--Generates:--${mdx}`)- return <MDXRemote compiledSource={rawJs} components={{ Callout }} />-}--<Demo />--## Headings--# **Hello**, This Is a _Title_ Inside `h1`--## **Hello**, This Is a _Title_ Inside `h2`--### **Hello**, This Is a _Title_ Inside `h3`--#### **Hello**, This Is a _Title_ Inside `h4`--##### **Hello**, This Is a _Title_ Inside `h5`--###### **Hello**, This Is a _Title_ Inside `h6`--## List--1. one-1. two-1. three--- one-- two-- three--## Task List--```mdx-- [x] Write the press release-- [ ] Update the website-- [ ] Contact the media-```--Renders--- [x] Write the press release-- [ ] Update the website-- [ ] Contact the media--## Syntax Highlighting--Automatic syntax highlighting--````mdx-```js-console.log('hello, world')-```-````--Renders:--```js-console.log('hello, world')-```--You can also add the `{line|range}` modifier to highlight specific lines:--````mdx-```jsx {4,6-8}-import useSWR from 'swr'--function Profile() {- const { data, error } = useSWR('/api/user', fetcher)-- if (error) return <div>failed to load</div>- if (!data) return <div>loading...</div>- return <div>hello {data.name}!</div>-}-```-````--```jsx {4,6-8}-import useSWR from 'swr'--function Profile() {- const { data, error } = useSWR('/api/user', fetcher)-- if (error) return <div>failed to load</div>- if (!data) return <div>loading...</div>- return <div>hello {data.name}!</div>-}-```--## Inline Code--You can use \`content\` to wrap inline code content like: `let x = 1`.--## Blockquote--> Where some people measure progress in answers-right per test or tests-passed-> per year, we are more interested in Sistine-Chapel-Ceilings per Lifetime.->-> — Alan Kay, A Personal Computer for Children of All Ages--Nested quotes:--> > Where some people measure progress in answers-right per test or tests-passed-> > per year, we are more interested in Sistine-Chapel-Ceilings per Lifetime.-> >-> > — Alan Kay, A Personal Computer for Children of All Ages->-> This is **great**.->-> — Shu Ding.--## Table--| Syntax | Description | Test Text |-| :------------ | :---------: | ----------: |-| Header | Title | Here's this |-| Paragraph | Text | And more |-| Strikethrough | | ~~Text~~ |--## React Components--React components and Markdown can be **mixed together**, for instance:--```mdx-<Callout>Give [**Nextra**](https://github.com/shuding/nextra) a star!</Callout>-```--Renders:--<Callout>Give [**Nextra**](https://github.com/shuding/nextra) a star!</Callout>diff --git a/docs/src/content/features/ssg.mdx b/docs/src/content/features/ssg.mdxdeleted file mode 100644index 28855f7dd..000000000--- a/docs/src/content/features/ssg.mdx+++ /dev/null@@ -1,45 +0,0 @@-# Next.js Static Rendering--[Static Rendering](https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default)-is default server rendering strategy, where routes are rendered at **build-time** or in the background after-[data revalidation](https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration).-The result is cached and can be distributed via a-[Content Delivery Network (CDN)](https://developer.mozilla.org/docs/Glossary/CDN)-for optimal performance.--Static rendering is ideal for routes with non-personalized data that can be-determined at build time, such as blog posts or product pages.--export async function Stars() {- let stars = 0- try {- const response = await fetch('https://api.github.com/repos/shuding/nextra')- const repo = await response.json()- stars = repo.stargazers_count- } catch {- /* Ignore if there is an error, due rate limiting on CI */- }- return <b>{stars}</b>-}--> Nextra has <Stars /> stars on GitHub!--The number above was generated at build time via MDX server components. With-[Incremental Static Regeneration](https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration)-enabled, it will be kept up to date.-------Here's the MDX code for the example above:--```js filename="ssg.mdx"-export async function Stars() {- const response = await fetch(`https://api.github.com/repos/shuding/nextra`)- const repo = await response.json()- const stars = repo.stargazers_count || 0- return <b>{stars}</b>-}--> Nextra has <Stars /> stars on GitHub!-```diff --git a/docs/src/content/features/themes.mdx b/docs/src/content/features/themes.mdxdeleted file mode 100644index 3aca9511b..000000000--- a/docs/src/content/features/themes.mdx+++ /dev/null@@ -1,16 +0,0 @@-# Themes--Nextra itself is basically a plugin that normalizes your Markdown routes in-Next.js into structural data, and it doesn't handle any styling related thing. A-**theme** is what renders your actual pages, it works like a layout component in-React.--Nextra has 2 official themes that you can use:--- [Docs Theme](/themes/docs)-- [Blog Theme](/themes/blog)--You can also extend your own themes. Here's a great starter example by-[@jaredpalmer](https://github.com/jaredpalmer):--- [Nextra Blank Custom Theme/Boilerplate Example](https://github.com/jaredpalmer/nextra-blank-custom-theme)diff --git a/docs/src/content/mermaid.mdx b/docs/src/content/mermaid.mdxdeleted file mode 100644index 7bfbf040a..000000000--- a/docs/src/content/mermaid.mdx+++ /dev/null@@ -1,22 +0,0 @@-# Mermaid--```mermaid-graph TD;- subgraph AA [Consumers]- A[Mobile app];- B[Web app];- C[Node.js client];- end- subgraph BB [Services]- E[REST API];- F[GraphQL API];- G[SOAP API];- end- Z[GraphQL API];- A --> Z;- B --> Z;- C --> Z;- Z --> E;- Z --> F;- Z --> G;-```diff --git a/docs/src/content/page.mdx b/docs/src/content/page.mdxdeleted file mode 100644index d084716f7..000000000--- a/docs/src/content/page.mdx+++ /dev/null@@ -1,3 +0,0 @@-# Just Page--{/* this file should not be treated as App Router page */}diff --git a/docs/src/content/track-events.mdx b/docs/src/content/track-events.mdxnew file mode 100644index 000000000..72687034a--- /dev/null+++ b/docs/src/content/track-events.mdx@@ -0,0 +1,102 @@+# Track Events++The script exposes a global object `window.rybbit` with functions for manual tracking of events.++### `window.rybbit.track(eventType, eventName, properties)`++The core function to send tracking data.++* `eventType` (String): The type of event. Defaults to `"pageview"`. Other values include `"custom_event"` or `"outbound"`.+* `eventName` (String): The name of the custom event (max 255 characters). **Required** when `eventType` is `"custom_event"`.+* `properties` (Object, Optional): An object containing custom data (max 8192 characters / 8KB when stringified). This will be JSON-stringified before sending.++```javascript+// Track a simple pageview (usually handled automatically)+window.rybbit.track("pageview");++// Track a custom event+window.rybbit.track("custom_event", "Signup Button Clicked");++// Track a custom event with properties+window.rybbit.track("custom_event", "Item Added To Cart", {+ itemId: "PROD123",+ price: 49.99,+ category: "Clothing"+});++// Track an outbound link click manually+window.rybbit.track("outbound", "", {+ url: "https://example.com",+ text: "Visit Example Site",+ target: "_blank"+});+```++### `window.rybbit.pageview()`++A convenience function for tracking a pageview. Equivalent to `window.rybbit.track('pageview')`. Useful when `data-track-spa` is set to `"false"`.++```javascript+window.rybbit.pageview();+```++### `window.rybbit.event(eventName, properties)`++A convenience function for tracking custom events. Equivalent to `window.rybbit.track('custom_event', eventName, properties)`.++* `eventName` (String): The name of the custom event (max 255 characters).+* `properties` (Object, Optional): An object containing custom data.++```javascript+window.rybbit.event("Video Played", { videoId: "xyz789" });+```++### `window.rybbit.trackOutbound(url, text, target)`++A convenience function for manually tracking outbound link clicks. Useful for programmatic navigation or custom link handling.++* `url` (String): The full URL of the outbound link.+* `text` (String, Optional): The text content of the link.+* `target` (String, Optional): The target attribute of the link (defaults to "_self").++```javascript+// Track a programmatic navigation to an external site+window.rybbit.trackOutbound("https://example.com", "Example Site", "_blank");+```++## Typescript Support++Put this as file `rybbit.d.ts` anywhere in your project to avoid having to do `(window as any).rybbit.track()` everywhere.++```ts+interface Rybbit {+ /**+ * Tracks a page view+ */+ pageview: () => void;++ /**+ * Tracks a custom event+ * @param name Name of the event+ * @param properties Optional properties for the event+ */+ event: (name: string, properties?: Record<string, any>) => void;++ /**+ * Tracks an outbound link click+ * @param url The URL of the outbound link+ * @param text The link text+ * @param target The link target+ */+ trackOutbound: (url: string, text?: string, target?: string) => void;+}++declare global {+ interface Window {+ rybbit: Rybbit;+ }+}++export {};++```\ No newline at end of filediff --git a/docs/src/content/tracker.mdx b/docs/src/content/tracker.mdxindex 433486a6a..a1a85e1bb 100644--- a/docs/src/content/tracker.mdx+++ b/docs/src/content/tracker.mdx@@ -1,4 +1,4 @@-# Tracking Script+# Install TrackerTo start tracking user activity on your website, add the Rybbit tracking script to your site's HTML.@@ -97,68 +97,3 @@ The delay (in milliseconds) before tracking a pageview after URL changes via the></script>```-## Manual Tracking API--The script exposes a global object `window.rybbit` with functions for manual tracking:--### `window.rybbit.track(eventType, eventName, properties)`--The core function to send tracking data.--* `eventType` (String): The type of event. Defaults to `"pageview"`. Other values include `"custom_event"` or `"outbound"`.-* `eventName` (String): The name of the custom event (max 255 characters). **Required** when `eventType` is `"custom_event"`.-* `properties` (Object, Optional): An object containing custom data (max 8192 characters / 8KB when stringified). This will be JSON-stringified before sending.--```javascript-// Track a simple pageview (usually handled automatically)-window.rybbit.track("pageview");--// Track a custom event-window.rybbit.track("custom_event", "Signup Button Clicked");--// Track a custom event with properties-window.rybbit.track("custom_event", "Item Added To Cart", {- itemId: "PROD123",- price: 49.99,- category: "Clothing"-});--// Track an outbound link click manually-window.rybbit.track("outbound", "", {- url: "https://example.com",- text: "Visit Example Site",- target: "_blank"-});-```--### `window.rybbit.pageview()`--A convenience function for tracking a pageview. Equivalent to `window.rybbit.track('pageview')`. Useful when `data-track-spa` is set to `"false"`.--```javascript-window.rybbit.pageview();-```--### `window.rybbit.event(eventName, properties)`--A convenience function for tracking custom events. Equivalent to `window.rybbit.track('custom_event', eventName, properties)`.--* `eventName` (String): The name of the custom event (max 255 characters).-* `properties` (Object, Optional): An object containing custom data.--```javascript-window.rybbit.event("Video Played", { videoId: "xyz789" });-```--### `window.rybbit.trackOutbound(url, text, target)`--A convenience function for manually tracking outbound link clicks. Useful for programmatic navigation or custom link handling.--* `url` (String): The full URL of the outbound link.-* `text` (String, Optional): The text content of the link.-* `target` (String, Optional): The target attribute of the link (defaults to "_self").--```javascript-// Track a programmatic navigation to an external site-window.rybbit.trackOutbound("https://example.com", "Example Site", "_blank");-```diff --git a/server/public/script.js b/server/public/script.jsindex 1873325e6..d39014b73 100644--- a/server/public/script.js+++ b/server/public/script.js@@ -201,7 +201,6 @@}window.rybbit = {- track,pageview: trackPageview,event: (name, properties = {}) => track("custom_event", name, properties),trackOutbound: (url, text = "", target = "_self") =>