1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 14:45:52 -04:00

refactor component imports/exports

This commit is contained in:
2022-03-16 11:22:56 -04:00
parent 83bb83804f
commit 4ea5b15db0
71 changed files with 224 additions and 139 deletions

View File

@@ -1,12 +1,12 @@
import { useEffect } from "react";
import dynamic from "next/dynamic";
import { NextSeo } from "next-seo";
import Layout from "../components/Layout/Layout";
import Wallpaper from "../components/Wallpaper/Wallpaper";
import Layout from "../components/Layout";
import Wallpaper from "../components/Wallpaper";
import type { ReactElement } from "react";
// obviously, an interactive VNC display will not work even a little bit server-side
const VNC = dynamic(() => import("../components/VNC/VNC"), { ssr: false });
const VNC = dynamic(() => import("../components/VNC"), { ssr: false });
// https://github.com/jakejarvis/y2k
const SOCKET_PROXY = "wss://y2k.jrvs.io";