require linkbee_path() . 'modules/icons/lifestyle.php'; ?> <div class="icon-text">Tech Lifestyle</div> </div> <div class="icon-wrapper security" data-benefit="security"> <?php require linkbee_path() . 'modules/icons/security.php'; ?> <div class="icon-text">Security</div> </div> <div class="icon-wrapper living" data-benefit="living"> <?php require linkbee_path() . 'modules/icons/living.php'; ?> <div class="icon-text">Independent Living</div> </div> <div class="icon-wrapper energy" data-benefit="energy"> <?php require linkbee_path() . 'modules/icons/energy.php'; ?> <div class="icon-text">Energy</div> </div> <div class="icon-wrapper heart" data-benefit="health"> <?php require linkbee_path() . 'modules/icons/heart.php'; ?> <div class="icon-text">Health</div> </div> </div> </div>
<?php /** * For printing out the indivudal hexagons */ require linkbee_path() . 'modules/about-layouts.php'; function print_hexagons($employees) { $layout = create_layout(count($employees) - 1); $employee_count = 0; $hex_count = 0; $row_ends = [4, 8]; $row_count = 1; echo '<div class="hex-row row-1">'; foreach ($layout as $type) { switch ($type) { case 'face': print_face_hexagon($employees[$employee_count]); $employee_count++; break; case 'light-yellow': print_hexagon('FBF1A2'); break; case 'dark-yellow': print_hexagon('F8E446'); break; case 'logo': print_logo_hexagon(); } $hex_count++; if (in_array($hex_count, $row_ends)) {
/** * Home page template for LinkBee website * author: Tom Lagier * email: tom@tomlagier.com */ get_header(); ?> <div class="content-wrapper"> <div class="module hero"> <?php require linkbee_path() . 'modules/video.php'; require linkbee_path() . 'modules/graphic.php'; ?> </div> <?php require linkbee_path() . 'modules/benefits.php'; require linkbee_path() . 'modules/about.php'; require linkbee_path() . 'modules/advisors.php'; require linkbee_path() . 'modules/contact-form.php'; ?> </div> <div class="overlays"> <?php require linkbee_path() . 'modules/contact-form-overlay.php'; ?> </div> <?php get_footer();
<div class="module about"> <div class="module-inner"> <div class="upper-text"> <?php $about_post = get_posts(array('post_type' => 'linkbee_content', 'posts_per_page' => 1, 'tag' => 'about-us')); ?> <h2><?php echo $about_post[0]->post_title; ?> </h2> <p><?php echo $about_post[0]->post_content; ?> </p> </div> <div class="about-hexagons"> <div class="desktop-only"> <?php require linkbee_path() . 'modules/about-hexagons.php'; ?> </div> <div class="mobile-only"> <?php require linkbee_path() . 'modules/about-hexagons-mobile.php'; ?> </div> </div> </div> </div>
> <div class="loader"></div> <div id="page" class="hfeed site"> <div id="wrap-header" class="wrap-header"> <header id="masthead" class="site-header module"> <div class="site-branding module-inner"> <h1 class="site-title"><a href="<?php echo esc_url(home_url('/')); ?> " rel="home"> <img class="site-logo" src="<?php echo get_theme_mod('site_logo', trailingslashit(get_stylesheet_directory_uri()) . 'assets/images/logos/site-logo.png'); ?> " /> </a></h1> </div> <nav id="site-navigation" class="site-navigation"> <button class="menu-toggle"> <?php require_once linkbee_path() . '/components/hamburger.php'; ?> </button> <div class="main-menu"><?php wp_nav_menu(array('theme_location' => 'header', 'menu_id' => 'menu-header', 'menu_class' => 'menu-inline')); ?> </div> </nav> </header> </div> <div id="wrap-main" class="wrap-main">