import { ArrowLeftIcon } from "@heroicons/react/24/outline"; import { useNavigate } from "react-router-dom"; import styled from "styled-components"; import { Button, Hr, lightGray, vscBackground, vscForeground, } from "../components"; import KeyboardShortcutsDialog from "../components/dialogs/KeyboardShortcuts"; import { useNavigationListener } from "../hooks/useNavigationListener"; import { postToIde } from "../util/ide"; const ResourcesDiv = styled.div` margin: 4px; border-top: 0.5px solid ${lightGray}; border-bottom: 0.5px solid ${lightGray}; `; const IconDiv = styled.div<{ backgroundColor?: string }>` display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 12px; & > a { color: ${vscForeground}; text-decoration: none; display: flex; align-items: center; width: 100%; justify-content: center; } &:hover { background-color: ${(props) => props.backgroundColor || lightGray}; } `; const TutorialButton = styled(Button)` padding: 2px 4px; margin-left: auto; margin-right: 12px; background-color: transparent; color: ${vscForeground}; border: 1px solid ${lightGray}; &:hover { background-color: ${lightGray}; } `; function HelpPage() { useNavigationListener(); const navigate = useNavigate(); return (
navigate("/")} className="inline-block ml-4 cursor-pointer" />

Help Center

{ postToIde("showTutorial", undefined); }} > Open tutorial

{ navigate("/stats"); }} > View My Usage


Resources

Demo Video Documentation Continue Discord GitHub Issues
); } export default HelpPage;