From 4562df34dd84dfb33ffd5ddc3336a7b6da5311ac Mon Sep 17 00:00:00 2001
From: lingdocs <71590811+lingdocs@users.noreply.github.com>
Date: Fri, 9 Apr 2021 11:53:17 +0300
Subject: [PATCH] nouns and gender
---
package.json | 2 +-
src/content/index.js | 12 ++
src/content/nouns/nouns-gender.mdx | 216 +++++++++++++++++++++++++++++
yarn.lock | 2 +-
4 files changed, 230 insertions(+), 2 deletions(-)
create mode 100644 src/content/nouns/nouns-gender.mdx
diff --git a/package.json b/package.json
index 9b5b2fb..c9c9107 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"private": true,
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.2",
- "@lingdocs/pashto-inflector": "^0.3.3",
+ "@lingdocs/pashto-inflector": "^0.3.5",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
diff --git a/src/content/index.js b/src/content/index.js
index 6d381bd..6df37c8 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -13,6 +13,8 @@ import * as presentEquative from "!babel-loader!mdx-loader!./equatives/present-e
import * as subjunctiveHabitualEquative from "!babel-loader!mdx-loader!./equatives/subjunctive-habitual-equative.mdx";
import * as otherEquatives from "!babel-loader!mdx-loader!./equatives/other-equatives.mdx";
+import * as nounsGender from "!babel-loader!mdx-loader!./nouns/nouns-gender.mdx";
+
import * as verbEndings from "!babel-loader!mdx-loader!./verbs/verb-endings.mdx";
import * as rootsAndStems from "!babel-loader!mdx-loader!./verbs/roots-and-stems.mdx";
import * as sentenceStructure from "!babel-loader!mdx-loader!./verbs/sentence-structure.mdx";
@@ -45,6 +47,16 @@ const contentTree = [
},
],
},
+ {
+ heading: "Nouns",
+ subdirectory: "nouns",
+ chapters: [
+ {
+ import: nounsGender,
+ slug: "nouns-gender",
+ },
+ ],
+ },
{
heading: "Verbs",
subdirectory: "verbs",
diff --git a/src/content/nouns/nouns-gender.mdx b/src/content/nouns/nouns-gender.mdx
new file mode 100644
index 0000000..74c137e
--- /dev/null
+++ b/src/content/nouns/nouns-gender.mdx
@@ -0,0 +1,216 @@
+---
+title: Nouns and Gender
+---
+
+import {
+ defaultTextOptions as opts,
+ InlinePs,
+ Examples,
+} from "@lingdocs/pashto-inflector";
+export const femColor = "#FFECEF"
+export const mascColor = "#C1D5F4";
+
+export const Masc = () => (
+ masculine
+);
+
+export const Fem = () => (
+ feminine
+);
+
+All nouns in Pashto are either
Masculine | +Feminine | +
---|---|
+ {item.ending &&
+ {typeof item.ending === "string" ? item.ending
+ : }
+
+ {item.ending ? "eg. " : ""}
+ |
+ })}
+