0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 00:40:30 -05:00
penpot/frontend/uxbox/ui/library_bar.cljs

85 lines
2.2 KiB
Text
Raw Normal View History

2015-12-15 16:56:03 -05:00
(ns uxbox.ui.library-bar
(:require [sablono.core :as html :refer-macros [html]]
[rum.core :as rum]
[uxbox.util :as util]
[uxbox.ui.icons :as i]))
(defn library-bar-render
[own]
(html
[:div.library-bar
[:div.library-bar-inside
[:ul.library-tabs
[:li "STANDARD"]
2015-12-16 04:15:16 -05:00
[:li.current "YOUR LIBRARIES"]
2015-12-15 16:56:03 -05:00
]
[:ul.library-elements
[:li
[:a.btn-primary {:href "#"} "+ New library"]
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 1"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 2"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 3"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 4"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 5"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 6"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 7"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 8"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 9"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 10"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 11"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 12"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 13"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
[:li
2015-12-16 04:15:16 -05:00
[:span.element-title "Library 14"]
[:span.element-subtitle "21 elements"]
2015-12-15 16:56:03 -05:00
]
]
]
]))
(def ^:static library-bar
(util/component
{:render library-bar-render
:name "library-bar"
:mixins [rum/static]}))