From 068847af083d6f8438bc9eade852483ec73335f7 Mon Sep 17 00:00:00 2001 From: Abdelrhman Kamal Date: Sun, 12 Nov 2023 20:37:31 +0200 Subject: [PATCH] Abdelrhman: Fix best practices articles (#4680) * Fix gtx-trans close sidepanel * reset the package-lock.json file * Install the CodeSee workflow. Learn more at https://docs.codesee.io * Fix Best Practcies roadmaps articels * Restore files --------- Co-authored-by: codesee-maps[bot] <86324825+codesee-maps[bot]@users.noreply.github.com> --- public/manifest/apple-touch-icon.png | Bin public/manifest/favicon.ico | Bin public/manifest/icon152.png | Bin public/manifest/icon16.png | Bin public/manifest/icon196.png | Bin public/manifest/icon32.png | Bin .../[bestPracticeId]/[...topicId].astro | 22 ++++-------------- 7 files changed, 4 insertions(+), 18 deletions(-) mode change 100755 => 100644 public/manifest/apple-touch-icon.png mode change 100755 => 100644 public/manifest/favicon.ico mode change 100755 => 100644 public/manifest/icon152.png mode change 100755 => 100644 public/manifest/icon16.png mode change 100755 => 100644 public/manifest/icon196.png mode change 100755 => 100644 public/manifest/icon32.png diff --git a/public/manifest/apple-touch-icon.png b/public/manifest/apple-touch-icon.png old mode 100755 new mode 100644 diff --git a/public/manifest/favicon.ico b/public/manifest/favicon.ico old mode 100755 new mode 100644 diff --git a/public/manifest/icon152.png b/public/manifest/icon152.png old mode 100755 new mode 100644 diff --git a/public/manifest/icon16.png b/public/manifest/icon16.png old mode 100755 new mode 100644 diff --git a/public/manifest/icon196.png b/public/manifest/icon196.png old mode 100755 new mode 100644 diff --git a/public/manifest/icon32.png b/public/manifest/icon32.png old mode 100755 new mode 100644 diff --git a/src/pages/best-practices/[bestPracticeId]/[...topicId].astro b/src/pages/best-practices/[bestPracticeId]/[...topicId].astro index dd304ce21..bc025c5e4 100644 --- a/src/pages/best-practices/[bestPracticeId]/[...topicId].astro +++ b/src/pages/best-practices/[bestPracticeId]/[...topicId].astro @@ -1,6 +1,6 @@ --- -import BaseLayout from '../../../layouts/BaseLayout.astro'; -import { BestPracticeTopicFileType,getAllBestPracticeTopicFiles } from '../../../lib/best-practice-topic'; +import { getAllBestPracticeTopicFiles } from '../../../lib/best-practice-topic'; +import type { BestPracticeTopicFileType } from '../../../lib/best-practice-topic'; export async function getStaticPaths() { const topicPathMapping = await getAllBestPracticeTopicFiles(); @@ -20,21 +20,7 @@ export async function getStaticPaths() { }); } -const { topicId } = Astro.params; -const { file, bestPracticeId, bestPractice, heading } = Astro.props as BestPracticeTopicFileType; +const { file } = Astro.props as BestPracticeTopicFileType; --- - -
-
-
- -
-
-
-
+