diff --git a/app/controllers/static_controller.rb b/app/controllers/static_controller.rb index 5f9b514f1e..0826e303ed 100644 --- a/app/controllers/static_controller.rb +++ b/app/controllers/static_controller.rb @@ -9,10 +9,6 @@ class StaticController < ApplicationController def index end - def no_js - render(layout: "layouts/no_js") - end - private def redirect_if_current_publisher diff --git a/app/views/layouts/no_js.html.slim b/app/views/layouts/no_js.html.slim deleted file mode 100644 index e536d61e37..0000000000 --- a/app/views/layouts/no_js.html.slim +++ /dev/null @@ -1,21 +0,0 @@ -doctype html -html - head - = csrf_meta_tags - meta http-equiv="X-UA-Compatible" content="IE=edge" - meta name="viewport" content="width=device-width, initial-scale=1" - - set_meta_tags(publishers_meta_tags) - = display_meta_tags - = stylesheet_link_tag 'static', media: 'all' - = javascript_pack_tag 'static' - link rel="icon" type="image/png" href=image_path("favicon.ico") - - body data-action=params[:action] data-controller=params[:controller] - - .notifications.navbar-static-top - - if flash[:alert] - .alert.alert-warning.flash= flash[:alert] - - if flash[:notice] - .alert.alert-success.flash= flash[:notice] - - = content_for?(:content) ? yield(:content) : yield diff --git a/app/views/static/index.html b/app/views/static/index.html index e6fd41bbcd..d56ef9897e 100644 --- a/app/views/static/index.html +++ b/app/views/static/index.html @@ -1 +1,62 @@ -
Are you a social media creator interested in monetizing - your content? Verify your site and unlock your contributions!
-Brave Creators lets Brave users contribute tokens to you. Simply follow the steps to register with us.
- new: - header: New to Brave Creators? - body: Start verification by entering your email. - login: - body: Log in to your dashboard. two_factor_authentications: totp: heading: Two-factor Authentication diff --git a/config/locales/ja.yml b/config/locales/ja.yml index c8f7f4ada8..80d293e5b2 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -908,18 +908,6 @@ ja: alert: 現在、検証できませんでした。 詳細を正しく更新したことを確認し、少し待ってからもう一度お試しください。 success: チャンネルの検証が完了しました awaiting_admin_approval: 検証はほぼ完了しています。レビューと最終承認を確認する担当者に通知しました。 - static: - no_js: - welcome: ようこそ - header: Brave Creatorsへ - body_html: | -ウェブサイトをお持ちですか?または YouTubeにチャンネルをお持ちでコンテンツの収益化にご興味がありますか?サイトを認証することで送られた支援を受け取ることができます。
-Brave Creatorsを通じてBraveを使っているユーザからトークンで応援を受け取ることができます。以下の簡単なステップで登録を完了しましょう!たくさんのユーザから支援を受けられる可能性があります。
- new: - header: Brave Creatorsを利用するのははじめてですか? - body: メールを入力して認証を開始します。 - login: - body: ダッシュボードにログインします。 two_factor_authentications: totp: heading: 二要素認証 diff --git a/config/routes.rb b/config/routes.rb index 79b8880c92..7137493532 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -161,7 +161,6 @@ resources :faqs, only: [:index] root "static#index" - get "no_js", controller: "static" get "sign-up", to: "static#index" get "log-in", to: "static#index" diff --git a/public/creators-landing/public/index.html b/public/creators-landing/public/index.html index 88f5436f6e..0f4896fa76 100755 --- a/public/creators-landing/public/index.html +++ b/public/creators-landing/public/index.html @@ -25,9 +25,6 @@ -