chore(components): move features to components/features
Some checks failed
Build & Push Monaco Docker Image / build-and-push-monaco-docker-image (., Dockerfile, monaco-editor-lsp-next) (push) Failing after 1s

This commit is contained in:
cfngc4594 2025-03-16 12:05:59 +08:00
parent db4bc0dc73
commit d1188f5ea6
15 changed files with 11 additions and 11 deletions

View File

@ -2,7 +2,7 @@ import prisma from "@/lib/prisma";
import { notFound } from "next/navigation";
import { MdxRenderer } from "@/components/content/mdx-renderer";
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
import ProblemDescriptionFooter from "@/features/playground/problem/description/footer";
import ProblemDescriptionFooter from "@/components/features/playground/problem/description/footer";
interface ProblemDescriptionPageProps {
params: Promise<{ id: string }>

View File

@ -2,7 +2,7 @@ import prisma from "@/lib/prisma";
import { notFound } from "next/navigation";
import { MdxRenderer } from "@/components/content/mdx-renderer";
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
import ProblemSolutionFooter from "@/features/playground/problem/solution/footer";
import ProblemSolutionFooter from "@/components/features/playground/problem/solution/footer";
interface ProblemSolutionPageProps {
params: Promise<{ id: string }>;

View File

@ -1,7 +1,7 @@
import prisma from "@/lib/prisma";
import CodeEditor from "@/components/code-editor";
import WorkspaceEditorHeader from "@/features/playground/workspace/editor/header";
import WorkspaceEditorFooter from "@/features/playground/workspace/editor/footer";
import WorkspaceEditorHeader from "@/components/features/playground/workspace/editor/components/header";
import WorkspaceEditorFooter from "@/components/features/playground/workspace/editor/components/footer";
interface WorkspaceEditorProps {
params: Promise<{ id: string }>

View File

@ -1,4 +1,4 @@
import { PlaygroundHeader } from "@/features/playground/header";
import { PlaygroundHeader } from "@/components/features/playground/header";
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "@/components/ui/resizable";
interface PlaygroundLayoutProps {

View File

@ -1,11 +1,11 @@
import { cn } from "@/lib/utils";
import { EditorLanguage } from "@prisma/client";
import CopyButton from "./components/copy-button";
import RedoButton from "./components/redo-button";
import UndoButton from "./components/undo-button";
import ResetButton from "./components/reset-button";
import FormatButton from "./components/format-button";
import LanguageSelector from "./components/language-selector";
import CopyButton from "./copy-button";
import RedoButton from "./redo-button";
import UndoButton from "./undo-button";
import ResetButton from "./reset-button";
import FormatButton from "./format-button";
import LanguageSelector from "./language-selector";
interface WorkspaceEditorHeaderProps {
templates: { language: EditorLanguage; template: string }[];