diff --git a/public/introduction-to-javascript.jpg b/public/introduction-to-javascript.jpg
new file mode 100644
index 0000000..a9d5484
Binary files /dev/null and b/public/introduction-to-javascript.jpg differ
diff --git a/public/javascript-dom.jpg b/public/javascript-dom.jpg
new file mode 100644
index 0000000..5f50853
Binary files /dev/null and b/public/javascript-dom.jpg differ
diff --git a/public/javascript-functions.jpg b/public/javascript-functions.jpg
new file mode 100644
index 0000000..aa12272
Binary files /dev/null and b/public/javascript-functions.jpg differ
diff --git a/public/javascript-history.jpg b/public/javascript-history.jpg
new file mode 100644
index 0000000..85874e0
Binary files /dev/null and b/public/javascript-history.jpg differ
diff --git a/src/app/gen-thumbnail/page.tsx b/src/app/gen-thumbnail/page.tsx
index 4320ff8..f25d3e4 100644
--- a/src/app/gen-thumbnail/page.tsx
+++ b/src/app/gen-thumbnail/page.tsx
@@ -6,8 +6,8 @@ function RenderThumbnail() {
-
Web Development
- Resources
+ Introduction to JavaScript
+ JavaScript Guides
CA Resources
diff --git a/src/app/guides/[slug]/page.tsx b/src/app/guides/[slug]/page.tsx
index e2608a9..853d704 100644
--- a/src/app/guides/[slug]/page.tsx
+++ b/src/app/guides/[slug]/page.tsx
@@ -80,7 +80,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
return (
<>
- {guide.modTitle}
+ {guide.title}
{guide.readingTime}
{MDXContent && (
@@ -90,8 +90,8 @@ export default async function Page({ params }: { params: { slug: string } }) {
/>
)}
>
)
diff --git a/src/app/guides/[slug]/slug.css b/src/app/guides/[slug]/slug.css
index 6844259..2f6a76d 100644
--- a/src/app/guides/[slug]/slug.css
+++ b/src/app/guides/[slug]/slug.css
@@ -164,6 +164,7 @@ h1 code,
h2 code,
h3 code,
h4 code {
+ @apply font-semibold;
font-size: inherit;
}
diff --git a/src/components/shared/guides-paths.tsx b/src/components/shared/guides-paths.tsx
index 28f0ba0..326c3f1 100644
--- a/src/components/shared/guides-paths.tsx
+++ b/src/components/shared/guides-paths.tsx
@@ -15,8 +15,8 @@ function GuidestPaths({ category }: { category: string }) {
return (
<>
{allGuides
- .filter((g) => g?.category && g.category.trim() === category.trim()) // Ensure g?.category is defined
- .sort((a, b) => a.title.localeCompare(b.title))
+ .filter((g) => g?.category && g.category.trim() === category.trim())
+ // .sort((a, b) => a.modTitle.localeCompare(b.modTitle))
.map((p, i: number) => {
const isActive = pathname === `/guides/${p._raw.flattenedPath}`
return (
@@ -29,7 +29,7 @@ function GuidestPaths({ category }: { category: string }) {
currentPath(isActive)
)}
>
- {p.title}
+ {p.modTitle}
)
diff --git a/src/components/shared/sheet-links.tsx b/src/components/shared/sheet-links.tsx
index 4c94dbb..f2fc52e 100644
--- a/src/components/shared/sheet-links.tsx
+++ b/src/components/shared/sheet-links.tsx
@@ -18,7 +18,7 @@ const SheetLinks: React.FC