トレンディログイン

:discourse2: Summary Trendy Login changes the default design of static login page (/login) on login required sites and adds the ability to customize the page content via component settings.
:hammer_and_wrench: Repository Link https://github.com/discourse/discourse-trendy-login
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

Features

Settings

Name Description
bg_image Custom image link for background
bg_color Custom color code for background
bg_gradient_1 First color code for gradient
bg_gradient_2 Second color code for gradient
login_subheader Subheader content, allows HTML markup

:information_source: Note that the settings priority is in this order:

custom_bg_image > custom_bg_color > custom_bg_gradient_1/2.


:discourse2: Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.

Last edited by @NateDhaliwal 2025-02-18T10:27:45Z

Last checked by @tobiaseigen 2025-02-18T14:13:23Z

Check documentPerform check on document:
「いいね!」 54

こんにちは。これはまだ機能しますか?最新の Discourse バージョンでフォーラムで試しましたが、機能しませんでしたか?

はい、最新バージョンで動作しています。

代わりにデフォルトのログインページが表示されますか?コンポーネントはテーマで有効になっていますか?

「いいね!」 1

はい、テーマコンポーネントは有効になっていますが、古いログイン画面が表示されます。

これは古いコメントだと承知していますが、テストサイトで使い始めたばかりなので確認したいです。

静的ログインページを取得するには、login required サイト設定を有効にする必要があります。そうしないと、指摘されたように、コンポーネントを有効にしても、トレンディなログインではなく、ログインモーダルが表示されます。

「いいね!」 2

こんにちは。これを試していますが、ログインページには左側に大きなバーがあります。どうすれば削除できますか?ありがとうございます。

「いいね!」 2

これは意味が通りますか?

「いいね!」 2

はい、確認しました。CSSの追加が原因でした。

.wrap {
    max-width: max-content;
}
「いいね!」 2

申し訳ありませんが、ご質問の意味がわかりません。

プラグインの説明には次のように記載されています。

静的ログインページを取得するには、ログインが必須です。そうしない場合、/login ルートにアクセスするとログインモーダルが表示され、このコンポーネントは無視されます。

「いいね!」 2

なるほど、ありがとうございます。違いを知りませんでした。

「いいね!」 2

PC画面では非常にきれいに表示されるのですが、モバイルでは画像の左側の3分の1しか使用されません。PC画像のアスペクト比が異なることを考慮して、もっと横幅を縮小するように何か設定すべきことはありますか?

PC画面とモバイルで見た目が良くなるようなコンポーネントの使い方について、何かアドバイスをいただけると幸いです。

「いいね!」 1