switch themify for fa

This commit is contained in:
2022-05-27 18:07:35 +02:00
parent 3a9b6c7486
commit f703319e71
22 changed files with 62 additions and 70 deletions

View File

@ -214,7 +214,7 @@ collections:
fields:
- {label: "Bezeichnung", name: "title", widget: "string"}
- {label: "Symbol", name: "icon", widget: "string"}
- {label: "Link", name: "link", widget: "string", hint: "Liste unter https://themify.me/themify-icons"}
- {label: "Link", name: "link", widget: "string", hint: "Liste unter https://fontawesome.com/search"}
- label: "Menü"
name: "menu"
widget: "object"
@ -401,22 +401,16 @@ collections:
name: "icon"
widget: "select"
options:
- { label: "Flickr", value: "ti-flickr" }
- { label: "Tumblr", value: "ti-tumblr" }
- { label: "YouTube", value: "ti-youtube" }
- { label: "Twitter", value: "ti-twitter-alt" }
- { label: "Pinterest", value: "ti-pinterest" }
- { label: "GitHub", value: "ti-github" }
- { label: "StackOverflow", value: "ti-stack-overflow" }
- { label: "Vimeo", value: "ti-vimeo" }
- { label: "Instagram", value: "ti-instagram" }
- { label: "Facebook", value: "ti-facebook" }
- { label: "SoundCloud", value: "ti-soundcloud" }
- { label: "Reddit", value: "ti-reddit" }
- { label: "Skype", value: "ti-skype" }
- { label: "LinkedIn", value: "ti-linkedin" }
- { label: "E-Mail", value: "ti-email" }
- { label: "Sonstige", value: "ti-sharethis" }
- { label: "YouTube", value: "fa-brands fa-youtube" }
- { label: "Twitter", value: "fa-brands fs-twitter" }
- { label: "Pinterest", value: "fa-brands fa-pinterest" }
- { label: "GitHub", value: "fa-brands fa-github" }
- { label: "GitLab", value: "fa-brands fa-gitlab" }
- { label: "Vimeo", value: "fa-brands fa-vimeo" }
- { label: "Instagram", value: "fa-brands fa-instagram" }
- { label: "Facebook", value: "fa-brands fa-facebook" }
- { label: "E-Mail", value: "fa-solid fa-at" }
- { label: "Sonstige", value: "fa-solid fa-share-nodes" }
- {label: "Link", name: "link", widget: "string"}
required: false
- {label: "Beschreibung", name: "body", widget: "markdown"}
@ -513,7 +507,7 @@ collections:
widget: "list"
fields:
- {label: "Name/Adresse/Telefonnummer", name: "name", widget: "string"}
- {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://themify.me/themify-icons"}
- {label: "Symbol", name: "icon", widget: "string", hint: "Symbolname von https://fontawesome.com/search"}
- {label: "Link", name: "link", widget: "string"}
- {label: "Type", name: "type", widget: "hidden", default: "cantorpreis"}
- {label: "Text", name: "body", widget: "markdown"}

View File

@ -224,7 +224,7 @@ CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/bootstrap/boots
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/slick/slick.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/animate/animate.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/venobox/venobox.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/themify-icons/themify-icons.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/fontawesome/css/all.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/plugins/fira/fira.css");
CMS.registerPreviewStyle("https://neu.cantorgymnasium.de/scss/style.css");
</script>
@ -245,7 +245,7 @@ var PostPreview = createClass({
h('li', {"className": "list-inline-item h1"},
h('a', {"className": "text-primary font-secondary", href: ""}, "Schulchronik")),
h('li', {"className": "list-inline-item ha"},
h("i", {"className": "ti-angle-right text-white"})),
h("i", {"className": "fa-solid fa-angle-right text-white"})),
h('li', {"className": "list-inline-item text-white h1 font-secondary"}, entry.getIn(['data', 'title']))
)
)
@ -283,7 +283,7 @@ var PostPreviewContent = createClass({
h('li', {"className": "list-inline-item h1"},
h('a', {"className": "text-primary font-secondary", href: ""}, "Schulchronik")),
h('li', {"className": "list-inline-item ha"},
h("i", {"className": "ti-angle-right text-white"})),
h("i", {"className": "fa-solid fa-angle-right text-white"})),
h('li', {"className": "list-inline-item text-white h1 font-secondary"}, entry.getIn(['data', 'title']))
)
)
@ -326,7 +326,7 @@ var EventPreview = createClass({
h('a', {"className": "text-primary font-secondary", href: ""}, "Startseite")
),
h('li', {"className": "list-inline-item ha"},
h("i", {"className": "ti-angle-right text-white"})
h("i", {"className": "fa-solid fa-angle-right text-white"})
),
h('li', {"className": "list-inline-item text-white h1 font-secondary"}, entry.getIn(['data', 'title'])
)
@ -353,7 +353,7 @@ var EventPreview = createClass({
),
h('div', {"className": "d-md-table-cell text-right pr-0 pr-md-4"},
h('p', {},
h('i', {"className": "ti-location-pin text-primary mr-2"}),
h('i', {"className": "fa-solid fa-location-dot text-primary mr-2"}),
event.getIn(['data', 'location'])
)
)
@ -390,7 +390,7 @@ var PagePreview = createClass({
h('a', {"className": "text-primary font-secondary", href: ""}, "Startseite")
),
h('li', {"className": "list-inline-item ha"},
h("i", {"className": "ti-angle-right text-white"})
h("i", {"className": "fa-solid fa-angle-right text-white"})
),
h('li', {"className": "list-inline-item text-white h1 font-secondary"}, entry.getIn(['data', 'title'])
)
@ -431,7 +431,7 @@ var PagePreviewImage = createClass({
h('a', {"className": "text-primary font-secondary", href: ""}, "Startseite")
),
h('li', {"className": "list-inline-item ha"},
h("i", {"className": "ti-angle-right text-white"})
h("i", {"className": "fa-solid fa-angle-right text-white"})
),
h('li', {"className": "list-inline-item text-white h1 font-secondary"}, entry.getIn(['data', 'title'])
)