This site is the place where I display the words I learn in Indonesian. Live version is at celotehbahsa.com.
- Clone the repository locally, initalize git (
git init
) - Add an
.env.development
file, with at least anAIRTABLE_API_KEY
value - Install all dependencies (
npm install
) - Run the local server (
gatsby develop
)
MDX Explainers Using MDX, I'd like to help deconstruct some common sentences in Indonesian. Then, growing from there, I'd like to use that same syntax highlighting work to help people make sense of entire YouTube transcripts or Blogs. That way you'd come to this site to read interesting content pulled from elsewhere, with a layer of understanding added for second language learners.
To do this, I'm going to need components that correspond to each "type" of Indonesian word. And each component will have attributes. I'll keep the attributes static to start, but then could start dynamically linking them to existing words
in my database.
- Discourse particles
<dp>
</dp>
- Verb
<v>
</v>
- Translation (
t=
)
- Translation (
- Possessive
<poss>
</poss>
<Phrase translation="How come she's bold enough to borrow money from her parents?">
<Dp>Kok</Dp> brani <Dp>sih</Dp> ampe <V t="borrow">pinjem</V> duit ke <Poss>orantuanya</Poss> gitu?
</phrase>
(Starting with just 3 to define the logic, will extend later on.)
Note to self: I was forced to set an environment variable of NODE_VERSION=12
in order to deploy to Netlify with Gatsby 3 ( https://stackoverflow.com/questions/66880068/gatsby-3-x-netlify ): will have to be removed eventually as node versions need to move on.