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

separate out windows me wallpaper container

This commit is contained in:
2022-01-29 11:15:25 -05:00
parent 19809479dd
commit b4cfbafaf0
5 changed files with 51 additions and 30 deletions

View File

@@ -1,5 +1,6 @@
import dynamic from "next/dynamic";
import { NextSeo } from "next-seo";
import Wallpaper from "../components/Wallpaper/Wallpaper";
// obviously, an interactive VNC display will not work even a little bit server-side
const VNC = dynamic(() => import("../components/VNC/VNC"), { ssr: false });
@@ -14,7 +15,10 @@ const Y2K = () => (
}}
/>
<VNC />
{/* set a random retro wallpaper tile for the content area */}
<Wallpaper image={`/static/images/y2k/tiles/tile_${Math.floor(20 * Math.random())}.png`} tile>
<VNC server="wss://socket.y2k.app" />
</Wallpaper>
<style jsx global>{`
/* make the viewport a bit larger by un-sticking the nav bar */