Browse code

Add empty spell and item lists

Joseph Weston authored on 05/12/2021 03:59:19
Showing 2 changed files
... ...
@@ -132,6 +132,12 @@
132 132
     [:ol.clauses>li {:margin-top :0.8rem}]
133 133
     [:p :li {:font-size :0.8rem :line-height :0.9rem}])
134 134
 
135
+(defclass spell-list-panel []
136
+    {})
137
+
138
+(defclass item-list-panel []
139
+    {})
140
+
135 141
 (defclass error-message []
136 142
     {:background-color (colorscheme :faded-red)
137 143
      :color (colorscheme :light0-hard)}
... ...
@@ -188,6 +188,12 @@
188 188
        (cost weapon))
189 189
     (license-notice weapon)]))
190 190
 
191
+(defn spell-list-panel [_]
192
+  [:article {:class (styles/spell-list-panel)}])
193
+
194
+(defn item-list-panel [_]
195
+    [:article {:class (styles/item-list-panel)}])
196
+
191 197
 (defn error-message
192 198
     [{e :err}]
193 199
     [:div {:class (styles/error-message)} e])