first commit

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 12:19:53 -04:00
commit 7c8c8b1c76
4586 changed files with 2050693 additions and 0 deletions
@@ -0,0 +1,43 @@
<!-- Modal -->
<div class="modal fade float-custom-modal" id="signupModal" tabindex="-1" role="dialog" aria-labelledby="signupModalLabel" aria-hidden="true">
<div class="modal-dialog nsem-dialog" role="document">
<div class="modal-content nsem-modal-content">
<div class="modal-header nsem-modal-header">
<div class="nsem-header">
<small class="nsem-header-small">FOR FREE</small>
<h5 class="nsem-title">Sign up for Float today</h5>
<p class="nsem-subtitle">See where you can save, get exclusive tips &amp; offers, and live a better life. <br> It's the Float way to go.</p>
</div>
<button type="button" class="close nsem-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body nsem-modal-body">
<button class="nsem-btn-1 d-flex justify-content-center aligns-item-center sign-up-google-btn">
<img src="https://www.float.sg/assets/img/google-icon.png" alt="" width="24px">
<p>Sign Up with Google</p>
</button>
<div class="text-center nsem-body-small-container">
<small class="nsem-body-small">or</small>
</div>
<form class="signup-form validate" data-action="" method="POST">
<?php wp_nonce_field('float_signup_user','float_signup_user_nonce', true, true ); ?>
<div class="form-group">
<input type="text" name="name" class="form-control nsem-form-input" placeholder="Name">
<small class="name-error text-danger form-text"></small>
</div>
<div class="form-group">
<input type="email" name="email" class="form-control nsem-form-input requried email" id="modal-email" placeholder="Email">
<small class="email-error text-danger form-text"></small>
</div>
<div class="text-center">
<button type="submit" class="nsem-btn-2">Sign Up</button>
</div>
</form>
</div>
</div>
</div>
</div>
<!-- success signup modal -->
<?php echo get_template_part('template-parts/components/success-signup-modal'); ?>
@@ -0,0 +1,41 @@
<a href="<?php the_permalink( $blogItem->ID ); ?>">
<div class="square-blog-block-format w-100 h-100 position-relative">
<?php if (!empty(get_post_field('image_link_square_dimension', $blogItem->ID)) && $blockDimension === 'square'): ?>
<div class="post-featured-img" style="background-image: url('<?php echo get_post_field('image_link_square_dimension', $blogItem->ID); ?>');"></div>
<?php elseif (!empty(get_post_field('image_link_horizontal_rectangle_dimension', $blogItem->ID)) && $blockDimension === 'horizontal-rectangle'): ?>
<div class="post-featured-img" style="background-image: url('<?php echo get_post_field('image_link_horizontal_rectangle_dimension', $blogItem->ID); ?>');"></div>
<?php elseif (!empty(get_post_field('image_link_vertical_rectangle_dimension', $blogItem->ID)) && $blockDimension === 'vertical-rectangle'): ?>
<div class="post-featured-img" style="background-image: url('<?php echo get_post_field('image_link_vertical_rectangle_dimension', $blogItem->ID); ?>');"></div>
<?php else: ?>
<?php //if (has_post_thumbnail( $blogItem->ID )) : ?>
<!-- <img class="w-100 h-100" src="<?php echo get_the_post_thumbnail_url( $blogItem->ID, 'full' ); ?>"> -->
<?php //endif; ?>
<?php endif; ?>
<div class="post-title position-absolute <?php echo $titleType == 'expand' ? 'expand-title' : 'short-title' ?>">
<h2 class="font-weight-bold">
<?php echo wp_trim_words( $blogItem->post_title, 10, '...' ); ?>
</h2>
</div>
<div class="post-description position-absolute <?php echo $metaSide == 'right-meta' ? 'right-meta' : 'left-meta' ?>">
<?php if (has_excerpt($blogItem->ID)): ?>
<p><?php echo wp_trim_words( get_the_excerpt( $blogItem->ID), 20, '...' ); ?></p>
<?php else: ?>
<p><?php echo wp_trim_words( get_post_field('post_content', $blogItem->ID), 20, '...' ); ?></p>
<?php endif; ?>
</div>
<div class="post-meta position-absolute <?php echo $metaSide == 'right-meta' ? 'right-meta' : 'left-meta' ?>">
<span class="post-date">
<i class="far fa-eye"></i>
<?php echo get_the_date( 'M j, Y', $blogItem->ID ); ?>
</span>
<span class="ml-3">
<i class="far fa-comment"></i> 0
</span>
<span class="ml-3">
<i class="far fa-heart"></i> 0
</span>
</div>
</div>
</a>
@@ -0,0 +1,18 @@
<!-- Modal -->
<div class="modal fade" id="successSignupModal" tabindex="-1" role="dialog" aria-labelledby="successSignupModalLabel" aria-hidden="true">
<div class="modal-dialog nssm-dialog" role="document">
<div class="modal-content nssm-modal-content">
<div class="modal-header nssm-modal-header">
<a href="/"><img src="https://www.float.sg/assets/img/float-travel-app-logo.png" alt="" width="118px"></a>
<button type="button" class="close nssm-close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body nssm-body">
<small class="nssm-small">Thanks for signing up!</small>
<h5 class="nssm-title">Now you are ready to start your journey with Float. Download the app to get started, and start earning Float Points today.</h5>
<p class="nssm-text">We sent you an email to help get you started with simple next steps. If you didnt receive the email or have problems setting up your account, please <a href="#" class="nssm-custom-link">contact us.</a></p>
</div>
</div>
</div>
</div>