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") (RawContent -> LabelledContent) -> RawContent -> LabelledContent forall a b. (a -> b) -> a -> b $ Lbl -> String -> MaxWidthPercent -> RawContent figWithWidth (NP -> Lbl forall n. NounPhrase n => n -> Lbl atStartNP (IdeaDict -> NP forall t. NamedIdea t => t -> NP the IdeaDict physicalSystem)) (String resourcePath String -> String -> String forall a. [a] -> [a] -> [a] ++ String "Launch.jpg") MaxWidthPercent 70 sysCtxFig1 :: LabelledContent sysCtxFig1 :: LabelledContent sysCtxFig1 = Reference -> RawContent -> LabelledContent llcc (String -> Reference makeFigRef String "sysCtxDiag") (RawContent -> LabelledContent) -> RawContent -> LabelledContent forall a b. (a -> b) -> a -> b $ Lbl -> String -> RawContent fig (IdeaDict -> Lbl forall n. NamedIdea n => n -> Lbl titleize IdeaDict sysCont) (String resourcePath String -> String -> String forall a. [a] -> [a] -> [a] ++ String "SystemContextFigure.png")