j-eick/vocab-dojo

Basic Style: Flashcards

Closed this issue · 0 comments

Tasks

  • Frontside:
    • Optional title field
    • Description field

like so:
frontTitle: frontsideTitle,
frontText: frontsideText,

  • Backside:
    • Optional title field
    • Description field

like so:
backTitle: backsideTitle,
backText: backsideText,

Check these places:

  • Services
  • Model
  • AddVocabForm

Need to create 2 variants for <p>, one if <p> is alone and one <p> if there's also a <title>. Same for <title>.

  • Conditional flashcard formatting:
    • Frontside: if only title OR description ⬇️
      Image

    • Backside: If title only, then only display in middle of card as normal text;
      If also description, then show like ⬇️
      Image