mirror of
https://github.com/penpot/penpot.git
synced 2025-05-12 03:56:37 +02:00
🎉 Add flex layout playground template to the dashboard carousel
This commit is contained in:
parent
6eaa905f0c
commit
f174264f7f
5 changed files with 8 additions and 14 deletions
|
@ -423,9 +423,9 @@
|
|||
{::doc/added "1.10"
|
||||
::doc/deprecated "1.19"}
|
||||
[cfg _params]
|
||||
(mapv #(select-keys % [:id :name :thumbnail-uri]) (::setup/templates cfg)))
|
||||
(mapv #(select-keys % [:id :name]) (::setup/templates cfg)))
|
||||
|
||||
(sv/defmethod ::get-builtin-templates
|
||||
{::doc/added "1.19"}
|
||||
[cfg _params]
|
||||
(mapv #(select-keys % [:id :name :thumbnail-uri]) (::setup/templates cfg)))
|
||||
(mapv #(select-keys % [:id :name]) (::setup/templates cfg)))
|
||||
|
|
|
@ -23,7 +23,6 @@
|
|||
[:map {:title "Template"}
|
||||
[:id ::sm/word-string]
|
||||
[:name ::sm/word-string]
|
||||
[:thumbnail-uri ::sm/word-string]
|
||||
[:file-uri ::sm/word-string]])
|
||||
|
||||
(def ^:private schema:templates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue