<?php
$google_client_id = $this->social_auth->get('google')['client_id'];
?>
<div class="social-login-area text-center mb-4">
    <?php if (!empty($google_client_id)): ?>
        <script src="https://accounts.google.com/gsi/client" async defer></script>
        <a href="javascript:void(0);" id="custom-google-login-btn"
            class="btn btn-google-login w-100 d-flex justify-content-center align-items-center">
            <img src="<?= asset_url('assets/frontend/images/google-color.svg') ?>" alt="Google" class="google-icon mr-2"
                width="20">
            <?= __('sign_in_with_google'); ?>
        </a>
    </div>
<?php endif; ?>