use Jchck\Titles; use Jchck\Work; ?> <?php if (is_singular( 'work' )) { ?> <div class="md-flex justify-between items-center border-top pt2 pb2"> <h1 class="<?= Titles\classes(); ?>"> <?= Titles\title(); ?> </h1> <a style="max-width: 270px" class="flex items-center logo-work right" href="<?= Work\link(); ?>" target="_blank"> <div class="flex-auto"> <p class="caps m0 mr2">Project Link</p> </div> <?= Work\svg(); ?> </a> </div> <?} elseif (is_front_page() || is_page( 'ck' )) { ?> <h1 class="mt4 mb1 h1-fp"> <span class="hide">Justin Chick is a front-end WordPress developer located in Western Massachusetts</span> I'm a tried and true front-end developer with 6 + years experience. </h1> <p class="h2 mb1">I believe in simple, extendable, and reusable code.</p> <p class="h2 m0 mb4">I believe in design that lets users do what they need to. Quickly.</p> <?} elseif(is_page_template( 'template-landing-seo.php' )) { ?> <h1 class="mt4 mb1 h1-fp">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer felis urna, ornare non pulvinar id, pellentesque eu mi.</h1>
use Jchck\Work; // Used for the case studies (logic/work) ?> <article class="col-12 work"> <h2 class="<?php echo Titles\classes(); ?> border-top border-width-skinny"><a class="text-decoration-none" href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <div class="sm-flex items-center logo-work"> <a class="block center" href="<?php the_permalink(); ?> "> <?php echo Work\svg(); ?> </a> <div class="flex-auto sm-ml3"> <?php echo Excerpt\excerpt(); ?> </div> </div> </article>