diff --git a/frontend/apps/artcraft-website/src/components/footer/footer.tsx b/frontend/apps/artcraft-website/src/components/footer/footer.tsx index 49e042a268..216bfe93fe 100644 --- a/frontend/apps/artcraft-website/src/components/footer/footer.tsx +++ b/frontend/apps/artcraft-website/src/components/footer/footer.tsx @@ -3,11 +3,11 @@ import { faTiktok, faDiscord, faYoutube, - faGithub, faGithubAlt, } from "@fortawesome/free-brands-svg-icons"; import { SOCIAL_LINKS } from "../../config/links"; import { parseFrontmatter, pathToFilename } from "../../utils/markdown"; +import { Link } from "react-router-dom"; const faqFiles = import.meta.glob("../../pages/faq/content/*.md", { query: "?raw", @@ -96,35 +96,35 @@ export default function Example() {
Pages
- + Home - +
Tutorials
- + All Tutorials - + {Object.entries(tutorialFiles).map(([path, raw]) => { const { frontmatter } = parseFrontmatter(raw as string); const slug = pathToFilename(path); if (frontmatter.isPublished === "false") return null; return ( - {frontmatter.title || slug} - + ); })}
FAQ
- + All FAQs - + {Object.entries(faqFiles).map(([path, raw]) => { const { frontmatter } = parseFrontmatter(raw as string); const slug = pathToFilename(path); @@ -133,13 +133,13 @@ export default function Example() { const truncated = title.length > 36 ? title.slice(0, 33) + "…" : title; return ( - {truncated} - + ); })}
diff --git a/frontend/apps/artcraft-website/src/pages/landing2/landing2.tsx b/frontend/apps/artcraft-website/src/pages/landing2/landing2.tsx index 9835e27a94..f12234fe01 100644 --- a/frontend/apps/artcraft-website/src/pages/landing2/landing2.tsx +++ b/frontend/apps/artcraft-website/src/pages/landing2/landing2.tsx @@ -725,8 +725,6 @@ const Landing = () => {
-
-