add links to source

This commit is contained in:
adueck 2022-10-24 17:10:04 +05:00
parent 89b06aa87f
commit 22f6c5de15
2 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import React from "react"; import React from "react";
export default function({ w }) { function InlineWord({ w }) {
return ( return (
<span> <span>
<span dir="rtl">{w.p}</span> <span dir="rtl">{w.p}</span>
@ -9,4 +9,6 @@ export default function({ w }) {
{w.e && <> (<span dir="ltr">{w.e}</span>)</>} {w.e && <> (<span dir="ltr">{w.e}</span>)</>}
</span> </span>
); );
}; };
export default InlineWord;

View File

@ -8,26 +8,31 @@ const projects = [
title: "Pashto Grammar", title: "Pashto Grammar",
description: "A Pashto grammar reference. This is extremely new and only in the very beginning stages.", description: "A Pashto grammar reference. This is extremely new and only in the very beginning stages.",
link: "https://grammar.lingdocs.com", link: "https://grammar.lingdocs.com",
repo: "https://github.com/lingdocs/pashto-grammar",
}, },
{ {
title: "Pashto Dictionary", title: "Pashto Dictionary",
description: "A Pashto dicitionary with smart-search and inflection/conjugation", description: "A Pashto dicitionary with smart-search and inflection/conjugation",
link: "https://dictionary.lingdocs.com", link: "https://dictionary.lingdocs.com",
repo: "https://github.com/lingdocs/pashto-dictionary"
}, },
{ {
title: "Pashto Inflector", title: "Pashto Inflector",
description: "An open source TypeScript/React library for Pashto inflection, verb conjugation, phrase generation, text conversion, and more.", description: "An open source TypeScript/React library for Pashto inflection, verb conjugation, phrase generation, text conversion, and more.",
link: "https://pashto-inflector.lingdocs.com", link: "https://pashto-inflector.lingdocs.com",
repo: "https://github.com/lingdocs/pashto-inflector",
}, },
{ {
title: "Pashtoodle", title: "Pashtoodle",
description: "A Pashto version of the well-loved word guessing game", description: "A Pashto version of the well-loved word guessing game",
link: "https://pashtoodle.lingdocs.com", link: "https://pashtoodle.lingdocs.com",
repo: "https://github.com/lingdocs/pashto-wordle",
}, },
{ {
title: "RTL EPUB Maker", title: "RTL EPUB Maker",
description: "Easily create EPUB e-book files with proper RTL support. Because right-to-left languages deserve nice e-books too.", description: "Easily create EPUB e-book files with proper RTL support. Because right-to-left languages deserve nice e-books too.",
link: "https://rtl-epub-maker.lingdocs.com", link: "https://rtl-epub-maker.lingdocs.com",
repo: "https://github.com/lingdocs/rtl-epub-maker",
}, },
]; ];
@ -56,7 +61,10 @@ const About = ({ location }) => {
<a href={project.link}> <a href={project.link}>
<h2 className="post-title">{project.title}</h2> <h2 className="post-title">{project.title}</h2>
</a> </a>
<p>{project.description}</p> <div>{project.description}</div>
<div className="mt-2 text-muted">
<a href={project.link}>Website</a> - <a href={project.repo}>Source Code</a>
</div>
</div> </div>
))} ))}
</div> </div>