first commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
<div class="store-wrapper">
|
||||
<p><strong>Download</strong> the Float app now.</p>
|
||||
<div class="download-btn-group">
|
||||
<a class="icon" href="https://smart.link/afcjz898yquo8" target="_blank">
|
||||
<img src="<?php echo get_stylesheet_directory_uri() . '/images/google.svg'; ?>" alt="google-img" />
|
||||
</a>
|
||||
<a class="icon" href="https://smart.link/afcjz898yquo8" target="_blank">
|
||||
<img src="<?php echo get_stylesheet_directory_uri() . '/images/apple.svg'; ?>" alt="apple-img" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<footer id="footer">
|
||||
<div class="copyright text-center m-auto pt-3">
|
||||
© <?php echo date('Y') ?> Float. All rights reserved
|
||||
</div>
|
||||
</footer>
|
||||
</div> <!-- end #container -->
|
||||
|
||||
<!-- Get current location -->
|
||||
<?php
|
||||
// $current_geo = geoip_detect2_get_info_from_current_ip(NULL, []);
|
||||
// $current_country = $current_geo->country->isoCode;
|
||||
$location = get_user_location();
|
||||
$current_country = $location['country_code'];
|
||||
?>
|
||||
|
||||
<!-- signup modal -->
|
||||
<?php echo get_template_part('template-parts/components/signup-modal'); ?>
|
||||
|
||||
<?php wp_footer(); ?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
const countryCode = '<?php echo $current_country ?>';
|
||||
window.countryCode = countryCode;
|
||||
console.log('countryCode: ', countryCode);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user