mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-26 07:04:33 +03:00
75 lines
2.4 KiB
Elm
75 lines
2.4 KiB
Elm
module Examples.AssignmentIcon exposing (example, State, Msg)
|
|
|
|
{-|
|
|
|
|
@docs example, State, Msg
|
|
|
|
-}
|
|
|
|
import Category exposing (Category(..))
|
|
import Example exposing (Example)
|
|
import Examples.IconExamples as IconExamples
|
|
import Nri.Ui.AssignmentIcon.V1 as AssignmentIcon
|
|
import Nri.Ui.Icon.V5 as Icon
|
|
|
|
|
|
{-| -}
|
|
type alias State =
|
|
()
|
|
|
|
|
|
{-| -}
|
|
type alias Msg =
|
|
()
|
|
|
|
|
|
{-| -}
|
|
example : Example State Msg
|
|
example =
|
|
{ name = "Nri.Ui.AssignmentIcon.V1"
|
|
, categories = [ Icons ]
|
|
, state = ()
|
|
, update = \_ state -> ( state, Cmd.none )
|
|
, subscriptions = \_ -> Sub.none
|
|
, view =
|
|
\_ ->
|
|
[ IconExamples.view "Quiz engine"
|
|
[ ( "diagnostic", AssignmentIcon.diagnostic )
|
|
, ( "practice", AssignmentIcon.practice )
|
|
, ( "quiz", AssignmentIcon.quiz )
|
|
]
|
|
, IconExamples.view "Writing"
|
|
[ ( "quickWrite", AssignmentIcon.quickWrite )
|
|
, ( "guidedDraft", AssignmentIcon.guidedDraft )
|
|
, ( "peerReview", AssignmentIcon.peerReview )
|
|
, ( "selfReview", AssignmentIcon.selfReview )
|
|
]
|
|
, IconExamples.view "Stages"
|
|
[ ( "submitting", AssignmentIcon.submitting )
|
|
, ( "rating", AssignmentIcon.rating )
|
|
, ( "revising", AssignmentIcon.revising )
|
|
]
|
|
, IconExamples.view "Start"
|
|
[ ( "startPrimary", AssignmentIcon.startPrimary )
|
|
, ( "startSecondary", AssignmentIcon.startSecondary )
|
|
]
|
|
, IconExamples.view "Activities"
|
|
[ ( "assessment", AssignmentIcon.assessment )
|
|
, ( "practice2", AssignmentIcon.practice2 )
|
|
, ( "standards", AssignmentIcon.standards )
|
|
, ( "writing", AssignmentIcon.writing )
|
|
]
|
|
, IconExamples.view "Navigate"
|
|
[ ( "assignArrow", AssignmentIcon.assignArrow )
|
|
, ( "home", AssignmentIcon.home )
|
|
, ( "allLibrary", AssignmentIcon.allLibrary )
|
|
]
|
|
, IconExamples.view "Practice & Assessment"
|
|
[ ( "passageQuiz", AssignmentIcon.passageQuiz )
|
|
, ( "planningDiagnostic", AssignmentIcon.planningDiagnostic )
|
|
, ( "quiz2", AssignmentIcon.quiz2 )
|
|
, ( "unitDiagnostic", AssignmentIcon.unitDiagnostic )
|
|
]
|
|
]
|
|
}
|