module Drasil.Projectile.Figures (figLaunch, sysCtxFig1) where

import Language.Drasil
import Language.Drasil.Chunk.Concept.NamedCombinators (the)

import Data.Drasil.Concepts.Documentation (physicalSystem, sysCont)

resourcePath :: String
resourcePath :: String
resourcePath = String
"../../../../datafiles/projectile/"

figLaunch :: LabelledContent
figLaunch :: LabelledContent
figLaunch = Reference -> RawContent -> LabelledContent
llcc (String -> Reference
makeFigRef String
"Launch") forall a b. (a -> b) -> a -> b
$ Lbl -> String -> MaxWidthPercent -> RawContent
figWithWidth (forall n. NounPhrase n => n -> Lbl
atStartNP (forall t. NamedIdea t => t -> NP
the IdeaDict
physicalSystem))
  (String
resourcePath forall a. [a] -> [a] -> [a]
++ String
"Launch.jpg") MaxWidthPercent
70

sysCtxFig1 :: LabelledContent
sysCtxFig1 :: LabelledContent
sysCtxFig1 = Reference -> RawContent -> LabelledContent
llcc (String -> Reference
makeFigRef String
"sysCtxDiag") forall a b. (a -> b) -> a -> b
$ Lbl -> String -> RawContent
fig (forall n. NamedIdea n => n -> Lbl
titleize IdeaDict
sysCont) 
  (String
resourcePath forall a. [a] -> [a] -> [a]
++ String
"SystemContextFigure.png")