|
83 | 83 | <a href="https://judge0.com" target="_blank" rel="noopener" tabindex="-1" class="w-8 h-8 rounded-md judge0-showLogo"> |
84 | 84 | <img src="./images/icon_var2_rounded_512.png"> |
85 | 85 | </a> |
| 86 | + <div class="max-md:hidden judge0-showFileMenu judge0-dropdown"> |
| 87 | + <button class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm transition rounded-md judge0-dropdown-btn dark:hover:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 hover:bg-zinc-100 whitespace-nowrap"> |
| 88 | + <span class="overflow-hidden text-nowrap">File</span> |
| 89 | + </button> |
| 90 | + <div class="absolute hidden mt-1 overflow-y-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:rounded-md [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-md [&::-webkit-scrollbar-thumb]:bg-zinc-200 dark:[&::-webkit-scrollbar-track]:bg-transparent dark:[&::-webkit-scrollbar-thumb]:bg-zinc-700 text-sm bg-white border rounded-md shadow-md judge0-dropdown-menu max-h-1/2 dark:border-zinc-800 dark:bg-black z-50"> |
| 91 | + <ul class="py-2"> |
| 92 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md cursor-pointer hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full"><i class="w-4 text-center fa-solid fa-file"></i>Open File...</a></li> |
| 93 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md cursor-pointer hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full"><i class="w-4 text-center fa-solid fa-floppy-disk"></i>Save</a></li> |
| 94 | + </ul> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + <div class="max-md:hidden judge0-showHelpMenu judge0-dropdown"> |
| 98 | + <button class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm transition rounded-md judge0-dropdown-btn dark:hover:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 hover:bg-zinc-100 whitespace-nowrap"> |
| 99 | + <span class="overflow-hidden text-nowrap">Help</span> |
| 100 | + </button> |
| 101 | + <div class="absolute hidden mt-1 overflow-y-auto [&::-webkit-scrollbar]:w-1 [&::-webkit-scrollbar-track]:rounded-md [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-md [&::-webkit-scrollbar-thumb]:bg-zinc-200 dark:[&::-webkit-scrollbar-track]:bg-transparent dark:[&::-webkit-scrollbar-thumb]:bg-zinc-700 text-sm bg-white border rounded-md shadow-md judge0-dropdown-menu max-h-1/2 dark:border-zinc-800 dark:bg-black z-50"> |
| 102 | + <ul class="py-2"> |
| 103 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full" href="https://github.com/judge0/ide" target="_blank" rel="noopener"><i class="w-4 text-center fa-brands fa-github"></i>GitHub Repository</a></li> |
| 104 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full" href="/embed" target="_blank" rel="noopener"><i class="w-4 text-center fa-solid fa-code"></i>Embed Guide</a></li> |
| 105 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full" href="https://platform.sulu.sh/apis/judge0" target="_blank" rel="noopener"><i class="w-4 text-center fa-solid fa-book"></i>HTTP API Documentation</a></li> |
| 106 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full" href="/PRIVACY.md" target="_blank" rel="noopener"><i class="w-4 text-center fa-solid fa-shield-halved"></i>Privacy Policy</a></li> |
| 107 | + <li class="mx-2"><a class="flex items-center gap-2 px-4 py-1 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 size-full" href="/TERMS.md" target="_blank" rel="noopener"><i class="w-4 text-center fa-solid fa-file-signature"></i>Terms of Service</a></li> |
| 108 | + </ul> |
| 109 | + </div> |
| 110 | + </div> |
86 | 111 | <div class="max-md:hidden judge0-showSelectLanguage judge0-dropdown"> |
87 | 112 | <button class="flex items-center justify-between h-8 px-2 text-sm text-left bg-transparent border rounded-md judge0-dropdown-btn dark:border-zinc-800 focus-visible:outline-none focus-visible:ring-2"> |
88 | 113 | <span class="overflow-hidden text-nowrap"></span> |
|
101 | 126 | Run |
102 | 127 | </button> |
103 | 128 | <div class="judge0-showPuterSignInOutButton max-sm:hidden"> |
104 | | - <button id="judge0-sign-in-btn" class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm font-semibold transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap"> |
| 129 | + <button id="judge0-sign-in-btn" class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap"> |
105 | 130 | <i class="fa-arrow-right-to-bracket fa-solid"></i> |
106 | 131 | Sign in with Puter |
107 | 132 | </button> |
108 | | - <button id="judge0-sign-out-btn" class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm font-semibold transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap"> |
| 133 | + <button id="judge0-sign-out-btn" class="inline-flex items-center justify-center h-8 gap-2 px-4 text-sm transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap"> |
109 | 134 | <i class="fa-arrow-right-from-bracket fa-solid"></i> |
110 | 135 | <span id="judge0-puter-username"></span> |
111 | 136 | </button> |
112 | 137 | </div> |
113 | | - <button id="judge0-theme-btn" class="inline-flex items-center justify-center w-8 h-8 gap-2 text-sm font-semibold transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 max-md:hidden focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap judge0-showThemeButton"><i class="fa-solid fa-sun"></i></button> |
| 138 | + <button id="judge0-theme-btn" class="inline-flex items-center justify-center w-8 h-8 gap-2 text-sm transition rounded-md text-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:bg-zinc-800 max-md:hidden focus-visible:outline-none focus-visible:ring-2 bg-zinc-100 hover:bg-zinc-200 whitespace-nowrap judge0-showThemeButton"><i class="fa-solid fa-sun"></i></button> |
114 | 139 | </header> |
115 | 140 |
|
116 | 141 | <main class="flex-grow min-h-0 overflow-hidden"></main> |
|
0 commit comments