/** @jsxImportSource @emotion/react */ import { Fragment, useContext } from "react" import { EventLoopContext, StateContexts } from "/utils/context" import { Event, getBackendURL, isTrue } from "/utils/state" import { WifiOffIcon as LucideWifiOffIcon } from "lucide-react" import { keyframes } from "@emotion/react" import { Box as RadixThemesBox, Dialog as RadixThemesDialog, Flex as RadixThemesFlex, Heading as RadixThemesHeading, Link as RadixThemesLink, Text as RadixThemesText } from "@radix-ui/themes" import env from "/env.json" import NextLink from "next/link" import NextHead from "next/head" export function Fragment_966c0378eb9d65bdfb5286644be9b831 () { const [addEvents, connectErrors] = useContext(EventLoopContext); const state = useContext(StateContexts.state) return ( {isTrue(((!state.is_hydrated) || (connectErrors.length > 0))) ? ( {`wifi_off`} ) : ( )} ) } export function Fragment_14636cc997c0546c0967a25d8e600f96 () { const [addEvents, connectErrors] = useContext(EventLoopContext); return ( {isTrue(connectErrors.length >= 2) ? ( = 2}> {`Connection Error`} {`Cannot connect to server: `} {(connectErrors.length > 0) ? connectErrors[connectErrors.length - 1].message : ''} {`. Check if server is reachable at `} {getBackendURL(env.EVENT).href} ) : ( )} ) } const pulse = keyframes` 0% { opacity: 0; } 100% { opacity: 1; } ` export default function Component() { return (
{`About`} {`Projects`} {`Resume`} {`Blog`} {`Shop`} {`Index`} {`Footer`} {`Timothy Pidashev`}
) }