diff --git a/components/EditorSplit.tsx b/components/EditorSplit.tsx
index a5d7af6..e55142c 100644
--- a/components/EditorSplit.tsx
+++ b/components/EditorSplit.tsx
@@ -1,3 +1,4 @@
+import { Partial } from "$fresh/runtime.ts";
import Editor from "../islands/Editor.tsx";
import { getPreCode } from "../utils/precode.ts";
import { getTestingCode } from "../utils/testingcode.ts";
@@ -30,11 +31,13 @@ export default function EditorSplit(props: EditorSplitProps) {
-
+
+
+
);
}
diff --git a/components/MarkdownSplit.tsx b/components/MarkdownSplit.tsx
index 8dd2c46..88df7b4 100644
--- a/components/MarkdownSplit.tsx
+++ b/components/MarkdownSplit.tsx
@@ -5,6 +5,7 @@ import EditButton from "../components/EditButton.tsx";
import IconPlayerTrackNext from "https://deno.land/x/tabler_icons_tsx@0.0.5/tsx/player-track-next.tsx";
import IconPlayerTrackPrev from "https://deno.land/x/tabler_icons_tsx@0.0.5/tsx/player-track-prev.tsx";
+import { Partial } from "$fresh/runtime.ts";
interface MarkdownSplitProps {
course: Course;
@@ -24,63 +25,72 @@ export default function MarkdownSplit({
return (
<>
- {nextCourse && (
-
- )}
+
+ {nextCourse && (
+
+ )}
- {prevCourse && (
-
- )}
+ {prevCourse && (
+
+ )}
+
-
- -
- الدروس
-
- {lable && (
+
+
+ {lable && (
+ -
+ {lable}
+
+ )}
+ - {course.title}
+
+
-
{course.title}
-
+
+ {course.title}
+
+
-
-
+
+
+
>
);
diff --git a/routes/[...slug].tsx b/routes/[...slug].tsx
index 56f749e..b73ba9b 100644
--- a/routes/[...slug].tsx
+++ b/routes/[...slug].tsx
@@ -77,7 +77,7 @@ export default function CoursePage(
-
+
{/* Small screen editor/docs toggle button */}
{/* Course page loading */}
diff --git a/routes/index.tsx b/routes/index.tsx
index 4cdc5c7..97e4a77 100644
--- a/routes/index.tsx
+++ b/routes/index.tsx
@@ -37,6 +37,7 @@ export default function IndexPage() {