From f7bd9489796278249c6a5430d44a5051997f490f Mon Sep 17 00:00:00 2001 From: adueck Date: Fri, 23 Sep 2022 23:56:10 +0400 Subject: [PATCH] dictionary links --- src/content/dictionary.mdx | 5 +++++ src/content/index.ts | 12 ++++++++---- src/content/intro.mdx | 2 ++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 src/content/dictionary.mdx diff --git a/src/content/dictionary.mdx b/src/content/dictionary.mdx new file mode 100644 index 0000000..6a7c1f5 --- /dev/null +++ b/src/content/dictionary.mdx @@ -0,0 +1,5 @@ +--- +title: Dictionary +--- + +This grammar is paired with the [LingDocs Pashto Dictionary](https://dictionary.lingdocs.com). 📚 \ No newline at end of file diff --git a/src/content/index.ts b/src/content/index.ts index fbafe17..b5c1f4e 100644 --- a/src/content/index.ts +++ b/src/content/index.ts @@ -120,9 +120,13 @@ import * as games from "!babel-loader!@lingdocs/mdx-loader!./games.mdx"; // @ts-ignore import * as pronounPicker from "!babel-loader!@lingdocs/mdx-loader!./practice-tools/pronoun-picker.mdx"; + // @ts-ignore import * as phraseBuilder from "!babel-loader!@lingdocs/mdx-loader!./phrase-builder.mdx"; +// @ts-ignore +import * as dictionary from "!babel-loader!@lingdocs/mdx-loader!./dictionary.mdx"; + type ChapterSection = { import: any, slug: string, @@ -408,12 +412,12 @@ const contentTree: (ChapterSection | ChaptersSection)[] = [ import: pronounPicker, slug: "pronoun-picker", }, - { - import: phraseBuilder, - slug: "phrase-builder", - }, ], }, + { + slug: "Dictionary", + import: dictionary, + }, ]; export const content = contentTree.map((item) => { diff --git a/src/content/intro.mdx b/src/content/intro.mdx index 543d3be..5f6d6b9 100644 --- a/src/content/intro.mdx +++ b/src/content/intro.mdx @@ -47,6 +47,8 @@ This grammar is mostly complete but is still a work in progress. Stay tuned for - Youtube: LingDocs YouTube Channel - Email: dev234 AT lingdocs DOT com +**Note:** This grammar is paired with the [LingDocs Pashto Dictionary](https://dictionary.lingdocs.com). 📚 + > "Part of the task of the grammarian is ... to unravel the complexities of languages, and, as far as possible, simplify them." Frank Palmer - [Grammar](https://www.amazon.com/gp/product/B000S5VSAS) I hope this grammar helps to show that **Pashto isn't difficult... it's rich and beautiful**. \ No newline at end of file