diff --git a/pages/index.js b/pages/index.js index cc7d432..719f0de 100644 --- a/pages/index.js +++ b/pages/index.js @@ -1,7 +1,8 @@ import Layout, {siteTitle} from "../components/layout"; import {getSinglePost, getGraphData, getDirectoryData, convertObject, getFlattenArray} from "../lib/utils"; import FolderTree from "../components/FolderTree"; -import {Box} from '@mui/material' +import Alert from '@mui/material/Alert'; +import AlertTitle from '@mui/material/AlertTitle'; export default function Home({content, graphdata, filenames, tree, flattenNodes, ...props}) { @@ -12,6 +13,10 @@ export default function Home({content, graphdata, filenames, tree, flattenNodes,
+ + Want to know more? + 🌱 Follow or DM me on Twitter at @tuancm +
diff --git a/pages/note/[id].js b/pages/note/[id].js index 013cbf1..4174489 100644 --- a/pages/note/[id].js +++ b/pages/note/[id].js @@ -7,6 +7,8 @@ import {getPostListData, getSinglePost, getGraphData, convertObject, getDirector import { Network } from "../../components/graph"; import FolderTree from "../../components/FolderTree"; import {getFlattenArray} from "../../lib/utils"; +import Alert from '@mui/material/Alert'; +import AlertTitle from '@mui/material/AlertTitle'; export default function Home({ note, graphdata,tree, flattenNodes, ...props }) { var jsnx = require('jsnetworkx'); @@ -62,10 +64,13 @@ export default function Home({ note, graphdata,tree, flattenNodes, ...props }) { -
-
+
+ + Want to know more? + 🌱 Follow or DM me on Twitter at @tuancm + +
+