Skip to content

Commit

Permalink
Sign in with google
Browse files Browse the repository at this point in the history
  • Loading branch information
koechkevin committed Nov 16, 2023
1 parent a99ed64 commit be4f165
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
8 changes: 7 additions & 1 deletion wp-content/themes/academyAfrica/assets/css/dist/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ label {
font-size: 18px;
transition: transform $base-duration ease;
z-index: 11;
top: -30px;
top: -15px;
}

header {
Expand Down Expand Up @@ -154,6 +154,12 @@ label {
line-height: 24px;
}
}
.social-login {
margin-top: 22px;
ul {
margin: 0;
}
}
.content-divider {
display: flex;
width: 100%;
Expand Down
2 changes: 1 addition & 1 deletion wp-content/themes/academyAfrica/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function child_theme_configurator_css()

function my_theme_enqueue_styles()
{
wp_enqueue_style('child-style', get_stylesheet_directory_uri() . '/assets/css/dist/main.css', array('hello-elementor', 'hello-elementor', 'hello-elementor-theme-style'), '6.3.3');
wp_enqueue_style('child-style', get_stylesheet_directory_uri() . '/assets/css/dist/main.css', array('hello-elementor', 'hello-elementor', 'hello-elementor-theme-style'), '6.3.4');
}

add_action('wp_enqueue_scripts', 'my_theme_enqueue_styles');
Expand Down
10 changes: 3 additions & 7 deletions wp-content/themes/academyAfrica/template-parts/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
<p class="subtitle">
Sign up to access all the features on academy.AFRICA
</p>
<!-- <div class="google">
<img src="/wp-content/themes/academyAfrica/assets/images/icons/google.svg" alt="">
<button class="sign-in-with-google">
Sign in with Google
</button>
</div> -->
<? echo do_shortcode('[TheChamp-Login]') ?>
<div class="social-login">
<?php echo do_shortcode('[TheChamp-Login show_username="ON" style="height:40px; width: 100%"]') ?>
</div>
<div class="content-divider">
<div></div><span>or</span>
<div></div>
Expand Down
7 changes: 2 additions & 5 deletions wp-content/themes/academyAfrica/template-parts/register.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@
<p class="subtitle">
Sign up to access all the features on academy.AFRICA
</p>
<div class="google">
<img src="/wp-content/themes/academyAfrica/assets/images/icons/google.svg" alt="">
<button class="sign-in-with-google">
Sign in with Google
</button>
<div class="social-login">
<?php echo do_shortcode('[TheChamp-Login show_username="ON" style="height:40px; width: 100%"]') ?>
</div>
<div class="content-divider">
<div></div><span>or</span>
Expand Down

0 comments on commit be4f165

Please sign in to comment.