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>
This commit is contained in:
Abdelrhman Kamalandcodesee-maps[bot] authored and GitHub committed 2023-11-12 18:37:31 +00:00
1 parent c6c91ef8fe
commit 068847af08
7 files changed
+4 -18

No files matched your search

View File
File mode changed.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Executable → Regular
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Executable → Regular
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Executable → Regular
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

Executable → Regular
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Executable → Regular
View File
File mode changed.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 267 B

@@ -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;
---
<BaseLayout
title={`${heading} - roadmap.sh`}
description={`Free resources to learn ${heading} in ${bestPractice.briefTitle}. Everything you need to know about ${heading} and how it realtes to ${bestPractice.briefTitle}.`}
noIndex={true}
permalink={`/best-practices/${bestPracticeId}/${topicId}`}
>
<div class='bg-gray-50'>
<div class='container py-16 prose prose-p:mt-0 prose-h1:mb-4 prose-h2:mb-3 prose-h2:mt-0'>
<main id='main-content'>
<file.Content />
</main>
</div>
</div>
</BaseLayout>
<file.Content />