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 @@ -Earn more for content you publish to the web - Brave Creators
Brave
\ No newline at end of file + + + + + + + + + Earn more for content you publish to the web - Brave Creators + + + + + + + + + + +
+
+ + + Brave +
+
+ + + diff --git a/app/views/static/no_js.html.slim b/app/views/static/no_js.html.slim deleted file mode 100644 index d0c9316b28..0000000000 --- a/app/views/static/no_js.html.slim +++ /dev/null @@ -1,30 +0,0 @@ -#content.container - .row.center-things - .col.col-md-6.col-xs-12.col-centered.col-left - .content-section-left - .logo - =render("application/logo_white_svg") - .main-heading - h2.welcome= t ".welcome" - h1= t ".header" - = t ".body_html" - .col.col-md-6.col-xs-12.col-centered.col-right - .content-section-right - .signup-panel - h3.section-header= t ".new.header" - p= t ".new.body" - .row.form-row - .col.col-xs-12.col-sm-12 - = link_to(t("shared.get_started"), sign_up_publishers_path, class: "btn btn-block btn-primary") - .col.col-xs-12.col-sm-4.button-column - = link_to(t("shared.log_in"), log_in_publishers_path, class: "btn btn-block btn-secondary") - hr.divider - .row - .col.col-xs-12.col-sm-12 - .tos-faq - - if show_faq_link? - span= link_to(t("shared.faqs"), faqs_path) - span.link-separator= " | " - span= link_to(t("shared.terms_of_service"), "https://basicattentiontoken.org/publisher-terms-of-service/") - - diff --git a/config/locales/en.yml b/config/locales/en.yml index a3bc5ac019..06023b5244 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -972,19 +972,6 @@ en: alert: Could not verify at this moment. Please check you've updated details correctly, wait a bit and try again. success: Channel verified! awaiting_admin_approval: Verification is almost complete! We've notified an admin who will review and finalize your channel. - static: - no_js: - welcome: Welcome to - header: Brave Creators - body_html: | -

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 @@ -