Skip to content

Commit 43fb349

Browse files
committed
building success
1 parent fe8d146 commit 43fb349

File tree

8 files changed

+113
-87
lines changed

8 files changed

+113
-87
lines changed

apps/codingcatdev/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"@steeze-ui/simple-icons": "^1.4.0",
2424
"@steeze-ui/svelte-icon": "^1.3.2",
2525
"@sveltejs/adapter-auto": "^2.0.0",
26-
"@sveltejs/adapter-vercel": "^2.2.1",
27-
"@sveltejs/kit": "^1.9.3",
26+
"@sveltejs/adapter-vercel": "^2.4.1",
27+
"@sveltejs/kit": "^1.15.4",
2828
"@tailwindcss/forms": "^0.5.3",
2929
"@tailwindcss/typography": "^0.5.9",
3030
"@types/marked": "^4.0.8",
@@ -41,8 +41,8 @@
4141
"prettier": "^2.8.4",
4242
"prettier-plugin-svelte": "^2.9.0",
4343
"prismjs": "^1.29.0",
44-
"svelte": "^3.55.1",
45-
"svelte-check": "^3.0.4",
44+
"svelte": "^3.58.0",
45+
"svelte-check": "^3.2.0",
4646
"svelte-preprocess": "^5.0.1",
4747
"tailwindcss": "^3.2.7",
4848
"typescript": "^4.9.5",

apps/codingcatdev/src/lib/server/content.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const markdownFiles: {
2525
console.log('Building top metadata level');
2626
const modules = import.meta.glob(['../../content/course/*/*.md', '../../content/*/*.md']);
2727
for (const path in modules) {
28-
modules[path]().then((mod) => {
28+
await modules[path]().then((mod) => {
2929
const splitPath = path.replace('../../content/', '').split('/');
3030
const type = splitPath.at(0);
3131
const slug = splitPath.at(1);

apps/codingcatdev/src/routes/(content-single)/course/[slug]/lesson/[lessonSlug]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import Lesson from '$lib/components/content/Lesson.svelte';
2+
import Lesson from './Lesson.svelte';
33
import type { PageData } from './$types';
44
55
export let data: PageData;

apps/codingcatdev/src/routes/(content-single)/course/[slug]/lesson/Lesson.svelte renamed to apps/codingcatdev/src/routes/(content-single)/course/[slug]/lesson/[lessonSlug]/Lesson.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import 'prism-themes/themes/prism-shades-of-purple.min.css';
3-
import LessonList from '$lib/components/content/LessonList.svelte';
3+
import LessonList from '../../../LessonList.svelte';
44
import Video from '$lib/components/content/Video.svelte';
55
import type { Lesson } from '$lib/types';
66
export let data: {

apps/codingcatdev/src/routes/[slug]/+page.server.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

apps/codingcatdev/src/routes/[slug]/+page.svelte

Lines changed: 0 additions & 8 deletions
This file was deleted.

apps/codingcatdev/src/styles/markdown.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
@layer components {
2-
.markdown code {
3-
@apply !overflow-auto;
4-
}
52
.markdown p {
63
@apply !text-lg md:!text-2xl;
74
}

0 commit comments

Comments
 (0)