diff --git a/src/App.scss b/src/App.scss
index 87b2334..ded7e96 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -41,6 +41,19 @@ input {
padding-bottom: 1em;
}
-.synclass {
+.additionalNotes {
color: #a63333;
}
+
+.semField {
+ font-variant: small-caps;
+ color: #6a3131;
+}
+
+.saimiarNounMorpho {
+ color: #a63333;
+ i {
+ color: #6a3131;
+
+ }
+}
diff --git a/src/Entries.tsx b/src/Entries.tsx
index d10b636..0dab169 100644
--- a/src/Entries.tsx
+++ b/src/Entries.tsx
@@ -54,16 +54,11 @@ const EntryBase = (props: BaseProps) => {
: Edit);
};
- const expand = (evt) => {
- evt.preventDefault();
- };
-
return (
{ props.conlangEntry } { engTranslation }
- Expand
@@ -77,38 +72,45 @@ const SaiEntry = (props: {entry: SaiEntryProps}) => {
const synCategory = entry.syn_category;
const isNominal = synCategory === "nominal";
+ const barStyle = {
+ display: "inline-flex",
+ gap: "1em",
+ };
+
+ let morphology = null;
+ if (isNominal) {
+ const decl = declineSaimiar(entry);
+ if (decl) {
+ morphology = (
+ Abs: {decl.abs}, Erg: {decl.erg}, Adp: {decl.adp},
+ All: {decl.all}, Loc: {decl.loc}, Ell: {decl.ell},
+ Inst: {decl.inst}, Rel: {decl.rel}
+ );
+ }
+ }
const langSpecific = (
-
-
- { entry.syn_category }
- { entry.morph_type ? `\t\t${entry.morph_type}` : null }
-
- { isNominal ? formatMorphology(entry) : null }
+
+
+
+ { entry.syn_category }
+
+
+ { entry.morph_type ? `\t\t${entry.morph_type}` : null }
+
+ { entry.etym ? etym.: {entry.etym}
+ : null
+ }
+ { entry.semantic_field ? {entry.semantic_field} : null }
+
+ { morphology }
);
return ;
};
-function formatMorphology(entry) {
- const decl = declineSaimiar(entry);
- if (!decl) {
- return "";
- }
-
- return (
- Abs: {decl.abs}, Erg: {decl.erg},
- Adp: {decl.adp},
- All: {decl.all},
- Loc: {decl.loc},
- Ell: {decl.ell},
- Inst: {decl.inst},
- Rel: {decl.rel}
- );
-}
-
const JutEntry = (props: {entry: JutEntryProps}) => {
const {entry} = props;