import { useEffect } from "react"; 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 }); const Y2K = () => { // print a fancy console message (in browser only) just for funsies useEffect(() => { console.log( ` %c🤓 %cHey there, fellow nerd!%c Looking for the magic behind this page? %cCheck out this post: https://jarv.is/notes/y2k-sandbox/ ...or the source code here: https://github.com/jakejarvis/y2k `, "font-size: 20px", "color: black; background: yellow; font-size: 20px", "font-size: 20px", "font-size: 15px" ); }, []); return ( <> {/* set a random retro wallpaper tile for the content area */} ); }; export default Y2K;