shuzo-kino.hateblo.jp
の続きで、今度は文字列や会社ロゴを出してみます。
実際のところ
巷ではJavascipt系の凄いアプリがあるそうですが、私はWEB原始人なのでそうったハイカラなものは使いたくありません。
幸い、TextウィジェットのHTMLモードをつかうと以下のように簡単に読み込みできます
<div style="display: flex; justify-content: center; align-items: center; height: 100%;"> <img src="path/to/your/logo.png" alt="Company Logo" style="max-width: 100%; max-height: 100%; object-fit: contain;"> </div>
テキストは、単純に「テキストモード」か「Markdownモード」が使えます。