From 0e045b4c55042c1b2e97c3c7b005f83f96106841 Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Thu, 15 Oct 2020 13:16:45 -0500 Subject: Add support for a message icon --- docs/configuration.md | 1 + public/assets/config.yml.dist | 3 ++- src/components/Message.vue | 7 +++++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 0e5d002..2cdc10e 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -68,6 +68,7 @@ message: # url: "https://" # Can fetch information from an endpoint to override value below. style: "is-warning" title: "Optional message!" + icon: "fa fa-exclamation-triangle" content: "Lorem ipsum dolor sit amet, consectetur adipiscing elit." # Optional navbar diff --git a/public/assets/config.yml.dist b/public/assets/config.yml.dist index 92133d9..85478ec 100644 --- a/public/assets/config.yml.dist +++ b/public/assets/config.yml.dist @@ -42,7 +42,8 @@ colors: message: #url: https://b4bz.io style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. - title: "👋 Demo !" + title: "Demo !" + icon: "fa fa-grin" content: "This is a dummy homepage demo.
Find more information on github.com/bastienwirtz/homer" # Optional navbar diff --git a/src/components/Message.vue b/src/components/Message.vue index d007d3e..5a1e0ea 100644 --- a/src/components/Message.vue +++ b/src/components/Message.vue @@ -1,7 +1,10 @@