Remove all plugins / install base theme
1
wp/wp-content/themes/medicalalert/.gitignore
vendored
@@ -1 +0,0 @@
|
||||
node_modules/
|
||||
@@ -1,30 +0,0 @@
|
||||
<?php
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<section class="hero-slice-container d-flex justify-content-start align-content-center d-none d-lg-flex" style="background-image: url('/wp-content/uploads/2023/09/Lifeline-Mobile-App-Hero-1920x880-1.jpg');">
|
||||
<div class="container hero-wrapper my-auto">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-lg-6">
|
||||
<h1 class="mb-4 hero-title">Page Not Found</h1>
|
||||
<h2 class="mb-4 hero-title">Sorry, the page you are looking for cannot be found.</h2>
|
||||
<p class="mb-4 hero-copy">The link you followed may be broken or the page may have been removed.</p>
|
||||
<p class="mb-4 hero-copy">Need further assistance? Visit our <a href="/contact-us/" class="error-link">Contact Us</a> page or call us at <a class="error-link" href="tel:<?php echo do_shortcode('[op]'); ?>"><?php echo do_shortcode('[op]'); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="hero-slice-container d-flex justify-content-start align-content-center flex-wrap d-lg-none padding-top-none padding-bottom-none">
|
||||
<div class="container hero-wrapper my-auto">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-lg-6">
|
||||
<h1 class="mb-4 hero-title">Page Not Found</h1>
|
||||
<h2 class="mb-4 hero-title">Sorry, the page you are looking for cannot be found.</h2>
|
||||
<p class="mb-4 hero-copy">The link you followed may be broken or the page may have been removed.</p>
|
||||
<p class="mb-4 hero-copy">Need further assistance? Visit our <a href="/contact-us/" class="error-link">Contact Us</a> page or call us at <a class="error-link" href="tel:<?php echo do_shortcode('[op]'); ?>"><?php echo do_shortcode('[op]'); ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer();
|
||||
@@ -1,21 +0,0 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Open Function Computers, LLC
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -1,46 +0,0 @@
|
||||
# Starter Theme
|
||||
<a href="https://github.com/open-function-computers-llc/better-wordpress">
|
||||
<img width="250" align="right" src="https://better-wordpress.ofco.cloud/images/branding/bw.png">
|
||||
</a>
|
||||
|
||||
This repository contains the files that `composer create` will download into your new __[better-wordpress](https://github.com/open-function-computers-llc/better-wordpress)__ theme.
|
||||
|
||||
📦 [View on Packagist](https://packagist.org/packages/open-function-computers-llc/better-wordpress) <br>
|
||||
📃 [Read the Docs](https://better-wordpress.ofco.cloud/)
|
||||
|
||||
<br>
|
||||
|
||||
## Usage
|
||||
|
||||
Inside of your site's `wp-content/themes`, run the following command:
|
||||
|
||||
```
|
||||
composer create-project open-function-computers-llc/wp-theme <theme-name>
|
||||
```
|
||||
|
||||
Then enter your new theme's directory and get dependancies:
|
||||
|
||||
```
|
||||
cd <theme-name>
|
||||
npm install
|
||||
```
|
||||
|
||||
And that's it! Read about what to do next on [the docs](https://better-wordpress.ofco.cloud/).
|
||||
|
||||
<br>
|
||||
|
||||
## Security notes
|
||||
|
||||
The /vendor directory is blocked from public access by Apache by the included .htaccess file.
|
||||
If you're using NGINX, you can add this to your virtual host
|
||||
|
||||
```
|
||||
location ^~ /vendor/ {
|
||||
deny all;
|
||||
return 403;
|
||||
}
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the MIT license, see [LICENSE](https://github.com/open-function-computers-llc/wp-theme/blob/main/LICENSE).
|
||||
@@ -1,139 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: post Page
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
get_header();
|
||||
$featured_post = get_field('featured_post');
|
||||
$company_logo = get_field('company_logo', 'option');
|
||||
?>
|
||||
|
||||
<section class="all-posts-container">
|
||||
<div class="container">
|
||||
<h1 class="mt-5">The Lifeline Blog</h1>
|
||||
<div class="featured-post" style="margin-top: 2rem;">
|
||||
<?php if( $featured_post ) : ?>
|
||||
<div class="col">
|
||||
<div class="d-flex justify-content-center align-items-center featured-img">
|
||||
<?php
|
||||
$featured_image_id = get_post_thumbnail_id($featured_post->ID);
|
||||
$featured_image = wp_get_attachment_image_src($featured_image_id,'full', false, '');
|
||||
$featured_alt_text = get_post_meta($featured_image_id,'_wp_attachment_image_alt', true);
|
||||
?>
|
||||
|
||||
<?php if( !empty( $featured_image ) ) : ?>
|
||||
<img class="img-fluid" src="<?php echo $featured_image[0]; ?>" alt="<?php echo $featured_alt_text; ?>" />
|
||||
<?php else : ?>
|
||||
<div class="d-flex justify-content-center align-items-center img-placeholder">
|
||||
<img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="<?php echo $company_logo['alt'] ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="featured-post-content">
|
||||
<a href="<?php echo get_permalink( $featured_post->ID ); ?>">
|
||||
<h4><?php echo esc_html( $featured_post->post_title ); ?></h4>
|
||||
</a>
|
||||
<p><?php echo custom_excerpt($featured_post->post_content); ?></p>
|
||||
<a class="featured-post-link" href="<?php echo get_permalink( $featured_post->ID ); ?>">Read More</a>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="post-list">
|
||||
<?php
|
||||
$paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;
|
||||
$args_post = array(
|
||||
'post_type' => 'post',
|
||||
'posts_per_page' => 10,
|
||||
'paged' => $paged
|
||||
);
|
||||
$the_query = new WP_Query( $args_post );
|
||||
?>
|
||||
|
||||
<?php if ( $the_query->have_posts() ) : ?>
|
||||
|
||||
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
|
||||
<div class="row d-flex justify-content-center align-items-center gy-5 post-item">
|
||||
<div class="col-12 col-lg-4">
|
||||
<div class="post-img">
|
||||
<?php
|
||||
$image_id = get_post_thumbnail_id( $post->ID, 'medium' );
|
||||
$alt_text = get_post_meta( $image_id , '_wp_attachment_image_alt', true );
|
||||
?>
|
||||
<?php if( !empty(get_the_post_thumbnail()) ) : ?>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<img class="img-fluid" src="<?php echo the_post_thumbnail_url( $image_id, 'medium' ); ?>" alt="<?php echo $alt_text; ?>" />
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<div class="d-flex justify-content-center align-items-center img-placeholder">
|
||||
<img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="<?php echo $company_logo['alt'] ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-6">
|
||||
<div class="post-content">
|
||||
<small><?php the_time('F jS, Y') ?></small>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<h4><?php echo the_title(); ?></h4>
|
||||
</a>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="row py-4 d-flex justify-content-center post-pagination">
|
||||
<div class="col-6">
|
||||
<h4 class="button--primary text-center"><?php next_posts_link( '< Previous', $the_query->max_num_pages ); ?></h4>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<h4 class="button--primary text-center"><?php previous_posts_link( 'Next >' ); ?></h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php wp_reset_postdata(); ?>
|
||||
|
||||
<?php else: ?>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h4 class="text-center"><?php _e( 'Sorry, no posts matched your criteria.' ); ?></h4>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Category section BEGIN -->
|
||||
<section class="container my-4 post-categories-container">
|
||||
<?php
|
||||
$category_name = $category->name;
|
||||
$categories = get_categories( array(
|
||||
'taxonomy' => 'category',
|
||||
'orderby' => 'name',
|
||||
'parent' => 0,
|
||||
'hide_empty' => 0,
|
||||
) );
|
||||
?>
|
||||
<div class="row mb-2">
|
||||
<div class="col">
|
||||
<h3 class="category-title">Explore more topics</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row post-category-list">
|
||||
<?php foreach($categories as $category) {
|
||||
$category_name = $category->name;
|
||||
if( strtolower( $category_name ) != 'uncategorized' ) { ?>
|
||||
<div class="col-12 col-md-4">
|
||||
<h4 class="category-item"><a href="<?php echo esc_url( get_category_link( $category->term_id ) ); ?>"><?php echo $category->name; ?></a></h4>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Category section END -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
Before Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 822 KiB |
|
Before Width: | Height: | Size: 2.3 MiB |
|
Before Width: | Height: | Size: 373 KiB |
|
Before Width: | Height: | Size: 459 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 262 KiB |
|
Before Width: | Height: | Size: 191 KiB |
|
Before Width: | Height: | Size: 263 KiB |
|
Before Width: | Height: | Size: 620 KiB |
|
Before Width: | Height: | Size: 289 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 294 KiB |
|
Before Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 287 KiB |
|
Before Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
@@ -1,3 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-circle-fill" viewBox="0 0 16 16">
|
||||
<circle cx="8" cy="8" r="8" id="slider-dot"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 184 B |
@@ -1,79 +0,0 @@
|
||||
<?php
|
||||
// bootstrap 5 wp_nav_menu walker
|
||||
class bootstrap_5_wp_nav_menu_walker extends Walker_Nav_menu
|
||||
{
|
||||
private $current_item;
|
||||
private $dropdown_menu_alignment_values = [
|
||||
'dropdown-menu-start',
|
||||
'dropdown-menu-end',
|
||||
'dropdown-menu-sm-start',
|
||||
'dropdown-menu-sm-end',
|
||||
'dropdown-menu-md-start',
|
||||
'dropdown-menu-md-end',
|
||||
'dropdown-menu-lg-start',
|
||||
'dropdown-menu-lg-end',
|
||||
'dropdown-menu-xl-start',
|
||||
'dropdown-menu-xl-end',
|
||||
'dropdown-menu-xxl-start',
|
||||
'dropdown-menu-xxl-end'
|
||||
];
|
||||
|
||||
function start_lvl(&$output, $depth = 0, $args = null)
|
||||
{
|
||||
$dropdown_menu_class[] = '';
|
||||
foreach($this->current_item->classes as $class) {
|
||||
if(in_array($class, $this->dropdown_menu_alignment_values)) {
|
||||
$dropdown_menu_class[] = $class;
|
||||
}
|
||||
}
|
||||
$indent = str_repeat("\t", $depth);
|
||||
$submenu = ($depth > 0) ? ' sub-menu' : '';
|
||||
$output .= "\n$indent<ul class=\"dropdown-menu$submenu " . esc_attr(implode(" ",$dropdown_menu_class)) . " depth_$depth\">\n";
|
||||
}
|
||||
|
||||
function start_el(&$output, $item, $depth = 0, $args = null, $id = 0)
|
||||
{
|
||||
$this->current_item = $item;
|
||||
|
||||
$indent = ($depth) ? str_repeat("\t", $depth) : '';
|
||||
|
||||
$li_attributes = '';
|
||||
$class_names = $value = '';
|
||||
|
||||
$classes = empty($item->classes) ? array() : (array) $item->classes;
|
||||
|
||||
$classes[] = ($args->walker->has_children) ? 'dropdown' : '';
|
||||
$classes[] = 'nav-item';
|
||||
$classes[] = 'nav-item-' . $item->ID;
|
||||
if ($depth && $args->walker->has_children) {
|
||||
$classes[] = 'dropdown-menu dropdown-menu-end';
|
||||
}
|
||||
|
||||
$class_names = join(' ', apply_filters('nav_menu_css_class', array_filter($classes), $item, $args));
|
||||
$class_names = ' class="' . esc_attr($class_names) . '"';
|
||||
|
||||
$id = apply_filters('nav_menu_item_id', 'menu-item-' . $item->ID, $item, $args);
|
||||
$id = strlen($id) ? ' id="' . esc_attr($id) . '"' : '';
|
||||
|
||||
$output .= $indent . '<li ' . $id . $value . $class_names . $li_attributes . '>';
|
||||
|
||||
$attributes = !empty($item->attr_title) ? ' title="' . esc_attr($item->attr_title) . '"' : '';
|
||||
$attributes .= !empty($item->target) ? ' target="' . esc_attr($item->target) . '"' : '';
|
||||
$attributes .= !empty($item->xfn) ? ' rel="' . esc_attr($item->xfn) . '"' : '';
|
||||
$attributes .= !empty($item->url) ? ' href="' . esc_attr($item->url) . '"' : '';
|
||||
|
||||
$active_class = ($item->current || $item->current_item_ancestor || in_array("current_page_parent", $item->classes, true) || in_array("current-post-ancestor", $item->classes, true)) ? 'active' : '';
|
||||
$nav_link_class = ( $depth > 0 ) ? 'dropdown-item ' : 'nav-link ';
|
||||
$attributes .= ( $args->walker->has_children ) ? ' class="'. $nav_link_class . $active_class . ' dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"' : ' class="'. $nav_link_class . $active_class . '"';
|
||||
|
||||
$item_output = $args->before;
|
||||
$item_output .= '<a' . $attributes . '>';
|
||||
$item_output .= $args->link_before . apply_filters('the_title', $item->title, $item->ID) . $args->link_after;
|
||||
$item_output .= '</a>';
|
||||
$item_output .= $args->after;
|
||||
|
||||
$output .= apply_filters('walker_nav_menu_start_el', $item_output, $item, $depth, $args);
|
||||
}
|
||||
}
|
||||
// register a new menu
|
||||
register_nav_menu('main-menu', 'Main menu');
|
||||
@@ -1,83 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Category Template
|
||||
*/
|
||||
|
||||
get_header();
|
||||
|
||||
$company_logo = get_field('company_logo', 'option');
|
||||
?>
|
||||
|
||||
<section class="category-page-container">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="mb-5 category-title">
|
||||
<h1 class="text-center"><?php echo single_cat_title(); ?></h1>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
<div class="row d-flex justify-content-center align-items-center gy-5 post-item">
|
||||
<div class="col-4">
|
||||
<div class="post-img">
|
||||
<?php
|
||||
$image_id = get_the_post_thumbnail( $post->ID, 'medium' );
|
||||
$alt_text = get_post_meta( get_post_thumbnail_id($post->ID), '_wp_attachment_image_alt', true );
|
||||
?>
|
||||
<?php if( !empty(get_the_post_thumbnail()) ) : ?>
|
||||
<img class="img-fluid" src="<?php echo the_post_thumbnail_url( $image_id, 'medium' ); ?>" alt="<?php echo $alt_text; ?>" />
|
||||
<?php else : ?>
|
||||
<div class="d-flex justify-content-center align-items-center img-placeholder">
|
||||
<img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="<?php echo $company_logo['alt'] ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="post-content">
|
||||
<small><?php the_time('F jS, Y') ?></small>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<h4><?php echo the_title(); ?></h4>
|
||||
</a>
|
||||
<p><?php the_excerpt(); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="text-center">Sorry, no posts matched your criteria.</p>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
|
||||
<!-- Category section BEGIN -->
|
||||
<section class="container pb-4 post-categories-container">
|
||||
<?php
|
||||
$category_name = $category->name;
|
||||
$categories = get_categories( array(
|
||||
'taxonomy' => 'category',
|
||||
'orderby' => 'name',
|
||||
'parent' => 0,
|
||||
'hide_empty' => 0,
|
||||
) );
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h3 class="category-title">Explore more topics:</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row post-category-list">
|
||||
<?php foreach($categories as $category) {
|
||||
$category_name = $category->name;
|
||||
if( strtolower( $category_name ) != 'uncategorized' ) { ?>
|
||||
<div class="col-12 col-md-4">
|
||||
<h4 class="category-item"><a href="<?php echo esc_url( get_category_link( $category->term_id ) ); ?>"><?php echo $category->name; ?></a></h4>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Category section END -->
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"name": "open-function-computers-llc/wp-theme",
|
||||
"description": "A starting point to make working with better-wordpress easier",
|
||||
"require": {
|
||||
"open-function-computers-llc/better-wordpress": "^1.0",
|
||||
"automattic/woocommerce": "^3.1"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Helpers\\": "helpers/"
|
||||
}
|
||||
},
|
||||
"license": "MIT",
|
||||
"keywords": ["wordpress", "handlebars", "theme"],
|
||||
"minimum-stability": "stable"
|
||||
}
|
||||
219
wp/wp-content/themes/medicalalert/composer.lock
generated
@@ -1,219 +0,0 @@
|
||||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "7c41a6e2145d6d74f162f2e7b338d675",
|
||||
"packages": [
|
||||
{
|
||||
"name": "automattic/woocommerce",
|
||||
"version": "3.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/woocommerce/wc-api-php.git",
|
||||
"reference": "d3b292f04c0b3b21dced691ebad8be073a83b4ad"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/woocommerce/wc-api-php/zipball/d3b292f04c0b3b21dced691ebad8be073a83b4ad",
|
||||
"reference": "d3b292f04c0b3b21dced691ebad8be073a83b4ad",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-curl": "*",
|
||||
"ext-json": "*",
|
||||
"php": ">= 7.1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"overtrue/phplint": "7.4.x-dev",
|
||||
"phpunit/phpunit": "^8",
|
||||
"squizlabs/php_codesniffer": "3.*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Automattic\\WooCommerce\\": [
|
||||
"src/WooCommerce"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Claudio Sanches",
|
||||
"email": "claudio.sanches@automattic.com"
|
||||
}
|
||||
],
|
||||
"description": "A PHP wrapper for the WooCommerce REST API",
|
||||
"keywords": [
|
||||
"api",
|
||||
"woocommerce"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/woocommerce/wc-api-php/issues",
|
||||
"source": "https://github.com/woocommerce/wc-api-php/tree/3.1.0"
|
||||
},
|
||||
"time": "2022-03-18T21:46:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "jjgrainger/posttypes",
|
||||
"version": "2.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jjgrainger/PostTypes.git",
|
||||
"reference": "a87584606e9ef726f7621c1d71a184fdf7282172"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/jjgrainger/PostTypes/zipball/a87584606e9ef726f7621c1d71a184fdf7282172",
|
||||
"reference": "a87584606e9ef726f7621c1d71a184fdf7282172",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=7.2"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "8.*",
|
||||
"squizlabs/php_codesniffer": "3.*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"PostTypes\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Joe Grainger",
|
||||
"email": "hello@jjgrainger.co.uk",
|
||||
"homepage": "https://jjgrainger.co.uk"
|
||||
}
|
||||
],
|
||||
"description": "Simple WordPress custom post types.",
|
||||
"homepage": "https://github.com/jjgrainger/posttype",
|
||||
"support": {
|
||||
"issues": "https://github.com/jjgrainger/PostTypes/issues",
|
||||
"source": "https://github.com/jjgrainger/PostTypes/tree/v2.1"
|
||||
},
|
||||
"time": "2020-04-12T13:01:12+00:00"
|
||||
},
|
||||
{
|
||||
"name": "open-function-computers-llc/better-wordpress",
|
||||
"version": "v1.0.20",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/open-function-computers-llc/better-wordpress.git",
|
||||
"reference": "abbb0aba65597fe5f4713754f205144060aae8db"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/open-function-computers-llc/better-wordpress/zipball/abbb0aba65597fe5f4713754f205144060aae8db",
|
||||
"reference": "abbb0aba65597fe5f4713754f205144060aae8db",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"jjgrainger/posttypes": "^2.1",
|
||||
"php": ">=7.4",
|
||||
"salesforce/handlebars-php": "^2.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.5"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"ofc\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"description": "A suite of classes to make WordPress theme development cleaner",
|
||||
"keywords": [
|
||||
"handlebars",
|
||||
"theme",
|
||||
"wordpress"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/open-function-computers-llc/better-wordpress/issues",
|
||||
"source": "https://github.com/open-function-computers-llc/better-wordpress/tree/v1.0.20"
|
||||
},
|
||||
"time": "2021-09-08T21:26:26+00:00"
|
||||
},
|
||||
{
|
||||
"name": "salesforce/handlebars-php",
|
||||
"version": "2.3.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/salesforce/handlebars-php.git",
|
||||
"reference": "59fc47c7b2701659cb483d0f3461c4f712693b2b"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/salesforce/handlebars-php/zipball/59fc47c7b2701659cb483d0f3461c4f712693b2b",
|
||||
"reference": "59fc47c7b2701659cb483d0f3461c4f712693b2b",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Handlebars": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "fzerorubigd",
|
||||
"email": "fzerorubigd@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Behrooz Shabani (everplays)",
|
||||
"email": "everplays@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Mardix",
|
||||
"homepage": "https://github.com/mardix"
|
||||
}
|
||||
],
|
||||
"description": "Handlebars processor for php",
|
||||
"homepage": "http://www.github.com/salesforce/handlebars-php",
|
||||
"keywords": [
|
||||
"handlebars",
|
||||
"mustache",
|
||||
"templating"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/salesforce/handlebars-php/issues",
|
||||
"source": "https://github.com/salesforce/handlebars-php/tree/2.3.0"
|
||||
},
|
||||
"time": "2020-06-08T17:23:52+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.2.0"
|
||||
}
|
||||
@@ -1,90 +0,0 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
/**
|
||||
* excerpt-length
|
||||
*
|
||||
* how many words should the wordpress excerpt be
|
||||
*/
|
||||
"excerpt-length" => 100,
|
||||
|
||||
|
||||
/**
|
||||
* guest-class
|
||||
*
|
||||
* if you want wordpress to automatically append a class to the body_class
|
||||
* list when users are not authenticated, put that class name here. it
|
||||
* defaults to "guest"
|
||||
*/
|
||||
"guest-class" => "guest",
|
||||
|
||||
|
||||
/**
|
||||
* menu-locations
|
||||
*
|
||||
* register your individual menu locations here
|
||||
*/
|
||||
"menu-locations" => [
|
||||
"main-nav" => "Main Navigation",
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
* custom-post-types
|
||||
*
|
||||
* here is where you can define your custom post types easily
|
||||
*/
|
||||
"custom-post-types" => [],
|
||||
|
||||
|
||||
"options-pages" => [
|
||||
"Site Options",
|
||||
"Store Settings",
|
||||
"Promo Settings",
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
* handlebars
|
||||
*
|
||||
* We use handlebars templating extensivly in this theme and code pattern.
|
||||
* You can adjust the defaults for many attributes here.
|
||||
*
|
||||
* Set this to `false` to disable handlebars functionality completely
|
||||
*/
|
||||
"handlebars" => [
|
||||
"additional-helpers" => [
|
||||
"formatDate" => \Helpers\DateFormatter::monthDayYear(),
|
||||
"ratingStars" => \Helpers\Ratings::ratingsStars(),
|
||||
"numberFormatter" => \Helpers\Ratings::numberFormatter(),
|
||||
"currencyFormatter" => \Helpers\Ratings::currencyFormatter(),
|
||||
"productTitleFormatter" => \Helpers\StringFormatter::productTitle(),
|
||||
"adminOrderLabel" => \Helpers\StringFormatter::adminOrderLabel(),
|
||||
"debug" => \Helpers\Debug::dd(),
|
||||
"gravityForm" => \Helpers\Form::parseForm(),
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
* enable
|
||||
*
|
||||
* enable individual wordpress features here
|
||||
*/
|
||||
"enable" => [
|
||||
"post-thumbnails",
|
||||
"menus",
|
||||
],
|
||||
|
||||
|
||||
/**
|
||||
* disable
|
||||
*
|
||||
* disable individual wordpress features here
|
||||
*/
|
||||
"disable" => [
|
||||
"editor",
|
||||
],
|
||||
|
||||
'debug' => true
|
||||
];
|
||||
12491
wp/wp-content/themes/medicalalert/dist/app.css
vendored
22327
wp/wp-content/themes/medicalalert/dist/app.js
vendored
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"/app.js": "/app.js?id=def087bfee86b3ced20472c4fd21ee05",
|
||||
"/app.css": "/app.css?id=177f4a287cd1dd6225870e190e3f1c1a"
|
||||
}
|
||||
@@ -1,303 +0,0 @@
|
||||
<?php
|
||||
// css below for Checkout flow... probably belongs in the SCSS
|
||||
?>
|
||||
<style>
|
||||
.cart-summary {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
.cart-summary .image-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
.bi-check {
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.image-wrapper img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.woocommerce-order-received .woocommerce-order-details {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
<?php
|
||||
wp_footer();
|
||||
|
||||
$stylesheet = get_field('style_sheet');
|
||||
// default to consumer brand if we don't have the ACF option for the current page
|
||||
if (!$stylesheet) {
|
||||
$stylesheet = "consumer-brand";
|
||||
}
|
||||
$company_logo = get_field('company_logo', 'option');
|
||||
$facebook_url = get_field('facebook_url', 'option');
|
||||
$linkedin_url = get_field('linkedin_url', 'option');
|
||||
$youtube_url = get_field('youtube_url', 'option');
|
||||
$consumer_phone_number = get_field('consumer_phone_number', 'option');
|
||||
$business_phone_number = get_field('business_phone_number', 'option');
|
||||
$address = get_field('address', 'option');
|
||||
$copyright_info = get_field('copyright_info', 'option');
|
||||
$privacy_policy_link = get_field('privacy_policy_link', 'option');
|
||||
$terms_of_use_link = get_field('terms_of_use_link', 'option');
|
||||
$sitemap_link = get_field('sitemap_link', 'option');
|
||||
$incident_report_link = get_field('incident_report_link', 'option');
|
||||
$consumer_disclaimer = get_field('consumer_disclaimer', 'option');
|
||||
$business_disclaimer = get_field('business_disclaimer', 'option');
|
||||
$caution_info = get_field('caution_info', 'option');
|
||||
$referral_paragraph = get_field('referral_paragraph', 'option');
|
||||
$banner_bottom = get_field('banner_bottom', 'option');
|
||||
$banner_link = get_field('banner_link', 'option');
|
||||
$col_1_consumer_menu_title = get_field('col_1_consumer_menu_title', 'option');
|
||||
$col_2_consumer_menu_title = get_field('col_2_consumer_menu_title', 'option');
|
||||
$col_3_consumer_menu_title = get_field('col_3_consumer_menu_title', 'option');
|
||||
$col_4_consumer_menu_title = get_field('col_4_consumer_menu_title', 'option');
|
||||
$col_1_business_menu_title = get_field('col_1_business_menu_title', 'option');
|
||||
$col_2_business_menu_title = get_field('col_2_business_menu_title', 'option');
|
||||
$col_3_business_menu_title = get_field('col_3_business_menu_title', 'option');
|
||||
$col_4_business_menu_title = get_field('col_4_business_menu_title', 'option');
|
||||
$google_link = get_field('google_link', 'option');
|
||||
?>
|
||||
|
||||
<footer class="site-footer <?php echo $stylesheet; ?>">
|
||||
<div class="footer-wrapper">
|
||||
<div class="container">
|
||||
<?php if( $stylesheet == 'business-brand' ) { ?>
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_1_business_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-one-business-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_2_business_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-two-business-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_3_business_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-three-business-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_4_business_menu_title; ?></h3>
|
||||
<?php if( isset($referral_paragraph) ) : ?>
|
||||
<p class="text-white"><?php echo $referral_paragraph; ?></p>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-four-business-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="row">
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_1_consumer_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-one-consumer-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_2_consumer_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-two-consumer-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_3_consumer_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-three-consumer-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<h3 class="text-uppercase text-white"><?php echo $col_4_consumer_menu_title; ?></h3>
|
||||
<?php
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'col-four-consumer-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="footer-nav-list %2$s">%3$s</ul>',
|
||||
'depth' => 2,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<div class="row d-flex justify-content-center align-items-center p-4">
|
||||
<div class="col-lg-5 col-xl-6">
|
||||
<img class="img-fluid footer-logo" src="<?php echo $company_logo['url']; ?>" />
|
||||
</div>
|
||||
<div class="col-lg-4 col-xl-3">
|
||||
<h4 class="text-nowrap text-white footer-phone">Call us at:
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="text-decoration-none text-white" href="tel:<?php echo $consumer_phone_number; ?>"><?php echo $consumer_phone_number; ?></a>
|
||||
<?php else : ?>
|
||||
<a class="text-decoration-none text-white" href="tel:<?php echo $business_phone_number; ?>"><?php echo $business_phone_number; ?></a>
|
||||
<?php endif; ?>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<div class="row social-icons">
|
||||
<div class="col text-center">
|
||||
<a arialabel="Facebook" href="<?php echo $facebook_url; ?>">
|
||||
<i class="fa-brands fa-facebook" aria-hidden="true" title="Link to Lifeline Facebook page"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
<a aria-label="LinkedIn" href="<?php echo $linkedin_url; ?>">
|
||||
<i class="fa-brands fa-linkedin" aria-hidden="true" title="Link to Lifeline LinkedIn page"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col text-center">
|
||||
<a aria-label="YouTube" href="<?php echo $youtube_url; ?>">
|
||||
<i class="fa-brands fa-youtube" aria-hidden="true" title="Link to Lifeline YouTube page"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row w-100 p-2">
|
||||
<div class="col">
|
||||
<p class="text-white text-center">
|
||||
<a class="text-decoration-none text-white" href="<?php echo $privacy_policy_link['url']; ?>">Privacy Policy</a><span class="px-2">|</span>
|
||||
<a class="text-decoration-none text-white" href="<?php echo $terms_of_use_link['url']; ?>">Terms of Use</a><span class="px-2">|</span>
|
||||
<a class="text-decoration-none text-white" href="<?php echo $sitemap_link['url']; ?>">Sitemap</a><span class="px-2">|</span>
|
||||
<a class="text-decoration-none text-white" href="<?php echo $incident_report_link['url']; ?>">Submit Incident Report</a><span class="px-2"></span>
|
||||
|
||||
</p>
|
||||
<p class="text-white text-center"><a href="<?php echo $google_link; ?>" target="_blank" aria-label="Link opens in a new tab" style="" class="text-center text-decoration-none text-wrap text-white"><?php echo $address; ?></a></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row w-100 p-2">
|
||||
<div class="col">
|
||||
<h5 class="text-white text-center">© <?php echo date("Y"); ?> <?php echo $copyright_info; ?><span class="px-2"></h5>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer-bottom pl-5 pb-5">
|
||||
<div class="container">
|
||||
<div class="row pb-4">
|
||||
<div class="col">
|
||||
<?php if( $stylesheet == 'business-brand' ) { ?>
|
||||
<?php echo $business_disclaimer; ?>
|
||||
<?php } else { ?>
|
||||
<?php echo $consumer_disclaimer; ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<?php echo $caution_info; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
|
||||
<?php if( $banner_bottom && $stylesheet == 'consumer-brand' ) : ?>
|
||||
<div class="fixed-bottom py-1 banner-bottom">
|
||||
<div class="container-fluid banner-bottom-wrapper">
|
||||
<div class="row">
|
||||
<div class="col-12 p-0">
|
||||
<?php if( $banner_link ) : ?>
|
||||
<a class="text-white banner-bottom-link" href="<?php echo $banner_link['url'] ?>">
|
||||
<h5 class="text-white m-0 banner-bottom-text">
|
||||
<?php echo $banner_bottom; ?>
|
||||
<span class="text-nowrap banner-link-title"><?php echo $banner_link['title'] ?></span>
|
||||
</h5>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<i class="fa fa-window-close banner-bottom-close" aria-hidden="true"></i>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<script>
|
||||
$(window).on('load', function() {
|
||||
$bannerBottom = $('.banner-bottom');
|
||||
$bannerBottomClose = $('.banner-bottom-close');
|
||||
|
||||
$bannerBottomClose.on('click', function() {
|
||||
$bannerBottom.fadeOut();
|
||||
sessionStorage.setItem('bannerBottom', 'shown');
|
||||
});
|
||||
|
||||
if(!sessionStorage.getItem('bannerBottom')) {
|
||||
$bannerBottom.show();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="//cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/js/all.min.js" integrity="sha512-6PM0qYu5KExuNcKt5bURAoT6KCThUmHRewN3zUFNaoI6Di7XJPTMoT6K0nsagZKk2OB4L7E3q1uQKHNHd4stIQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,196 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?php wp_title('|', true, 'right'); ?></title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
|
||||
<!-- Slick Carousel -->
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css"/>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
|
||||
<!-- Handlebars to flip between Consumer and Business style sheets -->
|
||||
<link rel="stylesheet" type="text/css" href="{{}}"/>
|
||||
|
||||
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,700;0,800;1,600&display=swap" rel="stylesheet">
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
|
||||
<body <?php body_class(); ?>>
|
||||
<?php do_action('body_top'); ?>
|
||||
|
||||
<?php
|
||||
$company_logo = get_field('company_logo', 'option');
|
||||
$login_icon = get_field('login_icon', 'option');
|
||||
$consumer_login_link = get_field('consumer_login_link', 'option');
|
||||
$business_login_link = get_field('business_login_link', 'option');
|
||||
$cart_icon = get_field('cart_icon', 'option');
|
||||
$cart_link = get_field('cart_link', 'option');
|
||||
$search_icon = get_field('search_icon', 'option');
|
||||
$consumer_phone_number = get_field('consumer_phone_number', 'option');
|
||||
$business_phone_number = get_field('business_phone_number', 'option');
|
||||
$stylesheet = get_field('style_sheet');
|
||||
|
||||
// default to consumer brand if we don't have the ACF option for the current page
|
||||
if (!$stylesheet) {
|
||||
$stylesheet = "consumer-brand";
|
||||
}
|
||||
?>
|
||||
|
||||
<header class="w-100 sticky-top main-header <?php echo $stylesheet; ?>">
|
||||
<div class="bg-light top-menu">
|
||||
<div class="container">
|
||||
<div class="row justify-content-end align-items-center d-none d-md-flex top-bar">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<div class="col col-lg-4 d-flex justify-content-center">
|
||||
<a class="text-decoration-none text-nowrap" href="/business/">Healthcare and Senior Living</a>
|
||||
</div>
|
||||
<?php else : ?>
|
||||
<div class="col col-lg-3 d-flex justify-content-center">
|
||||
<a class="text-decoration-none text-nowrap text-right" href="/">For Consumers</a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<!-- <div class="col col-lg-1 d-flex justify-content-end">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="text-decoration-none text-nowrap" href="<?php echo $consumer_login_link['url']; ?>" target="_blank" aria-label="Link opens in a new tab"><i class="bi bi-person-circle" aria-hidden="true"></i> Login</a>
|
||||
<?php else : ?>
|
||||
<a class="text-decoration-none text-nowrap" href="<?php echo $business_login_link['url']; ?>" target="_blank" aria-label="Link opens in a new tab"><i class="bi bi-person-circle" aria-hidden="true"></i> Login</a>
|
||||
<?php endif; ?>
|
||||
</div> -->
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<!-- <div class="col col-lg-1 d-flex justify-content-end">
|
||||
<a class="text-decoration-none text-nowrap" href="<?php echo $cart_link['url']; ?>"><i class="bi bi-cart" aria-hidden="true"></i> Cart</a>
|
||||
</div> -->
|
||||
|
||||
<div class="nav-btn col col-lg-2 d-flex justify-content-end">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="text-nowrap d-flex header-phone-number" href="tel:<?php echo $consumer_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by color-white" aria-hidden="true" style="--fa-rotate-angle: -45deg; padding-bottom: 8px;"></i> <?php echo $consumer_phone_number; ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<a class="text-nowrap d-flex header-phone-number" href="tel:<?php echo $business_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by color-white" aria-hidden="true" style="--fa-rotate-angle: -45deg; padding-bottom: 8px;"></i> <?php echo $business_phone_number; ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="col col-lg-1 d-flex justify-content-center">
|
||||
<a class="text-decoration-none" href="/?s=" aria-label="Search pages, posts and products on this website"><i class="bi bi-search" aria-hidden="true"></i></a>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="row d-md-none p-1">
|
||||
<div class="col d-flex justify-content-center top-bar-mobile">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="text-nowrap d-flex top-bar-mobile-phone" href="tel:<?php echo $consumer_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by" aria-hidden="true" style="--fa-rotate-angle: -45deg;"></i> <?php echo $consumer_phone_number; ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<a class="text-nowrap d-flex top-bar-mobile-phone" href="tel:<?php echo $business_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by" aria-hidden="true" style="--fa-rotate-angle: -45deg;"></i> <?php echo $business_phone_number; ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<nav class="navbar navbar-dark navbar-expand-lg main-nav">
|
||||
<div class="container main-nav-wrapper">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="navbar-brand w-50 main-logo" href="/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Lifeline Logo"></a>
|
||||
<?php else : ?>
|
||||
<a class="navbar-brand w-50 main-logo" href="/business/"><img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="Lifeline Logo"></a>
|
||||
<?php endif; ?>
|
||||
<button class="navbar-toggler ms-auto navbar-dark" type="button" data-bs-toggle="collapse" data-bs-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarText">
|
||||
<?php
|
||||
if( $stylesheet === 'business-brand' ) {
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'business-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="navbar-nav me-auto mb-2 mb-lg-0 nav-justified w-100 %2$s">%3$s</ul>',
|
||||
'depth' => 3,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
} else {
|
||||
wp_nav_menu(array(
|
||||
'theme_location' => 'consumer-menu',
|
||||
'container' => false,
|
||||
'menu_class' => '',
|
||||
'fallback_cb' => '__return_false',
|
||||
'items_wrap' => '<ul id="%1$s" class="navbar-nav me-auto mb-2 mb-lg-0 nav-justified w-100 %2$s">%3$s</ul>',
|
||||
'depth' => 4,
|
||||
'walker' => new bootstrap_5_wp_nav_menu_walker()
|
||||
));
|
||||
}
|
||||
?>
|
||||
<ul class="d-md-none top-nav-mobile">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<li class="nav-item">
|
||||
<a class="text-decoration-none text-nowrap" href="/business/">Healthcare and Senior Living</a>
|
||||
</li>
|
||||
<?php else : ?>
|
||||
<li class="nav-item">
|
||||
<a class="text-decoration-none text-nowrap" href="/">For Consumers</a>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<!-- <li class="nav-item">
|
||||
<a class="text-decoration-none text-nowrap" href="#"><i class="bi bi-person-circle text-white" aria-hidden="true"></i> Login</a>
|
||||
</li> -->
|
||||
<!-- <li class="nav-item">
|
||||
<a class="text-decoration-none text-nowrap" href="#"><i class="bi bi-cart text-white" aria-hidden="true"></i> Cart</a>
|
||||
</li> -->
|
||||
</ul>
|
||||
<!-- <div class="nav-btn d-flex justify-content-center">
|
||||
<?php if( $stylesheet == 'consumer-brand' ) : ?>
|
||||
<a class="text-nowrap d-flex header-phone-number" href="tel:<?php echo $consumer_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by color-white" aria-hidden="true" style="--fa-rotate-angle: -45deg;"></i> <?php echo $consumer_phone_number; ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<a class="text-nowrap d-flex header-phone-number" href="tel:<?php echo $business_phone_number; ?>">
|
||||
<i class="fa-solid fa-phone-volume fa-rotate-by color-white" aria-hidden="true" style="--fa-rotate-angle: -45deg;"></i> <?php echo $business_phone_number; ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(window).on('load', function() {
|
||||
$('#navbarText .navbar-nav > li > a').on('click', function() {
|
||||
location.href = this.href;
|
||||
});
|
||||
});
|
||||
|
||||
var menuWasToggled = false;
|
||||
|
||||
$(window).scroll(function() {
|
||||
var showingThreshold = 50 + $('.top-menu').height();
|
||||
// minimum showing threshold
|
||||
if (showingThreshold < 80) {
|
||||
showingThreshold = 80;
|
||||
}
|
||||
|
||||
if (($(this).scrollTop() - $('.top-menu').height()) > showingThreshold) {
|
||||
$('.top-menu').hide();
|
||||
$('.top-menu').css("height", 0);
|
||||
} else {
|
||||
$('.top-menu').show();
|
||||
$('.top-menu').css("height", "auto");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class DateFormatter
|
||||
{
|
||||
public static function monthDayYear()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$dateString = strtotime($context->get($args));
|
||||
|
||||
return date("M d, Y", $dateString);
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class Debug
|
||||
{
|
||||
public static function dd()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$args = $context->get($args);
|
||||
|
||||
return "<pre>".print_r($args, true)."</pre>";
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class Form
|
||||
{
|
||||
public static function parseForm()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
return gravity_form($context->get($args), true, true, false, false, true, false, false);
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class Ratings
|
||||
{
|
||||
public static function ratingsStars()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$numberOfStars = $context->get($args);
|
||||
if (!is_numeric($numberOfStars)) {
|
||||
return "The value you passed to this helper is not a number.";
|
||||
}
|
||||
|
||||
$output = "";
|
||||
for ($i=1; $i <= 5; $i++) {
|
||||
if ($i <= $numberOfStars) {
|
||||
$output .= "<i class='bi bi-star-fill'></i>";
|
||||
} else {
|
||||
$output .= "<i class='bi bi-star'></i>";
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
};
|
||||
}
|
||||
|
||||
public static function numberFormatter()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$totalCount = $context->get($args);
|
||||
if (!is_numeric($totalCount)) {
|
||||
return "The value you passed to this helper is not a number.";
|
||||
}
|
||||
|
||||
return number_format($totalCount);
|
||||
};
|
||||
}
|
||||
|
||||
public static function currencyFormatter()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$totalCount = $context->get($args);
|
||||
if ($totalCount === "Free") {
|
||||
return "Free";
|
||||
}
|
||||
|
||||
if (!is_numeric($totalCount)) {
|
||||
return "The value you passed to this helper is not a number.";
|
||||
}
|
||||
return "$" . number_format($totalCount, 2);
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Helpers;
|
||||
|
||||
class StringFormatter
|
||||
{
|
||||
public static function productTitle()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$productTitle = $context->get($args);
|
||||
$parts = explode("(", $productTitle);
|
||||
|
||||
return trim($parts[0]);
|
||||
};
|
||||
}
|
||||
|
||||
public static function adminOrderLabel()
|
||||
{
|
||||
return function ($template, $context, $args, $source) {
|
||||
$label = $context->get($args);
|
||||
if (substr($label, 0, 21) === "Select if this person") {
|
||||
return "Caretaker is authorized";
|
||||
}
|
||||
|
||||
if ($label === "SESSpromoid") {
|
||||
return "Promotion ID";
|
||||
}
|
||||
|
||||
if ($label === "SESSpromotion_description") {
|
||||
return "Promotion Description";
|
||||
}
|
||||
|
||||
if ($label === "SESScoupon_code") {
|
||||
return "Coupon Code";
|
||||
}
|
||||
|
||||
return $label;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
@@ -1,57 +0,0 @@
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
$data = site()->getPost($post, ["title", "content"]); // $post comes from global WP garbage
|
||||
echo site()->render("standard_page", $data);
|
||||
|
||||
// old stuff below
|
||||
// $products_list_title = the_field("products_list_title");
|
||||
// example handlebars render. feel free to delete this and build out your content
|
||||
// echo site()->render("page-hero", [
|
||||
// "hero-background" => get_field("homepage_--_hero_-_background"),
|
||||
// "hero-title" => get_field("homepage_--_hero_-_title"),
|
||||
// "hero-copy" => get_field("homepage_--_hero_-_copy"),
|
||||
// "button-text" => get_field("homepage_--_hero_-_button_text"),
|
||||
// "button-link" => get_field("homepage_--_hero_-_button_link"),
|
||||
// ]);
|
||||
|
||||
|
||||
|
||||
// echo site()->render("homepage", [
|
||||
// "products-list-title" => get_field("products_list_title"),
|
||||
// "products_list_copy" => get_field("products_list_copy"),
|
||||
// "products_list_products" => get_field("products_list_products"),
|
||||
// "products_list_cta_copy" => get_field("products_list_cta_copy"),
|
||||
// "products_list_cta_phone_number" => get_field("products_list_cta_phone_number"),
|
||||
// "highlighted_features" => get_field("highlighted_features"),
|
||||
// "philips_cares_image" => get_field("philips_cares_image"),
|
||||
// "philips_cares_title" => get_field("philips_cares_title"),
|
||||
// "philips_cares_copy" => get_field("philips_cares_copy"),
|
||||
// "philips_cares_bullet_list" => get_field("philips_cares_bullet_list"),
|
||||
// "philips_cares_button_text" => get_field("philips_cares_button_text"),
|
||||
// "philips_cares_button_link" => get_field("philips_cares_button_link"),
|
||||
// "homepage_--_philips_lifeline_-_title" => get_field("homepage_--_philips_lifeline_-_title"),
|
||||
// "homepage_--_philips_lifeline_-_copy" => get_field("homepage_--_philips_lifeline_-_copy"),
|
||||
// "homepage_--_philips_lifeline_-_card" => get_field("homepage_--_philips_lifeline_-_card"),
|
||||
// "homepage_--_testimonial_-_image" => get_field("homepage_--_testimonial_-_image"),
|
||||
// "homepage_--_testimonial_-_title" => get_field("homepage_--_testimonial_-_title"),
|
||||
// "homepage_--_testimonial_-_copy" => get_field("homepage_--_testimonial_-_copy"),
|
||||
// "homepage_--_testimonial_-_name" => get_field("homepage_--_testimonial_-_name"),
|
||||
// "homepage_--_speak_with_someone_-_title" => get_field("homepage_--_speak_with_someone_-_title"),
|
||||
// "homepage_--_speak_with_someone_-_copy" => get_field("homepage_--_speak_with_someone_-_copy"),
|
||||
// "homepage_--_speak_with_someone_-_image" => get_field("homepage_--_speak_with_someone_-_image"),
|
||||
// "homepage_--_speak_with_someone_-_form" => do_shortcode('[gravityform id="'.get_field("homepage_--_speak_with_someone_-_form").'" title="false" description="false" ajax="true"]'),
|
||||
// "homepage_--_families_choose_-_title" => get_field("homepage_--_families_choose_-_title"),
|
||||
// "homepage_--_families_choose_-_copy" => get_field("homepage_--_families_choose_-_copy"),
|
||||
// "homepage_--_families_choose_-_image" => get_field("homepage_--_families_choose_-_image"),
|
||||
// "homepage_--_families_choose_-_bullet_list" => get_field("homepage_--_families_choose_-_bullet_list"),
|
||||
// "homepage_--_widely_trusted_-_title" => get_field("homepage_--_widely_trusted_-_title"),
|
||||
// "homepage_--_widely_trusted_-_logo_list" => get_field("homepage_--_widely_trusted_-_logo_list"),
|
||||
|
||||
// ]);
|
||||
|
||||
|
||||
|
||||
// take it away from here!
|
||||
|
||||
get_footer();
|
||||
15923
wp/wp-content/themes/medicalalert/package-lock.json
generated
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"name": "ofc-wp-theme",
|
||||
"version": "1.0.0",
|
||||
"description": "Laravel Mix Asset Bundler for open-function-computers-llc/better-wordpress",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.1.1",
|
||||
"@popperjs/core": "^2.11.4",
|
||||
"@vue/compat": "^3.1.0-0",
|
||||
"@vue/compiler-sfc": "^3.1.0-0",
|
||||
"bootstrap": "^5.0.1",
|
||||
"jquery": "^3.6.0",
|
||||
"laravel-mix": "^6.0.49",
|
||||
"popper.js": "^1.16.1",
|
||||
"postcss": "^8.2.15",
|
||||
"resolve-url-loader": "^3.1.3",
|
||||
"sass": "^1.32.13",
|
||||
"sass-loader": "^11.1.1",
|
||||
"slick-carousel": "^1.8.1",
|
||||
"vue-loader": "^15.9.7"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT"
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
get_header();
|
||||
|
||||
// example handlebars render. feel free to delete this and build out your content
|
||||
echo site()->render("page-hero", [
|
||||
"hero-title" => "Introducing Philips Cares",
|
||||
"hero-copy" => "Philips Cares makes it easy for families to be there for each other without always having to be physically present. Keeping people independent and feeling protected is our top priority..",
|
||||
"button-copy" => "See It In Action",
|
||||
"button-link" => "#"
|
||||
]);
|
||||
|
||||
|
||||
|
||||
echo site()->render("philips-cares", [
|
||||
|
||||
]);
|
||||
|
||||
|
||||
|
||||
// take it away from here!
|
||||
|
||||
get_footer();
|
||||
|
Before Width: | Height: | Size: 54 KiB |
@@ -1,125 +0,0 @@
|
||||
<?php
|
||||
get_header();
|
||||
$results_count = $wp_query->found_posts;
|
||||
$stylesheet = get_field('style_sheet');
|
||||
$company_logo = get_field('company_logo', 'option');
|
||||
?>
|
||||
|
||||
<section class="container search-results-page-container consumer-brand">
|
||||
<div class="row p-2">
|
||||
<div class="col">
|
||||
<h1 class="text-center">Search</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row py-5 search-form-wrapper">
|
||||
<div class="col">
|
||||
<form id="searchform" method="get" action="<?php echo esc_url( home_url( '/' ) ); ?>">
|
||||
<div class="form-group">
|
||||
<input type="text" id="searchInput" class="search-field form-control mb-2" aria-describedby="search" name="s" placeholder="Search" value="<?php echo get_search_query(); ?>">
|
||||
</div>
|
||||
<button id="searchBtn" type="submit" value="Search" class="btn btn-primary">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row d-flex justify-content-center search-results-wrapper">
|
||||
<div class="col">
|
||||
<?php if (have_posts()) : ?>
|
||||
<h4 class="mb-2"><?php _e('Search Results'); ?></h4>
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article class="row py-4" <?php post_class(); ?>>
|
||||
<!-- <div class="col-4">
|
||||
<div class="post-img">
|
||||
<?php
|
||||
$image_id = get_the_post_thumbnail( $post->ID, 'medium' );
|
||||
$alt_text = get_post_meta( $image_id , '_wp_attachment_image_alt', true );
|
||||
?>
|
||||
<?php if( !empty(get_the_post_thumbnail()) ) : ?>
|
||||
<img class="img-fluid" src="<?php echo the_post_thumbnail_url( $image_id, 'medium' ); ?>" alt="<?php echo $alt_text; ?>" />
|
||||
<?php else : ?>
|
||||
<div class="d-flex justify-content-center align-items-center img-placeholder">
|
||||
<img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="<?php echo $company_logo['alt'] ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="col align-items-center">
|
||||
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
|
||||
<div class="entry">
|
||||
<p><?php echo wp_trim_words( get_the_excerpt(), 30, '...' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
<hr />
|
||||
<?php endwhile; ?>
|
||||
|
||||
<div class="row py-4 justify-content-center post-pagination">
|
||||
<div class="col-6">
|
||||
<h4 class="button--primary text-center"><?php next_posts_link( '< Previous', $the_query->max_num_pages ); ?></h4>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<h4 class="button--primary text-center"><?php previous_posts_link( 'Next >' ); ?></h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php else : ?>
|
||||
<p><?php _e('Sorry. We couldn’t find anything for that search. View one of our site’s pages or a recent article below.'); ?></p>
|
||||
<div class="row">
|
||||
<div class="col-md-6 posts">
|
||||
<h3><?php _e('Recent Articles'); ?></h3>
|
||||
<ul>
|
||||
<?php
|
||||
$args = array(
|
||||
'numberposts' => '10',
|
||||
'post_status' => 'publish'
|
||||
);
|
||||
$recent_posts = wp_get_recent_posts( $args );
|
||||
foreach( $recent_posts as $recent ) {
|
||||
echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"] . '</a></li>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md-6 pages">
|
||||
<h3><?php _e('Page Sitemap'); ?></h3>
|
||||
<ul>
|
||||
<?php wp_list_pages('title_li=&sort_column=menu_order'); ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Category section BEGIN -->
|
||||
<section class="container pb-4 post-categories-container">
|
||||
<?php
|
||||
$category_name = $category->name;
|
||||
$categories = get_categories( array(
|
||||
'taxonomy' => 'category',
|
||||
'orderby' => 'name',
|
||||
'parent' => 0,
|
||||
'hide_empty' => 0,
|
||||
) );
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h3 class="category-title">Explore more topics:</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row post-category-list">
|
||||
<?php foreach($categories as $category) {
|
||||
$category_name = $category->name;
|
||||
if( strtolower( $category_name ) != 'uncategorized' ) { ?>
|
||||
<div class="col-12 col-md-4">
|
||||
<h4 class="category-item"><a href="<?php echo esc_url( get_category_link( $category->term_id ) ); ?>"><?php echo $category->name; ?></a></h4>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- Category section END -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
@@ -1,94 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Single post template
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<div class="single-post-container">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1 class="mb-4"><?php the_title(); ?></h1>
|
||||
<div class="single-post-img">
|
||||
<?php if( has_post_thumbnail() ) : ?>
|
||||
<?php
|
||||
$image_id = get_post_thumbnail_id( $post->ID, 'medium' );
|
||||
$alt_text = get_post_meta( $image_id , '_wp_attachment_image_alt', true );
|
||||
?>
|
||||
<img class="img-fluid" src="<?php echo the_post_thumbnail_url( $image_id, 'medium' ) ?>" alt="<?php echo $alt_text ;?>" />
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="single-post-content">
|
||||
<small><?php the_time('F jS, Y') ?></small>
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<!-- Read More Posts section BEGIN -->
|
||||
<section class="container my-4 related-posts-container">
|
||||
<div class="row mb-2">
|
||||
<div class="col-12">
|
||||
<h3 class="related-posts-title">
|
||||
Read more posts on
|
||||
<?php
|
||||
$cat_names = get_the_category( $id );
|
||||
foreach ( $cat_names as $cat_name ) {
|
||||
echo ' - ' . $cat_name->name;
|
||||
};
|
||||
?>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<?php
|
||||
$related = get_posts(
|
||||
array(
|
||||
'category__in' => wp_get_post_categories( $post->ID ),
|
||||
'numberposts' => 4,
|
||||
'post__not_in' => array( $post->ID )
|
||||
)
|
||||
);
|
||||
|
||||
if( $related ) foreach( $related as $post ) {
|
||||
setup_postdata($post);
|
||||
?>
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-3 mb-4 related-post">
|
||||
<div class="pb-2 post-img">
|
||||
<?php
|
||||
$read_more_image_id = get_post_thumbnail_id( $post->ID, 'medium' );
|
||||
$read_more_alt_text = get_post_meta( $read_more_image_id , '_wp_attachment_image_alt', true );
|
||||
?>
|
||||
<?php if( !empty(get_the_post_thumbnail()) ) : ?>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<img class="img-fluid related-img" src="<?php echo the_post_thumbnail_url( $read_more_image_id, 'medium' ); ?>" alt="<?php echo $read_more_alt_text; ?>" />
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<div class="d-flex justify-content-center align-items-center img-placeholder">
|
||||
<img class="img-fluid" src="<?php echo $company_logo['url']; ?>" alt="<?php echo $company_logo['alt'] ?>" />
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<h4 class="related-title"><?php the_title(); ?></h4>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php wp_reset_postdata(); ?>
|
||||
</section>
|
||||
<!-- Read More Posts section END -->
|
||||
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -1,11 +0,0 @@
|
||||
import $ from 'jquery';
|
||||
window.$ = window.jQuery = $;
|
||||
import "bootstrap";
|
||||
import 'slick-carousel';
|
||||
|
||||
$(window).on('load', function() {
|
||||
// Adds aria-label to reCaptcha textarea field for screen readers
|
||||
$('.g-recaptcha-response').attr('aria-hidden', 'true');
|
||||
$('.g-recaptcha-response').attr('aria-label', 'do not use');
|
||||
$('.g-recaptcha-response').attr('aria-readonly', 'true');
|
||||
});
|
||||
@@ -1,76 +0,0 @@
|
||||
/* Colors */
|
||||
|
||||
$consumer-primary: #660037;
|
||||
$secondary: #F5AD23;
|
||||
$white: #FFFFFF;
|
||||
$black: #000000;
|
||||
$blue: #036396;
|
||||
$light-pink: rgba(255, 202, 210, .15);
|
||||
$light-gray: #505050;
|
||||
$gray-border: rgba(123, 123, 123, 0.4);
|
||||
$gray-placeholder: rgba(123, 123, 123, 0.52);
|
||||
$consumer-highlight: rgba(255, 202, 211, 0.15);
|
||||
$business-primary: #00447C;
|
||||
$light-blue: #EAEFF3;
|
||||
$orange: #E86826;
|
||||
.consumer-primary {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
|
||||
.headline-largest {
|
||||
font-size: 55px;
|
||||
font-weight: 700;
|
||||
line-height: 58px;
|
||||
margin-bottom: unset;
|
||||
color: $consumer-primary;
|
||||
@extend h1
|
||||
}
|
||||
|
||||
.headline-large {
|
||||
font-size: 45px;
|
||||
font-weight: 700;
|
||||
line-height: 55px;
|
||||
margin-bottom: unset;
|
||||
color: $consumer-primary;
|
||||
@extend h2
|
||||
}
|
||||
|
||||
.headline-standard {
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
line-height: 40px;
|
||||
margin-bottom: unset;
|
||||
@extend h3
|
||||
}
|
||||
|
||||
.headline-small {
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
line-height: 34px;
|
||||
margin-bottom: unset;
|
||||
@extend h4
|
||||
}
|
||||
|
||||
|
||||
/* Navbar */
|
||||
|
||||
$navbar-toggler-border-radius: none;
|
||||
$navbar-toggler-transition: none;
|
||||
$navbar-dark-color: $white;
|
||||
$navbar-dark-hover-color: $white;
|
||||
// $navbar-dark-toggler-border-color: $bright-blue;
|
||||
$dropdown-color: $white;
|
||||
// $dropdown-bg: $primary;
|
||||
$dropdown-border-radius: none;
|
||||
$dropdown-border-width: none;
|
||||
$dropdown-inner-border-radius: none;
|
||||
$dropdown-divider-bg: $white;
|
||||
$dropdown-box-shadow: none;
|
||||
$dropdown-link-color: $white;
|
||||
// $dropdown-link-hover-color: $bright-blue;
|
||||
$dropdown-link-hover-bg: none;
|
||||
// $dropdown-link-active-color: $bright-blue;
|
||||
$dropdown-link-active-bg: none;
|
||||
$dropdown-item-padding-y: 1rem;
|
||||
// $dropdown-dark-bg: $primary;
|
||||
$dropdown-dark-border-color: none;
|
||||
@@ -1,94 +0,0 @@
|
||||
.page-template-all-post-template {
|
||||
h4 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
.main-header {
|
||||
.main-nav {
|
||||
background-color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
.site-footer {
|
||||
.footer-wrapper {
|
||||
background-color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
.all-posts-container {
|
||||
.featured-post {
|
||||
position: relative;
|
||||
margin: 6em 0;
|
||||
.featured-img {
|
||||
position: relative;
|
||||
&::after {
|
||||
content: "FEATURED POST";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
color: $white;
|
||||
background: $consumer-primary;
|
||||
padding: 6px 20px 6px 12px;
|
||||
}
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.featured-post-content {
|
||||
margin-top: 4em;
|
||||
}
|
||||
.featured-post-link {
|
||||
color: $consumer-primary;
|
||||
text-decoration: underline;
|
||||
}
|
||||
&::after {
|
||||
content: '';
|
||||
width: 80%;
|
||||
border-bottom: solid 1px $consumer-primary;
|
||||
position: absolute;
|
||||
bottom: -5%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
.post-list {
|
||||
.post-item {
|
||||
margin: 1em 0;
|
||||
.post-content {
|
||||
.read-more {
|
||||
white-space: nowrap;
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// styling for post categories on all-posts, category and search pages
|
||||
.post-categories {
|
||||
padding: 4em 0;
|
||||
.category-title {
|
||||
color: $consumer-primary;
|
||||
padding-left: 0;
|
||||
}
|
||||
.post-category-list {
|
||||
.category-item {
|
||||
padding-left: 0;
|
||||
position: relative;
|
||||
border: none;
|
||||
text-decoration: underline;
|
||||
a {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.post-pagination {
|
||||
h4 {
|
||||
a {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
// library includes
|
||||
@import "variables";
|
||||
@import "bootstrap";
|
||||
@import "global";
|
||||
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");
|
||||
// components
|
||||
@import "col2-circle-content";
|
||||
@import "col2-circle-cta-list";
|
||||
@import "col2-media-highlights";
|
||||
@import "col2-media-wysiwyg";
|
||||
@import "col3-card";
|
||||
@import "color-header-card-grid";
|
||||
@import "cta-buttons";
|
||||
@import "faq-dropdown";
|
||||
@import "form-with-image";
|
||||
@import "h1-heading";
|
||||
@import "h2-heading";
|
||||
@import "hero";
|
||||
@import "icon-info-grid";
|
||||
@import "icon-video-aside";
|
||||
@import "image-aside";
|
||||
@import "image-card-grid";
|
||||
@import "image-with-checklist";
|
||||
@import "image-with-icon-info-grid";
|
||||
@import "large-image";
|
||||
@import "large-video";
|
||||
@import "logo-grid";
|
||||
@import "phone-contact";
|
||||
@import "phone-contact-with-shortcode";
|
||||
@import "product-carousel";
|
||||
@import "products-list";
|
||||
@import "simple-content";
|
||||
@import "testimonial-carousel";
|
||||
@import "testimonial";
|
||||
@import "text-highlights-col";
|
||||
@import "video-aside";
|
||||
@import "video-grid";
|
||||
@import "header";
|
||||
@import "footer";
|
||||
@import "gravity-forms"; // old
|
||||
@import "woo"; // old
|
||||
@import "lifeline-style-guide";
|
||||
@import "error";
|
||||
// pages
|
||||
@import "search-results-page";
|
||||
@import "all-posts";
|
||||
@import "single-post";
|
||||
@import "post-category";
|
||||
@import "cart-summary";
|
||||
@@ -1,17 +0,0 @@
|
||||
.cart-summary p {font-size: 1.2vw;line-height: 2vw !important;}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.cart-summary p {
|
||||
font-size: 22px !important;
|
||||
line-height: 4.5vw !important;
|
||||
font-weight: lighter !important;
|
||||
color: #505050 !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 2355px) {
|
||||
.cart-summary p {
|
||||
font-size: 22px !important;
|
||||
color: #505050 !important;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
.col2-circle-content-slice-container {
|
||||
.highlighted-circle {
|
||||
img {
|
||||
border-radius: 50%;
|
||||
width: 225px;
|
||||
height: 225px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
.highlighted-circle-title {
|
||||
color: $consumer-primary
|
||||
}
|
||||
.highlighted-circle-copy {
|
||||
p {
|
||||
line-height: 41px;
|
||||
}
|
||||
}
|
||||
.highlighted-circle-link {
|
||||
a {
|
||||
line-height: 41px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
.col2-circle-cta-list-slice-container {
|
||||
.circle-image {
|
||||
padding: 0 0 20px;
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
color: $consumer-primary;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
.col2-media-highlights-slice-container {
|
||||
.border-side-1 {
|
||||
border-right: 1px solid black;
|
||||
}
|
||||
.border-side-3 {
|
||||
border-left: 1px solid black;
|
||||
}
|
||||
.video-aside {
|
||||
video {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.copy {
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-down(lg) {
|
||||
.border-side-1 {
|
||||
border-left: none;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
.border-side-3 {
|
||||
border-left: none;
|
||||
border-bottom: 1px solid black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.col2-media-highlights-slice-container {
|
||||
.copy {
|
||||
strong {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.col2-media-highlights-slice-container {
|
||||
.copy {
|
||||
strong {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
.col2-media-wysiwyg-slice-container {
|
||||
.image {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.col2-media-wysiwyg-slice-container {
|
||||
.copy {
|
||||
strong {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.col2-media-wysiwyg-slice-container {
|
||||
.copy {
|
||||
strong {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
.col3-card-slice-container {
|
||||
text-align: center;
|
||||
.col3-card-wrapper {
|
||||
z-index: 1;
|
||||
.col3-card-item {
|
||||
position: relative;
|
||||
min-height: 40em;
|
||||
border: 1px solid $gray-border;
|
||||
box-shadow: 5px 5px 10px 0px rgba(119, 119, 119, 0.16);
|
||||
background-color: $white;
|
||||
.col3-card-img {
|
||||
width: 100%;
|
||||
}
|
||||
.col3-card-item-inner-wrapper {
|
||||
min-height: 350px;
|
||||
padding: 33px 25px 46px;
|
||||
.col3-card-title {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
.col3-card-link {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: fit-content;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
.color-header-card-grid-slice-container {
|
||||
.color-header-card {
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
}
|
||||
.copy {
|
||||
min-height: 17rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-color-white {
|
||||
background-color: $white;
|
||||
h4 {
|
||||
color: $light-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.header-color-pink {
|
||||
background-color: $light-pink;
|
||||
h4 {
|
||||
color: $light-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.header-color-red {
|
||||
background-color: $consumer-primary;
|
||||
h4 {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.header-color-light-blue {
|
||||
background-color: $light-blue;
|
||||
h4 {
|
||||
color: $light-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.header-color-blue {
|
||||
background-color: $business-primary;
|
||||
h4 {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
.cta-buttons-slice-container {
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
.error-link {
|
||||
color: #036396;
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
.faq-dropdown-slice-container {
|
||||
.accordion-button {
|
||||
color: #FFFFFF !important;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
&::after {
|
||||
filter: invert(1) grayscale(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.faq-dropdown-slice-container {
|
||||
.accordion-button {
|
||||
background-color: #660037 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.faq-dropdown-slice-container {
|
||||
.accordion-button {
|
||||
background-color: $business-primary !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,153 +0,0 @@
|
||||
.site-footer {
|
||||
.footer-wrapper {
|
||||
padding: 84px 0 46px 0;
|
||||
.footer-logo {
|
||||
max-width: 50%;
|
||||
}
|
||||
.footer-nav-list {
|
||||
list-style: none;
|
||||
padding-left: 0;
|
||||
.menu-item {
|
||||
a {
|
||||
font-weight: 400;
|
||||
color: $white;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
.footer-button {
|
||||
a {
|
||||
border: none;
|
||||
padding: 8px 20px;
|
||||
background-color: $secondary !important;
|
||||
color: #fff !important;
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer-phone {
|
||||
p {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
.social-icons {
|
||||
.fa-facebook,
|
||||
.fa-linkedin,
|
||||
.fa-youtube {
|
||||
font-size: 45px;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer-bottom {
|
||||
padding-top: 3rem;
|
||||
p {
|
||||
color: $light-gray;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.site-footer {
|
||||
.footer-wrapper {
|
||||
background: $consumer-primary;
|
||||
}
|
||||
.footer-bottom {
|
||||
background: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.site-footer {
|
||||
.footer-wrapper {
|
||||
background: $business-primary;
|
||||
}
|
||||
.footer-bottom {
|
||||
background: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Optional Sticky Bottom Banner
|
||||
.banner-bottom {
|
||||
display: none;
|
||||
width: 100%;
|
||||
font-size: 22px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 2px;
|
||||
background: $orange;
|
||||
.banner-bottom-wrapper {
|
||||
color: $white;
|
||||
text-align: center;
|
||||
line-height: 50px;
|
||||
.banner-bottom-link {
|
||||
.banner-bottom-text {
|
||||
display: inline-block;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 700;
|
||||
@include media-breakpoint-up(md) {
|
||||
font-size: 1.375rem;
|
||||
}
|
||||
.fa-angle-right {
|
||||
@include media-breakpoint-up(md) {
|
||||
position: relative;
|
||||
top: 4px;
|
||||
}
|
||||
}
|
||||
.banner-link-title {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 900;
|
||||
background: #fff;
|
||||
color: $orange;
|
||||
padding: 4px 8px;
|
||||
@include media-breakpoint-up(md) {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.banner-bottom-close {
|
||||
position: relative;
|
||||
top: 2.5px;
|
||||
float: right;
|
||||
padding-right: 20px;
|
||||
color: $white;
|
||||
font-size: 1.325rem;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
@include media-breakpoint-up(md) {
|
||||
font-size: 2rem;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 469px) {
|
||||
.banner-bottom .banner-bottom-wrapper .banner-bottom-link .banner-bottom-text .banner-link-title {
|
||||
font-size: 0.75rem;
|
||||
font-weight: 900;
|
||||
background: #fff;
|
||||
color: #E86826;
|
||||
padding: 4px 8px;
|
||||
position: relative;
|
||||
top: 20px;
|
||||
}
|
||||
.banner-bottom .banner-bottom-close {
|
||||
position: relative;
|
||||
top: -49px;
|
||||
float: right;
|
||||
padding-right: 5px;
|
||||
font-size: 1.325rem;
|
||||
font-weight: 400;
|
||||
cursor: pointer;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
.form-with-image-slice-container {
|
||||
.gform_heading,
|
||||
.gform_description {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -1,380 +0,0 @@
|
||||
// type elements
|
||||
body {
|
||||
font-family: 'Nunito Sans', sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(2.214581rem + 1vw);
|
||||
font-weight: 700;
|
||||
line-height: 58px;
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
h1 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
h1 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.3rem + 1vw);
|
||||
font-weight: 700;
|
||||
line-height: 55px;
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
h2 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
h2 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 30px;
|
||||
font-weight: 700;
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
h3 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
h3 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
line-height: 34px;
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
h4 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
h4 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 22px;
|
||||
line-height: 32px;
|
||||
font-weight: lighter;
|
||||
color: $light-gray;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $light-gray;
|
||||
text-decoration: none;
|
||||
font-size: 22px;
|
||||
line-height: 30px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
font-size: 22px;
|
||||
line-height: 45px;
|
||||
margin-bottom: unset;
|
||||
font-weight: lighter;
|
||||
color: $light-gray;
|
||||
}
|
||||
|
||||
// cta
|
||||
a.button--primary,
|
||||
input[type="submit"].gform_button,
|
||||
button[type="submit"].single_add_to_cart_button,
|
||||
#searchBtn {
|
||||
border: none;
|
||||
padding: 8px 20px;
|
||||
background-color: $orange !important;
|
||||
color: $white !important;
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
line-height: 36px;
|
||||
}
|
||||
|
||||
.button--primary {
|
||||
border: none;
|
||||
padding: 8px 20px;
|
||||
background-color: $orange; /* Define the actual color, not a variable */
|
||||
color: $white; /* Define the actual color, not a variable */
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
line-height: 36px;
|
||||
/* Add any additional styles you want here */
|
||||
}
|
||||
|
||||
// Background Colors Configurations
|
||||
.bg-color-white {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
.bg-color-pink {
|
||||
background-color: $light-pink;
|
||||
p {
|
||||
color: $light-gray;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-red {
|
||||
background-color: $consumer-primary;
|
||||
p {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-light-blue {
|
||||
background-color: $light-blue;
|
||||
}
|
||||
|
||||
.bg-color-blue {
|
||||
background-color: $consumer-primary;
|
||||
}
|
||||
|
||||
// Top and Bottom Background Color Configurations
|
||||
.bg-color-top-white {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $white;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-bottom-white {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $white;
|
||||
z-index: -1;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-top-pink {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $light-pink;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-bottom-pink {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $light-pink;
|
||||
z-index: -1;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-top-red {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $consumer-highlight;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-bottom-red {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $consumer-highlight;
|
||||
z-index: -1;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-top-light-blue {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::before {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $light-blue;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.bg-color-bottom-light-blue {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
&::after {
|
||||
content: ' ';
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 50%;
|
||||
background-color: $light-blue;
|
||||
z-index: -1;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Border Color Configurations
|
||||
.border-color-none {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.border-color-white {
|
||||
border: 2px solid $white;
|
||||
}
|
||||
|
||||
.border-color-red {
|
||||
border: 2px solid $consumer-primary;
|
||||
}
|
||||
|
||||
.border-color-black {
|
||||
border: 2px solid $black;
|
||||
}
|
||||
|
||||
.padding-top-none {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.padding-bottom-none {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
// Padding classes for slice configs
|
||||
.padding-top-small {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-top: 0.25rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.padding-top-medium {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-top: .75rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-top: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.padding-top-large {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-top: 0.75rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-top: 1.5rem;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-top: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.padding-bottom-small {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.padding-bottom-medium {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-bottom: .75rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-bottom: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.padding-bottom-large {
|
||||
@include media-breakpoint-up(xs) {
|
||||
padding-bottom: 0.75rem;
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
padding-bottom: 1.5rem;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-bottom: 3rem;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
div.gform_fields fieldset.gfield div.ginput_complex span input,
|
||||
div.gform_fields div.gfield div.ginput_container input {
|
||||
border-color: $gray-border;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
font-size: 18px;
|
||||
&::placeholder {
|
||||
color: $gray-placeholder;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
div.gform_fields div.gfield div.validation_message {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
div.gform_validation_errors h2.gform_submission_error {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
div.gform_confirmation_wrapper div.gform_confirmation_message {
|
||||
font-size: 18px;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
.comsumer-brand {
|
||||
.h1-heading-slice-container {
|
||||
h1 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.h1-heading-slice-container {
|
||||
h1 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
.comsumer-brand {
|
||||
.h2-heading-slice-container {
|
||||
h2 {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.h2-heading-slice-container {
|
||||
h2 {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,144 +0,0 @@
|
||||
.main-header {
|
||||
h1 {
|
||||
color: $white;
|
||||
}
|
||||
.top-bar-mobile {
|
||||
color: $light-gray;
|
||||
.top-bar-mobile-phone {
|
||||
.fa-phone-volume {
|
||||
position: relative;
|
||||
top: 3px;
|
||||
right: 5px;
|
||||
}
|
||||
p {
|
||||
margin: auto 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.top-nav-mobile {
|
||||
list-style: none;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
li {
|
||||
a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
.top-bar-items li {
|
||||
position: relative;
|
||||
align-self: center;
|
||||
margin-right: 20px;
|
||||
}
|
||||
// .top-bar-items li:first-child::after {
|
||||
// content: "|";
|
||||
// color: #505050;
|
||||
// padding-left: 14px
|
||||
// }
|
||||
.main-nav {
|
||||
.navbar-nav li.dropdown:hover>ul.dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
.dropdown-menu {
|
||||
li {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
.dropdown-toggle::after {
|
||||
content: none;
|
||||
}
|
||||
.main-logo img {
|
||||
max-width: 296px;
|
||||
}
|
||||
@include media-breakpoint-up(lg) {
|
||||
.menu-item-has-children::after {
|
||||
content: "";
|
||||
height: 20px;
|
||||
width: 1px;
|
||||
background-color: $white;
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 8px;
|
||||
top: 14px;
|
||||
}
|
||||
.menu-item-has-children:last-child::after {
|
||||
content: unset;
|
||||
}
|
||||
}
|
||||
.menu-item {
|
||||
white-space: nowrap;
|
||||
@include media-breakpoint-up(lg) {
|
||||
padding-right: 20px;
|
||||
}
|
||||
.nav-link {
|
||||
color: $white;
|
||||
}
|
||||
a {
|
||||
@include media-breakpoint-between(lg, xl) {
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-item:hover {
|
||||
color: $white;
|
||||
}
|
||||
.nav-btn {
|
||||
padding-top: 6px;
|
||||
.nav-link {
|
||||
font-size: 24px;
|
||||
}
|
||||
.fa-phone-volume {
|
||||
position: relative;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
font-size: 35px;
|
||||
color: $white;
|
||||
}
|
||||
p {
|
||||
color: $white;
|
||||
padding-top: 8px;
|
||||
}
|
||||
a {
|
||||
color: $white;
|
||||
@include media-breakpoint-between(lg, xl) {
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.main-header {
|
||||
background: $consumer-primary;
|
||||
}
|
||||
#menu-consumer {
|
||||
.dropdown-menu {
|
||||
background: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.main-header {
|
||||
background: $business-primary;
|
||||
}
|
||||
#menu-business {
|
||||
.dropdown-menu {
|
||||
background: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.get-started {
|
||||
border: none;
|
||||
padding: 0;
|
||||
background-color: #E86826 !important;
|
||||
color: #FFFFFF !important;
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
.hero-slice-container {
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: top;
|
||||
min-height: 550px;
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.hero-slice-container {
|
||||
.hero-title {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.hero-slice-container {
|
||||
.hero-title {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
.icon-info-grid-slice-container {
|
||||
.icon-card-wrapper {
|
||||
.icon-card {
|
||||
display: grid;
|
||||
grid-template-rows: 1fr auto 1fr;
|
||||
justify-items: center;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
.icon-img {
|
||||
max-width: 106px;
|
||||
}
|
||||
.content-wrapper {
|
||||
.icon-title {
|
||||
align-self: center;
|
||||
}
|
||||
.icon-link {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: fit-content;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.icon-info-grid-slice-container {
|
||||
.icon-card {
|
||||
.title {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.icon-info-grid-slice-container {
|
||||
.icon-card {
|
||||
.title {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
.icon-video-aside-slice-container {
|
||||
.icon-video-rows {
|
||||
.icon {
|
||||
img {
|
||||
width: 55px;
|
||||
}
|
||||
}
|
||||
.info {
|
||||
.title {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
.link {
|
||||
color: $blue !important;
|
||||
}
|
||||
}
|
||||
.video {
|
||||
video {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
.consumer-brand {
|
||||
.image-aside-slice-container {
|
||||
.image-aside-copy {
|
||||
strong {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.image-aside-slice-container {
|
||||
.image-aside-copy {
|
||||
strong {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
.image-card-grid-slice-container {
|
||||
.image-card {
|
||||
height: 600px;
|
||||
.image {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
.image-with-checklist-slice-container {
|
||||
.image-with-checklist-wrapper {
|
||||
@include media-breakpoint-up(lg) {
|
||||
img {
|
||||
max-width: 350px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
.image-with-icon-info-grid-slice-container {
|
||||
.image {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.icon-info-grid {
|
||||
.icon {
|
||||
img {
|
||||
width: 77px;
|
||||
}
|
||||
}
|
||||
.info {
|
||||
.title {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
.large-image-slice-container {
|
||||
.large-image {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
.large-video-slice-container {
|
||||
.large-video {
|
||||
video {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
// .page-id-631 {
|
||||
// section {
|
||||
// &:nth-of-type(odd) {
|
||||
// border-top: 10px solid $black;
|
||||
// h2 {
|
||||
// color: $black;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@@ -1,7 +0,0 @@
|
||||
.logo-grid-slice-container {
|
||||
.logo {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
// div.product-features {
|
||||
// padding-top: 50px;
|
||||
// padding-bottom: 80px;
|
||||
// div.product-features__header {
|
||||
// h2.product-features__header__heading {
|
||||
// margin-bottom: 35px;
|
||||
// }
|
||||
// }
|
||||
// div.product-features__video-wrapper {
|
||||
// border-right: 1px solid $gray-border;
|
||||
// padding-right: 30px;
|
||||
// img.product-features__video-wrapper__video-thumbnail {
|
||||
// margin-bottom: 25px;
|
||||
// }
|
||||
// }
|
||||
// div.product-features__content {
|
||||
// padding-left: 30px;
|
||||
// p {
|
||||
// margin-bottom: 25px;
|
||||
// &:last-of-type {
|
||||
// margin-bottom: 0;
|
||||
// }
|
||||
// strong {
|
||||
// color: $consumer-primary;
|
||||
// font-weight: 700;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// div.service-features {
|
||||
// padding-top: 50px;
|
||||
// padding-bottom: 80px;
|
||||
// background-color: $consumer-highlight;
|
||||
// div.service-features__header {
|
||||
// h2.service-features__header__heading {
|
||||
// margin-bottom: 35px;
|
||||
// }
|
||||
// }
|
||||
// div.service-features__video-wrapper {
|
||||
// padding-left: 30px;
|
||||
// img.service-features__video-wrapper__video-thumbnail {
|
||||
// margin-bottom: 25px;
|
||||
// }
|
||||
// }
|
||||
// div.service-features__content {
|
||||
// border-right: 1px solid $gray-border;
|
||||
// padding-right: 30px;
|
||||
// p {
|
||||
// margin-bottom: 25px;
|
||||
// &:last-of-type {
|
||||
// margin-bottom: 0;
|
||||
// }
|
||||
// strong {
|
||||
// color: $consumer-primary;
|
||||
// font-weight: 700;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@@ -1,30 +0,0 @@
|
||||
.phone-contact-with-shortcode-slice-container {
|
||||
.call-title {
|
||||
font-size: calc(1.6125rem + 1vw);
|
||||
font-weight: 700;
|
||||
line-height: 55px;
|
||||
a {
|
||||
font-size: calc(1.6125rem + 1vw);
|
||||
font-weight: 700;
|
||||
line-height: 55px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.call-title {
|
||||
color: $consumer-primary;
|
||||
a {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.call-title {
|
||||
color: $business-primary;
|
||||
a {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
.phone-contact-slice-container {
|
||||
h3 {
|
||||
font-weight: 200;
|
||||
}
|
||||
.bold-copy {
|
||||
a {
|
||||
font-size: 45px;
|
||||
font-weight: 700;
|
||||
line-height: 55px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.consumer-brand {
|
||||
.phone-contact-slice-container {
|
||||
.bold-copy {
|
||||
a {
|
||||
color: $consumer-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.business-brand {
|
||||
.phone-contact-slice-container {
|
||||
.bold-copy {
|
||||
a {
|
||||
color: $business-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
.category-page-container {
|
||||
padding: 6em 0;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
.product-carousel-slice-container {
|
||||
.products {
|
||||
.product-slide {
|
||||
.product-image {
|
||||
img {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.title {
|
||||
color: $blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||