2019-10-01 03:30:35 +03:00
|
|
|
module Examples.AssignmentIcon exposing (example)
|
|
|
|
|
|
|
|
{-|
|
|
|
|
|
|
|
|
@docs example, styles
|
|
|
|
|
|
|
|
-}
|
|
|
|
|
2020-03-24 03:33:42 +03:00
|
|
|
import Category exposing (Category(..))
|
2019-10-01 19:04:33 +03:00
|
|
|
import Examples.IconExamples as IconExamples
|
2020-03-24 03:33:42 +03:00
|
|
|
import ModuleExample exposing (ModuleExample)
|
2019-10-01 03:30:35 +03:00
|
|
|
import Nri.Ui.AssignmentIcon.V1 as AssignmentIcon
|
|
|
|
import Nri.Ui.Icon.V5 as Icon
|
2020-03-24 03:48:53 +03:00
|
|
|
import Sort.Set as Set exposing (Set)
|
2019-10-01 03:30:35 +03:00
|
|
|
|
|
|
|
|
|
|
|
{-| -}
|
|
|
|
example : ModuleExample msg
|
|
|
|
example =
|
|
|
|
{ name = "Nri.Ui.AssignmentIcon.V1"
|
2020-03-24 03:48:53 +03:00
|
|
|
, categories = Set.fromList Category.sorter <| List.singleton Icons
|
2019-10-01 03:30:35 +03:00
|
|
|
, content =
|
2019-10-30 02:24:20 +03:00
|
|
|
[ IconExamples.view "Quiz engine"
|
2019-10-01 19:02:06 +03:00
|
|
|
[ ( "diagnostic", AssignmentIcon.diagnostic )
|
|
|
|
, ( "practice", AssignmentIcon.practice )
|
|
|
|
, ( "quiz", AssignmentIcon.quiz )
|
2019-10-01 03:55:15 +03:00
|
|
|
]
|
2019-10-30 02:24:20 +03:00
|
|
|
, IconExamples.view "Writing"
|
2019-10-02 02:40:43 +03:00
|
|
|
[ ( "quickWrite", AssignmentIcon.quickWrite )
|
2019-10-01 19:02:06 +03:00
|
|
|
, ( "guidedDraft", AssignmentIcon.guidedDraft )
|
|
|
|
, ( "peerReview", AssignmentIcon.peerReview )
|
|
|
|
, ( "selfReview", AssignmentIcon.selfReview )
|
2019-10-01 03:30:35 +03:00
|
|
|
]
|
2019-10-30 02:24:20 +03:00
|
|
|
, IconExamples.view "Stages"
|
2019-10-02 02:40:43 +03:00
|
|
|
[ ( "submitting", AssignmentIcon.submitting )
|
|
|
|
, ( "rating", AssignmentIcon.rating )
|
|
|
|
, ( "revising", AssignmentIcon.revising )
|
2019-10-01 03:48:08 +03:00
|
|
|
]
|
2019-10-30 03:18:04 +03:00
|
|
|
, IconExamples.view "Start"
|
|
|
|
[ ( "startPrimary", AssignmentIcon.startPrimary )
|
|
|
|
, ( "startSecondary", AssignmentIcon.startSecondary )
|
|
|
|
]
|
2019-10-01 03:30:35 +03:00
|
|
|
]
|
|
|
|
}
|