diff --git a/components/FolderTree.js b/components/FolderTree.js index 156b238..f9555c8 100644 --- a/components/FolderTree.js +++ b/components/FolderTree.js @@ -7,7 +7,15 @@ import { useRouter } from 'next/router' export default function FolderTree(props) { const renderTree = (nodes) => ( - + {Array.isArray(nodes.children) ? nodes.children.map((node) => renderTree(node)) : null} diff --git a/styles/style.css b/styles/style.css index 8897421..472de66 100644 --- a/styles/style.css +++ b/styles/style.css @@ -110,7 +110,7 @@ a:hover { flex-direction: column; } :root { - --default-font: 'Inter', sans-serif; + --default-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Microsoft YaHei Light", sans-serif; } .theme-light { @@ -194,6 +194,9 @@ a:hover { footer { margin-top: 2em; text-align: center; + background-color: rgb(231, 242, 250); + border-radius: 8px; + padding: 4px; } footer ul li{