|
| 1 | +export const commands = [ |
| 2 | + { |
| 3 | + category: 'Navigation & Socials', |
| 4 | + items: [ |
| 5 | + { |
| 6 | + title: 'View Source on GitHub', |
| 7 | + description: 'See source code of Fezcodex on GitHub', |
| 8 | + color: 'red', |
| 9 | + commandId: 'viewSource', |
| 10 | + }, |
| 11 | + { |
| 12 | + title: 'Open GitHub Profile', |
| 13 | + description: 'Opens Github profile of Fezcode.', |
| 14 | + color: 'orange', |
| 15 | + commandId: 'openGitHub', |
| 16 | + }, |
| 17 | + { |
| 18 | + title: 'Open Twitter Profile', |
| 19 | + description: 'Opens Twitter profile of Fezcode.', |
| 20 | + color: 'amber', |
| 21 | + commandId: 'openTwitter', |
| 22 | + }, |
| 23 | + { |
| 24 | + title: 'Open LinkedIn Profile', |
| 25 | + description: 'Opens LinkedIn profile of Fezcode.', |
| 26 | + color: 'yellow', |
| 27 | + commandId: 'openLinkedIn', |
| 28 | + }, |
| 29 | + { |
| 30 | + title: 'Send Email', |
| 31 | + description: 'Send me email.', |
| 32 | + color: 'lime', |
| 33 | + commandId: 'sendEmailFezcode', |
| 34 | + }, |
| 35 | + ], |
| 36 | + }, |
| 37 | + { |
| 38 | + category: 'Site Navigation', |
| 39 | + items: [ |
| 40 | + { |
| 41 | + title: 'Navigate to a Random Post', |
| 42 | + description: 'Go to random blogpost.', |
| 43 | + color: 'green', |
| 44 | + commandId: 'randomPost', |
| 45 | + }, |
| 46 | + { |
| 47 | + title: 'Go to Latest Post', |
| 48 | + description: 'Opens the latest blogpost.', |
| 49 | + color: 'emerald', |
| 50 | + commandId: 'latestPost', |
| 51 | + }, |
| 52 | + { |
| 53 | + title: 'Go to Latest Log', |
| 54 | + description: 'Opens the latest log entry.', |
| 55 | + color: 'teal', |
| 56 | + commandId: 'latestLog', |
| 57 | + }, |
| 58 | + { |
| 59 | + title: 'Go to Random App', |
| 60 | + description: 'Opens an app randomly.', |
| 61 | + color: 'cyan', |
| 62 | + commandId: 'randomApp', |
| 63 | + }, |
| 64 | + { |
| 65 | + title: 'Scroll to Top', |
| 66 | + description: 'Go to the top of the page.', |
| 67 | + color: 'sky', |
| 68 | + commandId: 'scrollToTop', |
| 69 | + }, |
| 70 | + { |
| 71 | + title: 'Scroll to Bottom', |
| 72 | + description: 'Go to the bottom of the page.', |
| 73 | + color: 'blue', |
| 74 | + commandId: 'scrollToBottom', |
| 75 | + }, |
| 76 | + { |
| 77 | + title: 'Previous Page', |
| 78 | + description: 'Go back to the previous page in your browser history.', |
| 79 | + color: 'sky', |
| 80 | + commandId: 'previousPage', |
| 81 | + }, |
| 82 | + { |
| 83 | + title: 'Next Page', |
| 84 | + description: 'Go forward to the next page in your browser history.', |
| 85 | + color: 'blue', |
| 86 | + commandId: 'nextPage', |
| 87 | + }, |
| 88 | + ], |
| 89 | + }, |
| 90 | + { |
| 91 | + category: 'Site Utilities', |
| 92 | + items: [ |
| 93 | + { |
| 94 | + title: 'Show Site Stats', |
| 95 | + description: |
| 96 | + 'Opens a modal to show number of Posts, Projects, Logs and Apps.', |
| 97 | + color: 'indigo', |
| 98 | + commandId: 'showSiteStats', |
| 99 | + }, |
| 100 | + { |
| 101 | + title: 'Show Version', |
| 102 | + description: 'Opens a modal to show version number of Fezcodex.', |
| 103 | + color: 'violet', |
| 104 | + commandId: 'showVersion', |
| 105 | + }, |
| 106 | + { |
| 107 | + title: 'Show Current Time', |
| 108 | + description: 'Opens a modal to show local and UTC analog clock.', |
| 109 | + color: 'purple', |
| 110 | + commandId: 'showTime', |
| 111 | + }, |
| 112 | + { |
| 113 | + title: 'Show Quick Stopwatch', |
| 114 | + description: 'Opens a modal for stopwatch, similar to stopwatch app.', |
| 115 | + color: 'fuchsia', |
| 116 | + commandId: 'stopwatch', |
| 117 | + }, |
| 118 | + { |
| 119 | + title: 'Copy Current URL', |
| 120 | + description: 'Copies the current URL to your clipboard.', |
| 121 | + color: 'pink', |
| 122 | + commandId: 'copyCurrentURL', |
| 123 | + }, |
| 124 | + { |
| 125 | + title: 'Create Issue for This Page', |
| 126 | + description: |
| 127 | + 'Opens Github Issues page to create an issue for the current URL.', |
| 128 | + color: 'rose', |
| 129 | + commandId: 'openGitHubIssue', |
| 130 | + }, |
| 131 | + ], |
| 132 | + }, |
| 133 | + { |
| 134 | + category: 'Visual Effects & Fun', |
| 135 | + items: [ |
| 136 | + { |
| 137 | + title: 'Toggle Animations', |
| 138 | + description: 'Enable/Disable all animations in Fezcodex.', |
| 139 | + color: 'slate', |
| 140 | + commandId: 'toggleAnimations', |
| 141 | + }, |
| 142 | + { |
| 143 | + title: 'Toggle Digital Rain', |
| 144 | + description: |
| 145 | + 'Opens matrix-like text rain, you need to toggle again to disable it, or refresh the page.', |
| 146 | + color: 'gray', |
| 147 | + commandId: 'digitalRain', |
| 148 | + }, |
| 149 | + { |
| 150 | + title: 'Generate Art', |
| 151 | + description: 'Opens a modal to display a simple generative box art.', |
| 152 | + color: 'zinc', |
| 153 | + commandId: 'generateArt', |
| 154 | + }, |
| 155 | + { |
| 156 | + title: 'Leet Speak Transformer', |
| 157 | + description: 'Opens a modal convert given text to Leet speak.', |
| 158 | + color: 'neutral', |
| 159 | + commandId: 'leetTransformer', |
| 160 | + }, |
| 161 | + { |
| 162 | + title: 'Her Daim', |
| 163 | + description: 'Her Daim...', |
| 164 | + color: 'stone', |
| 165 | + commandId: 'herDaim', |
| 166 | + }, |
| 167 | + { |
| 168 | + title: 'Do a Barrel Roll', |
| 169 | + description: 'Spins the page 360 degrees.', |
| 170 | + color: 'red', |
| 171 | + commandId: 'doBarrelRoll', |
| 172 | + }, |
| 173 | + { |
| 174 | + title: 'Toggle Invert Colors', |
| 175 | + description: 'Inverts all colors on the page.', |
| 176 | + color: 'orange', |
| 177 | + commandId: 'toggleInvertColors', |
| 178 | + }, |
| 179 | + { |
| 180 | + title: 'Party Mode', |
| 181 | + description: 'Cycles hue colors for a disco effect.', |
| 182 | + color: 'amber', |
| 183 | + commandId: 'partyMode', |
| 184 | + }, |
| 185 | + { |
| 186 | + title: 'Toggle Retro Mode', |
| 187 | + description: 'Enables a retro CRT scanline effect.', |
| 188 | + color: 'yellow', |
| 189 | + commandId: 'toggleRetroMode', |
| 190 | + }, |
| 191 | + { |
| 192 | + title: 'Toggle Mirror Mode', |
| 193 | + description: 'Mirrors the entire page horizontally.', |
| 194 | + color: 'lime', |
| 195 | + commandId: 'toggleMirrorMode', |
| 196 | + }, |
| 197 | + { |
| 198 | + title: 'Toggle Noir Mode', |
| 199 | + description: 'Enables a black and white noir film effect.', |
| 200 | + color: 'green', |
| 201 | + commandId: 'toggleNoirMode', |
| 202 | + }, |
| 203 | + { |
| 204 | + title: 'Toggle Terminal Mode', |
| 205 | + description: 'Switch to a green monochrome hacker aesthetic.', |
| 206 | + color: 'emerald', |
| 207 | + commandId: 'toggleTerminalMode', |
| 208 | + }, |
| 209 | + { |
| 210 | + title: 'Toggle Blueprint Mode', |
| 211 | + description: 'Switch to a blueprint schematic look.', |
| 212 | + color: 'teal', |
| 213 | + commandId: 'toggleBlueprintMode', |
| 214 | + }, |
| 215 | + { |
| 216 | + title: 'Toggle Sepia Mode', |
| 217 | + description: 'Switch to an old-timey sepia tone.', |
| 218 | + color: 'cyan', |
| 219 | + commandId: 'toggleSepiaMode', |
| 220 | + }, |
| 221 | + { |
| 222 | + title: 'Toggle Vaporwave Mode', |
| 223 | + description: 'Switch to a nostalgic vaporwave aesthetic.', |
| 224 | + color: 'sky', |
| 225 | + commandId: 'toggleVaporwaveMode', |
| 226 | + }, |
| 227 | + { |
| 228 | + title: 'Toggle Cyberpunk Mode', |
| 229 | + description: 'Switch to a high-tech, low-life dark neon look.', |
| 230 | + color: 'blue', |
| 231 | + commandId: 'toggleCyberpunkMode', |
| 232 | + }, |
| 233 | + { |
| 234 | + title: 'Toggle Game Boy Mode', |
| 235 | + description: 'Switch to a 4-color retro handheld look.', |
| 236 | + color: 'indigo', |
| 237 | + commandId: 'toggleGameboyMode', |
| 238 | + }, |
| 239 | + { |
| 240 | + title: 'Toggle Comic Book Mode', |
| 241 | + description: 'Switch to a vibrant pop-art comic style.', |
| 242 | + color: 'violet', |
| 243 | + commandId: 'toggleComicMode', |
| 244 | + }, |
| 245 | + { |
| 246 | + title: 'Toggle Sketchbook Mode', |
| 247 | + description: 'Switch to a hand-drawn sketchbook style.', |
| 248 | + color: 'purple', |
| 249 | + commandId: 'toggleSketchbookMode', |
| 250 | + }, |
| 251 | + { |
| 252 | + title: 'Toggle Hellenic Mode', |
| 253 | + description: 'Switch to a classical Greek architecture style.', |
| 254 | + color: 'fuchsia', |
| 255 | + commandId: 'toggleHellenicMode', |
| 256 | + }, |
| 257 | + { |
| 258 | + title: 'Toggle Dystopian Glitch Mode', |
| 259 | + description: 'Switch to a corrupted digital data style.', |
| 260 | + color: 'pink', |
| 261 | + commandId: 'toggleGlitchMode', |
| 262 | + }, |
| 263 | + { |
| 264 | + title: 'Toggle Garden Mode', |
| 265 | + description: 'Bloom where you are planted.', |
| 266 | + color: 'rose', |
| 267 | + commandId: 'toggleGardenMode', |
| 268 | + }, |
| 269 | + { |
| 270 | + title: 'Toggle Autumn Mode', |
| 271 | + description: 'Winter is coming.', |
| 272 | + color: 'slate', |
| 273 | + commandId: 'toggleAutumnMode', |
| 274 | + }, |
| 275 | + { |
| 276 | + title: 'Toggle Rain Mode', |
| 277 | + description: 'Let it rain.', |
| 278 | + color: 'gray', |
| 279 | + commandId: 'toggleRainMode', |
| 280 | + }, |
| 281 | + ], |
| 282 | + }, |
| 283 | + { |
| 284 | + category: 'System & Debug', |
| 285 | + items: [ |
| 286 | + { |
| 287 | + title: 'Reset Sidebar State', |
| 288 | + description: 'Remove all sidebar states.', |
| 289 | + color: 'lime', |
| 290 | + commandId: 'resetSidebarState', |
| 291 | + }, |
| 292 | + { |
| 293 | + title: 'Show User/Browser Information', |
| 294 | + description: |
| 295 | + 'Opens a modal to show User Agent, Platform, App Version, Language and Online information.', |
| 296 | + color: 'green', |
| 297 | + commandId: 'showOSInfo', |
| 298 | + }, |
| 299 | + { |
| 300 | + title: 'Clear Local Storage', |
| 301 | + description: |
| 302 | + "Removes every entry about Fezcodes in your browser's local storage.", |
| 303 | + color: 'emerald', |
| 304 | + commandId: 'clearLocalStorage', |
| 305 | + }, |
| 306 | + { |
| 307 | + title: 'Reload Page', |
| 308 | + description: 'Reloads the current page.', |
| 309 | + color: 'teal', |
| 310 | + commandId: 'reloadPage', |
| 311 | + }, |
| 312 | + { |
| 313 | + title: 'Toggle Full Screen', |
| 314 | + description: 'Goes to fullscreen mode.', |
| 315 | + color: 'cyan', |
| 316 | + commandId: 'toggleFullScreen', |
| 317 | + }, |
| 318 | + ], |
| 319 | + }, |
| 320 | +]; |
0 commit comments