Commit Graph

83 Commits

Author SHA1 Message Date
0ad1f24c7a refactor(playground): rename description to problem and update routes 2025-02-24 19:16:31 +08:00
8f6490a03d feat(workspace): add WorkspaceFooter component for playground 2025-02-24 13:24:19 +08:00
adf59f8132 fix(layout): add padding to ScrollArea in description and workspace layouts 2025-02-24 12:38:54 +08:00
bfb60aba6c fix(layout): adjust height and flex properties for improved layout responsiveness 2025-02-24 12:32:03 +08:00
21cb011980 fix(playground): add bg-muted class to ScrollArea for better visibility 2025-02-23 20:42:57 +08:00
22bda1f730 fix(playground): add border-muted class to TabsContent for better visibility 2025-02-23 20:37:04 +08:00
88be7cbf58 fix(layout): adjust height calculations for improved layout consistency 2025-02-23 20:31:28 +08:00
e06f286815 feat(playground): add Description and Workspace layouts with tabs for better organization 2025-02-23 19:17:03 +08:00
d5cda08a3e feat(components/ui): add Badge and Tabs components from shadcn/ui 2025-02-23 16:37:12 +08:00
a69f819da4 feat(playground): style resizable handle 2025-02-21 21:34:37 +08:00
326cce7836 feat(playground): restructure app layout and implement playground with resizable panels 2025-02-21 21:06:26 +08:00
8f5be0e437 feat(layout): implement app layout with banner and code editor components 2025-02-21 19:49:56 +08:00
eacd415667 feat(styles): update code font properties for improved readability 2025-02-21 19:49:32 +08:00
eed3a9d9ef feat(styles): update global styles to use Fira Code font for better code readability 2025-02-21 00:21:34 +08:00
1142cb950f feat(page): Implement problem preview and code editor layout
This commit splits the home page into two halves:

- The left half displays a preview of the problem description using the `MdxPreview` component.
- The right half provides a code editor using the `CodeEditor` component.

This improves the user experience by allowing users to view the problem description and write code simultaneously.
2025-02-21 00:10:31 +08:00
11fa68c4b7 feat(layout): replace ModeToggle with Banner component in RootLayout 2025-02-21 00:07:56 +08:00
e29ab229b5 feat(styles): add GitHub markdown CSS and responsive styling for markdown content 2025-02-20 15:50:08 +08:00
96c946a2ca feat(layout): integrate mode toggle in layout and simplify home page structure 2025-02-20 14:43:56 +08:00
286a4739c3 style(header): adjust header height and padding for improved layout 2025-02-20 14:28:04 +08:00
728d9557da refactor(layout): remove unused font imports from layout component 2025-02-20 13:09:57 +08:00
31491c496e refactor: import CodeEditor directly instead of using dynamic import 2025-02-20 11:27:07 +08:00
d7a019c711 chore(font): change Fira Code font weight to 500 2025-02-20 10:13:41 +08:00
9057c5971e feat(styles): Use Fira Code font for body text 2025-02-20 09:11:02 +08:00
e9da555705 refactor: move Monaco Editor logic to CodeEditor component
- Moved Monaco Editor initialization and related logic from src/app/page.tsx to src/components/code-editor.tsx
2025-02-20 01:10:25 +08:00
d1bb42765d feat(layout): change default theme from dark to system in RootLayout component 2025-02-19 22:40:27 +08:00
eead1884e1 feat(layout): change default theme to dark in RootLayout component 2025-02-19 21:57:47 +08:00
38dc197eb7 fix(layout): suppress hydration warning in RootLayout component 2025-02-19 21:30:01 +08:00
7c6c196cb2 feat(theme): wrap application in ThemeProvider for improved theme management 2025-02-19 21:20:25 +08:00
d10b059dd1 fix(editor): resolve production error "Missing service editorService" by importing vscode 2025-02-19 16:39:30 +08:00
672f63f10a feat(monaco): Integrate clangd LSP for C language support in Monaco Editor 2025-02-19 12:29:24 +08:00
5d9904d083 style(theme): update to github light/dark theme color scheme 2025-02-19 09:11:57 +08:00
f7261ede2c chore: initialize shadcn/ui 2025-02-19 09:07:30 +08:00
19f5e6af2a chore: initialize the project 2025-02-19 09:00:15 +08:00