From 2d3c6c05e1460af3e377d7aa7112d04d4e6a0975 Mon Sep 17 00:00:00 2001
From: Zainab Amir <zainab.amir@arbisoft.com>
Date: Mon, 7 Dec 2020 18:41:55 +0500
Subject: [PATCH] Update page title to H1 (#25783)

Rebrand related work for:
- VAN-160
- VAN-186
---
 .../student_account/components/PasswordResetConfirmation.jsx  | 4 ++--
 lms/static/sass/views/_login-register.scss                    | 3 ++-
 lms/templates/student_account/login.underscore                | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/lms/static/js/student_account/components/PasswordResetConfirmation.jsx b/lms/static/js/student_account/components/PasswordResetConfirmation.jsx
index f4a26a1ef58..24053ee689e 100644
--- a/lms/static/js/student_account/components/PasswordResetConfirmation.jsx
+++ b/lms/static/js/student_account/components/PasswordResetConfirmation.jsx
@@ -83,11 +83,11 @@ class PasswordResetConfirmation extends React.Component {
           />
 
           <form id="passwordreset-form" method="post" action="">
-            <h2 className="section-title lines">
+            <h1 className="section-title">
               <span className="text">
                 {this.props.formTitle}
               </span>
-            </h2>
+            </h1>
 
             <p className="action-label" id="new_password_help_text">
               {gettext('Enter and confirm your new password.')}
diff --git a/lms/static/sass/views/_login-register.scss b/lms/static/sass/views/_login-register.scss
index 7e2a0a65c87..2e611a3dee1 100644
--- a/lms/static/sass/views/_login-register.scss
+++ b/lms/static/sass/views/_login-register.scss
@@ -69,13 +69,14 @@
   -webkit-flex-wrap: wrap;
   -moz-flex-wrap: wrap;
 
-  h2 {
+  h1 {
     @extend %t-title4;
 
     margin-top: $baseline;
     letter-spacing: normal;
     font-family: $font-family-sans-serif;
     color: $uxpl-blue-hover-active;
+    text-align: left;
   }
 
   h3 {
diff --git a/lms/templates/student_account/login.underscore b/lms/templates/student_account/login.underscore
index 58023fd5d59..a04c9a32c66 100644
--- a/lms/templates/student_account/login.underscore
+++ b/lms/templates/student_account/login.underscore
@@ -24,7 +24,7 @@
     </p>
     <p><%- gettext("To continue learning with this account, sign in below.") %></p>
 <% } else { %>
-    <h2><%- gettext("Sign In") %></h2>
+    <h1><%- gettext("Sign In") %></h1>
 <% } %>
 
 <form id="login" class="login-form" tabindex="-1" method="POST">
-- 
GitLab