diff --git a/assets/scripts/custom-signup.js b/assets/scripts/custom-signup.js index cdecaa4..a8c5e47 100644 --- a/assets/scripts/custom-signup.js +++ b/assets/scripts/custom-signup.js @@ -2,11 +2,11 @@ import Typed from 'typed.js'; document.addEventListener( 'DOMContentLoaded', function () { let options = { - strings: [ 'open textbook', 'scholarly monograph', 'world-changing manifesto', 'graduate thesis', 'reference guide', 'essay collection', 'student portfolio', 'novel', 'position paper', 'handbook', 'magnum opus', 'research report', 'daybook', 'collected works' ], + strings: [ 'open textbook', 'scholarly monograph', 'thesis', 'reference guide', 'essay collection', 'student portfolio', 'position paper', 'training manual', 'research report', 'collected works' ], typeSpeed: 80, backSpeed: 40, backDelay: 400, - loop: true, + loop: false, }; new Typed( '#typed', options ); diff --git a/page-auth.php b/page-auth.php index fe3087a..016d77c 100644 --- a/page-auth.php +++ b/page-auth.php @@ -27,16 +27,16 @@ if ( $action === 'signup' ) { $invite_cta = esc_html__( 'Already have an account?', 'pressbooks-aldine' ); $invite_cta_link = home_url() . '/auth/?action=signin'; $invite_cta_link_text = esc_html__( 'Sign in', 'pressbooks-aldine' ); - $sign_action = esc_html__( 'Or sign up with one of the following', 'pressbooks-aldine' ); + $sign_action = esc_html__( 'Or sign up with:', 'pressbooks-aldine' ); } else { $main_title = esc_html__( 'Welcome back!', 'pressbooks-aldine' ); - $title = esc_html__( 'Sign in to your existing account', 'pressbooks-aldine' ); + $title = esc_html__( 'Sign in', 'pressbooks-aldine' ); $url = home_url() . '/auth/?action=signin'; $button_cta = esc_html__( 'Sign in', 'pressbooks-aldine' ); $invite_cta = esc_html__( 'Don\'t have an account?', 'pressbooks-aldine' ); $invite_cta_link = home_url() . '/auth/?action=signup'; $invite_cta_link_text = esc_html__( 'Register here', 'pressbooks-aldine' ); - $sign_action = esc_html__( 'Or sign in with one of the following', 'pressbooks-aldine' ); + $sign_action = esc_html__( 'Or sign in with:', 'pressbooks-aldine' ); } // Implement this hook to process the form. @@ -142,7 +142,7 @@ $result = apply_filters( 'pb_custom_signup_message', [] ); -

+