onasty/web/src/Components/Note.elm(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
module Components.Note exposing (noteIconSvg, noteNotFoundSvg, warningSvg)
import Svg exposing (Svg)
import Svg.Attributes as A
noteIconSvg : Svg msg
noteIconSvg =
Svg.svg
[ A.class "w-8 h-8 text-gray-400"
, A.fill "none"
, A.stroke "currentColor"
, A.viewBox "0 0 24 24"
]
[ Svg.path
[ A.d "M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
, A.strokeWidth "2"
, A.strokeLinecap "round"
, A.strokeLinejoin "round"
]
[]
]
noteNotFoundSvg : Svg msg
noteNotFoundSvg =
Svg.svg
[ A.class "w-8 h-8 text-red-500"
, A.fill "none"
, A.stroke "currentColor"
, A.viewBox "0 0 24 24"
]
[ Svg.path
[ A.d "M9.172 16.172a4 4 0 015.656 0M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
, A.strokeWidth "2"
, A.strokeLinecap "round"
, A.strokeLinejoin "round"
]
[]
, Svg.path
[ A.d "M6 18L18 6M6 6l12 12"
, A.strokeWidth "2"
, A.strokeLinecap "round"
, A.strokeLinejoin "round"
]
[]
]
warningSvg : Svg msg
warningSvg =
Svg.svg
[ A.class "w-4 h-4 text-orange-600"
, A.fill "none"
, A.stroke "currentColor"
, A.viewBox "0 0 24 24"
]
[ Svg.path
[ A.d "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.732-.833-2.464 0L4.35 16.5c-.77.833.192 2.5 1.732 2.5z"
, A.strokeWidth "2"
, A.strokeLinecap "round"
, A.strokeLinejoin "round"
]
[]
]
|