diff --git a/.env.local b/.env.local
new file mode 100644
index 00000000..f6184910
--- /dev/null
+++ b/.env.local
@@ -0,0 +1,4 @@
+#REACT_APP_API_HOST=http://localhost:3334/
+NEXT_PUBLIC_API_HOST=https://pig.staging.vault48.org/
+#REACT_APP_API_HOST=https://pig.vault48.org/
+NEXT_PUBLIC_REMOTE_CURRENT=https://pig.staging.vault48.org/static/
diff --git a/next.config.js b/next.config.js
new file mode 100644
index 00000000..ee56eaaa
--- /dev/null
+++ b/next.config.js
@@ -0,0 +1,13 @@
+const withTM = require('next-transpile-modules')(['ramda']);
+
+module.exports = withTM({
+ /* Your Next.js config */
+ async rewrites() {
+ return [
+ {
+ source: '/post:id',
+ destination: '/node/:id',
+ },
+ ];
+ },
+});
diff --git a/package.json b/package.json
index 760cb678..094c241c 100644
--- a/package.json
+++ b/package.json
@@ -40,6 +40,7 @@
"react-scripts": "^5.0.0",
"react-sortable-hoc": "^2.0.0",
"react-sticky-box": "^0.9.3",
+ "react-stickynode": "^4.0.0",
"sticky-sidebar": "^3.3.1",
"swiper": "^6.8.4",
"swr": "^1.0.1",
@@ -86,6 +87,7 @@
"craco-alias": "^2.3.1",
"husky": "^7.0.4",
"lint-staged": "^12.1.6",
+ "next-transpile-modules": "^9.0.0",
"prettier": "^1.18.2"
},
"lint-staged": {
diff --git a/src/components/boris/BorisUIDemo/index.tsx b/src/components/boris/BorisUIDemo/index.tsx
index d8b3a0db..38cd6529 100644
--- a/src/components/boris/BorisUIDemo/index.tsx
+++ b/src/components/boris/BorisUIDemo/index.tsx
@@ -5,11 +5,14 @@ import markdown from '~/styles/common/markdown.module.scss';
import { Group } from '~/components/containers/Group';
import { Button } from '~/components/input/Button';
import { InputText } from '~/components/input/InputText';
+import { useShowModal } from '~/hooks/modal/useShowModal';
+import { Dialog } from '~/constants/modal';
interface IProps {}
const BorisUIDemo: FC