diff options
author | rohan09-raj <rajrohan1914@gmail.com> | 2024-02-19 20:50:51 +0530 |
---|---|---|
committer | Blaster4385 <blaster4385@tablaster.dev> | 2024-02-21 23:52:45 +0530 |
commit | 7ef0354687bb6abeda97a32ebcb0e39de91691e5 (patch) | |
tree | 76e0d842e9d5688d1526ddc9c627d8465d1e4a7c /client/src/utils | |
parent | 63f1cbe9c0a52b9b3a8724b7c6f47957414bda8a (diff) |
feat: Implement frontend UI for minibin
- Use prism.js for syntax highlighting
- USe react-router-dom for routing
Diffstat (limited to 'client/src/utils')
-rw-r--r-- | client/src/utils/constants.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/client/src/utils/constants.js b/client/src/utils/constants.js new file mode 100644 index 0000000..07e50c6 --- /dev/null +++ b/client/src/utils/constants.js @@ -0,0 +1,25 @@ +export const SERVER_BASE_URL = import.meta.env.VITE_SERVER_BASE_URL; +export const SUPPORTED_LANGUAGES = { + none: "Plain Text", + c: "C", + cpp: "C++", + css: "CSS", + git: "Git", + go: "Golang", + html: "HTML", + java: "Java", + js: "JavaScript", + json: "JSON", + jsx: "JSX", + kotlin: "Kotlin", + lua: "Lua", + md: "Markdown", + py: "Python", + rust: "Rust", + sh: "Shell", + sql: "SQL", + ts: "TypeScript", + tsx: "TSX", + url: "URL", + xml: "XML", +}; |