mirror of
https://github.com/ascribe/wp-theme
synced 2024-12-22 01:03:40 +01:00
convert tabs to spaces in whole codebase, closes #17
This commit is contained in:
parent
ab1d13bebb
commit
3c468ef1f2
36
.jshintrc
36
.jshintrc
@ -1,20 +1,20 @@
|
||||
{
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"sub": true,
|
||||
"undef": true,
|
||||
"boss": true,
|
||||
"eqnull": true,
|
||||
"validthis": true,
|
||||
"globals": {
|
||||
"exports": true,
|
||||
"module": false,
|
||||
"console": true,
|
||||
"document": true,
|
||||
"window": true,
|
||||
}
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
"immed": true,
|
||||
"latedef": true,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"sub": true,
|
||||
"undef": true,
|
||||
"boss": true,
|
||||
"eqnull": true,
|
||||
"validthis": true,
|
||||
"globals": {
|
||||
"exports": true,
|
||||
"module": false,
|
||||
"console": true,
|
||||
"document": true,
|
||||
"window": true,
|
||||
}
|
||||
}
|
||||
|
20
404.php
20
404.php
@ -10,15 +10,15 @@ $controller = new Controller();
|
||||
?>
|
||||
<?php get_template_part( 'template', 'header' ); ?>
|
||||
|
||||
<main class="above-chevron">
|
||||
<section class='subtemplate four-oh-four'>
|
||||
<div class='centered-content-padding'>
|
||||
<div class='centered-footer'>
|
||||
<h1>This page doesn't exist!</h1>
|
||||
<div>Don't worry. You can either go to our <a href="/">homepage</a> or read our <a href="/blog">blog</a>.</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
<main class="above-chevron">
|
||||
<section class='subtemplate four-oh-four'>
|
||||
<div class='centered-content-padding'>
|
||||
<div class='centered-footer'>
|
||||
<h1>This page doesn't exist!</h1>
|
||||
<div>Don't worry. You can either go to our <a href="/">homepage</a> or read our <a href="/blog">blog</a>.</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
10
archive.php
10
archive.php
@ -5,15 +5,15 @@ echo '<div class="centered-content-padding">';
|
||||
echo '<div class="column-container">';
|
||||
echo '<div class="blog-column">';
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
|
||||
get_template_part( 'content', 'blog' );
|
||||
get_template_part( 'content', 'blog' );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
get_template_part( 'content', 'noposts' );
|
||||
get_template_part( 'content', 'noposts' );
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,201 +1,201 @@
|
||||
//GLOBALS
|
||||
body,
|
||||
html {
|
||||
.copyTextSmall;
|
||||
font-smoothing: antialiased;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
.copyTextSmall;
|
||||
font-smoothing: antialiased;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
&.page-template-template-companyblue {
|
||||
.copyText;
|
||||
}
|
||||
&.page-template-template-companyblue {
|
||||
.copyText;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: @blueBright;
|
||||
text-decoration: none;
|
||||
color: @blueBright;
|
||||
|
||||
&:hover {
|
||||
color: @pink;
|
||||
}
|
||||
&:hover {
|
||||
color: @pink;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//FONTS
|
||||
.fontLight {
|
||||
font-family: "canada-type-gibson",sans-serif;
|
||||
font-weight: 200;
|
||||
font-family: "canada-type-gibson",sans-serif;
|
||||
font-weight: 200;
|
||||
}
|
||||
.fontRegular {
|
||||
font-family: "canada-type-gibson",sans-serif;
|
||||
font-weight: 400;
|
||||
font-family: "canada-type-gibson",sans-serif;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
// GENERAL TEXT STYLES
|
||||
.sectionHeader {
|
||||
&:extend(.fontLight);
|
||||
font-size: 34px;
|
||||
color: @blueBright;
|
||||
line-height: 1.2;
|
||||
margin: 35px 0;
|
||||
text-align: center;
|
||||
&:extend(.fontLight);
|
||||
font-size: 34px;
|
||||
color: @blueBright;
|
||||
line-height: 1.2;
|
||||
margin: 35px 0;
|
||||
text-align: center;
|
||||
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
font-size: 30px;
|
||||
}
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
.subsectionHeader {
|
||||
&:extend(.fontLight);
|
||||
font-size: 31px;
|
||||
color: @black;
|
||||
line-height: 37px;
|
||||
text-align: center;
|
||||
&:extend(.fontLight);
|
||||
font-size: 31px;
|
||||
color: @black;
|
||||
line-height: 37px;
|
||||
text-align: center;
|
||||
}
|
||||
.h1, h1 {
|
||||
&:extend(.fontLight);
|
||||
font-size: 36px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
&:extend(.fontLight);
|
||||
font-size: 36px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.h2, h2 {
|
||||
&:extend(.fontRegular);
|
||||
font-size: 26px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
&:extend(.fontRegular);
|
||||
font-size: 26px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.h3, h3 {
|
||||
&:extend(.fontLight);
|
||||
font-size: 27px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
&:extend(.fontLight);
|
||||
font-size: 27px;
|
||||
color: @pink;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.h4, h4 {
|
||||
&:extend(.fontRegular);
|
||||
font-size: 26px;
|
||||
color: @black;
|
||||
line-height: 1.2;
|
||||
&:extend(.fontRegular);
|
||||
font-size: 26px;
|
||||
color: @black;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.h5, h5 {
|
||||
&:extend(.fontLight);
|
||||
font-size: 26px;
|
||||
color: @black;
|
||||
line-height: 1.2;
|
||||
&:extend(.fontLight);
|
||||
font-size: 26px;
|
||||
color: @black;
|
||||
line-height: 1.2;
|
||||
}
|
||||
.h6, h6 {
|
||||
&:extend(.fontRegular);
|
||||
color: @pink;
|
||||
font-size: 15px;
|
||||
line-height: 19px;
|
||||
&:extend(.fontRegular);
|
||||
color: @pink;
|
||||
font-size: 15px;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
.copyText {
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 18px;
|
||||
line-height: 22px;
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 18px;
|
||||
line-height: 22px;
|
||||
}
|
||||
.copyTextMedium {
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 17px;
|
||||
line-height: 21px;
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 17px;
|
||||
line-height: 21px;
|
||||
}
|
||||
.copyTextSmall {
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 15px;
|
||||
line-height: 19px;
|
||||
&:extend(.fontLight);
|
||||
color: @blueDeep;
|
||||
font-size: 15px;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
// SPECIALIZED TEXT STYLES
|
||||
.heroText {
|
||||
&:extend(.fontLight);
|
||||
font-size: 37px;
|
||||
color: @white;
|
||||
line-height: 44px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 37px;
|
||||
color: @white;
|
||||
line-height: 44px;
|
||||
}
|
||||
.tourNavText {
|
||||
&:extend(.fontLight);
|
||||
font-size: 25px;
|
||||
line-height: 30px;
|
||||
color: @blueBright;
|
||||
&:extend(.fontLight);
|
||||
font-size: 25px;
|
||||
line-height: 30px;
|
||||
color: @blueBright;
|
||||
|
||||
}
|
||||
.signInUpText {
|
||||
&:extend(.fontLight);
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
color: @white;
|
||||
text-transform: uppercase;
|
||||
&:extend(.fontLight);
|
||||
font-size: 17px;
|
||||
line-height: 20px;
|
||||
color: @white;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.featureCircleH1 {
|
||||
&:extend(.fontLight);
|
||||
font-size: 20px;
|
||||
color: @pink;
|
||||
letter-spacing: 1.11px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 22px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 20px;
|
||||
color: @pink;
|
||||
letter-spacing: 1.11px;
|
||||
line-height: 24px;
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
.caseStudyText {
|
||||
&:extend(.fontRegular);
|
||||
font-size: 23px;
|
||||
color: @white;
|
||||
line-height: 28px;
|
||||
&:extend(.fontRegular);
|
||||
font-size: 23px;
|
||||
color: @white;
|
||||
line-height: 28px;
|
||||
}
|
||||
.oldWayNewWayTH {
|
||||
&:extend(.fontLight);
|
||||
font-size: 24px;
|
||||
color: @pink;
|
||||
line-height: 29px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 24px;
|
||||
color: @pink;
|
||||
line-height: 29px;
|
||||
}
|
||||
.blueBoxTitle {
|
||||
&:extend(.fontRegular);
|
||||
font-size: 43px;
|
||||
color: @white;
|
||||
line-height: 52px;
|
||||
text-align: center;
|
||||
&:extend(.fontRegular);
|
||||
font-size: 43px;
|
||||
color: @white;
|
||||
line-height: 52px;
|
||||
text-align: center;
|
||||
}
|
||||
.blueBoxCopy {
|
||||
&:extend(.fontLight);
|
||||
font-size: 43px;
|
||||
color: @white;
|
||||
line-height: 52px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 43px;
|
||||
color: @white;
|
||||
line-height: 52px;
|
||||
}
|
||||
.galleriesPressTitle {
|
||||
&:extend(.fontLight);
|
||||
font-size: 30px;
|
||||
color: @black;
|
||||
line-height: 36px;
|
||||
margin-bottom: 50px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 30px;
|
||||
color: @black;
|
||||
line-height: 36px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.featureBlogDesc {
|
||||
&:extend(.fontLight);
|
||||
font-size: 13px;
|
||||
color: @blueBright;
|
||||
line-height: 22.79px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 13px;
|
||||
color: @blueBright;
|
||||
line-height: 22.79px;
|
||||
}
|
||||
.featureBlogTitle {
|
||||
&:extend(.fontLight);
|
||||
font-size: 17px;
|
||||
color: @greyText;
|
||||
line-height: 22.79px;
|
||||
text-transform: uppercase;
|
||||
&:extend(.fontLight);
|
||||
font-size: 17px;
|
||||
color: @greyText;
|
||||
line-height: 22.79px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.teamName {
|
||||
&:extend(.fontRegular);
|
||||
color: @black;
|
||||
font-size: 19px;
|
||||
&:extend(.fontRegular);
|
||||
color: @black;
|
||||
font-size: 19px;
|
||||
}
|
||||
.footerText {
|
||||
&:extend(.fontLight);
|
||||
font-size: 14px;
|
||||
color: @white;
|
||||
line-height: 25px;
|
||||
&:extend(.fontLight);
|
||||
font-size: 14px;
|
||||
color: @white;
|
||||
line-height: 25px;
|
||||
}
|
||||
.subfooterText {
|
||||
color: @blackish;
|
||||
font-size: 13px;
|
||||
line-height: 14px;
|
||||
color: @blackish;
|
||||
font-size: 13px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
|
||||
@ -203,136 +203,136 @@ a {
|
||||
|
||||
// DEVICES
|
||||
.button {
|
||||
display: inline-block;
|
||||
padding: 25px 40px;
|
||||
&:extend(.fontRegular);
|
||||
border: 1px solid;
|
||||
font-size: 22px;
|
||||
line-height: 26px;
|
||||
text-decoration: none;
|
||||
min-width: 265px;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
padding: 25px 40px;
|
||||
&:extend(.fontRegular);
|
||||
border: 1px solid;
|
||||
font-size: 22px;
|
||||
line-height: 26px;
|
||||
text-decoration: none;
|
||||
min-width: 265px;
|
||||
text-align: center;
|
||||
|
||||
&.blue {
|
||||
@bgColor: @blueBright;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&:hover {
|
||||
background-color: fade(@bgColor,50);
|
||||
}
|
||||
}
|
||||
&.blue {
|
||||
@bgColor: @blueBright;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&:hover {
|
||||
background-color: fade(@bgColor,50);
|
||||
}
|
||||
}
|
||||
|
||||
&.pink {
|
||||
@bgColor: @pink;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&:hover {
|
||||
background-color: fade(@bgColor,50);
|
||||
}
|
||||
}
|
||||
&.pink {
|
||||
@bgColor: @pink;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&:hover {
|
||||
background-color: fade(@bgColor,50);
|
||||
}
|
||||
}
|
||||
|
||||
&.blue-overPic {
|
||||
@bgColor: @blueBright;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&.blue-overPic {
|
||||
@bgColor: @blueBright;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
|
||||
&:hover {
|
||||
background-color: @white;
|
||||
color: @bgColor;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: @white;
|
||||
color: @bgColor;
|
||||
}
|
||||
}
|
||||
|
||||
&.pink-overPic {
|
||||
@bgColor: @pink;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
&.pink-overPic {
|
||||
@bgColor: @pink;
|
||||
color: @white;
|
||||
background-color: @bgColor;
|
||||
border-color: @bgColor;
|
||||
|
||||
&:hover {
|
||||
background-color: @white;
|
||||
color: @bgColor;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: @white;
|
||||
color: @bgColor;
|
||||
}
|
||||
}
|
||||
|
||||
&.white-blue {
|
||||
@bgColor: @white;
|
||||
color: @blueBright;
|
||||
background-color: @bgColor;
|
||||
border-color: @blueBright;
|
||||
&.white-blue {
|
||||
@bgColor: @white;
|
||||
color: @blueBright;
|
||||
background-color: @bgColor;
|
||||
border-color: @blueBright;
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@blueBright,50);
|
||||
color: @white;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: fade(@blueBright,50);
|
||||
color: @white;
|
||||
}
|
||||
}
|
||||
|
||||
&.small {
|
||||
&:extend(.fontLight);
|
||||
padding: 5px 15px;
|
||||
font-size: 14px;
|
||||
color: @white;
|
||||
background-color: transparent;
|
||||
border-color: @white;
|
||||
min-width: auto;
|
||||
&.small {
|
||||
&:extend(.fontLight);
|
||||
padding: 5px 15px;
|
||||
font-size: 14px;
|
||||
color: @white;
|
||||
background-color: transparent;
|
||||
border-color: @white;
|
||||
min-width: auto;
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@white,40);
|
||||
border-color: fade(@white,40);
|
||||
color: @white;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background-color: fade(@white,40);
|
||||
border-color: fade(@white,40);
|
||||
color: @white;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: @smallWidth) {
|
||||
min-width: initial;
|
||||
}
|
||||
@media screen and (max-width: @smallWidth) {
|
||||
min-width: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.chevron-divider {
|
||||
background-image: url(../../images/svg/ascribe-chevron.svg);
|
||||
background-position: bottom;
|
||||
width: 100%;
|
||||
background-size: 100%;
|
||||
height: 150px;
|
||||
background-image: url(../../images/svg/ascribe-chevron.svg);
|
||||
background-position: bottom;
|
||||
width: 100%;
|
||||
background-size: 100%;
|
||||
height: 150px;
|
||||
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
background-size: 120%;
|
||||
}
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
background-size: 120%;
|
||||
}
|
||||
}
|
||||
|
||||
.social-icon {
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
padding: 1px;
|
||||
fill: @white;
|
||||
background-color: @greySocial;
|
||||
border-radius: 5px;
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
padding: 1px;
|
||||
fill: @white;
|
||||
background-color: @greySocial;
|
||||
border-radius: 5px;
|
||||
|
||||
&:hover {
|
||||
background-color: fade(@greySocial,40);
|
||||
}
|
||||
&:hover {
|
||||
background-color: fade(@greySocial,40);
|
||||
}
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 0;
|
||||
height: 2px;
|
||||
background: @greyHr;
|
||||
margin: 40px 0;
|
||||
border: 0;
|
||||
height: 2px;
|
||||
background: @greyHr;
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.blueGradient {
|
||||
background-color: @blueBright;
|
||||
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#519cad+0,67c4da+100 */
|
||||
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUxOWNhZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2N2M0ZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(81,156,173,1) 0%, rgba(103,196,218,1) 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,156,173,1)), color-stop(100%,rgba(103,196,218,1))); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#519cad', endColorstr='#67c4da',GradientType=0 ); /* IE6-8 */
|
||||
background-color: @blueBright;
|
||||
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#519cad+0,67c4da+100 */
|
||||
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
|
||||
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUxOWNhZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2N2M0ZGEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
|
||||
background: -moz-linear-gradient(top, rgba(81,156,173,1) 0%, rgba(103,196,218,1) 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(81,156,173,1)), color-stop(100%,rgba(103,196,218,1))); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, rgba(81,156,173,1) 0%,rgba(103,196,218,1) 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#519cad', endColorstr='#67c4da',GradientType=0 ); /* IE6-8 */
|
||||
|
||||
}
|
||||
|
@ -9,24 +9,24 @@
|
||||
// to ensure the container has a height. Use .no-clearfix to reset a clearfix
|
||||
// when in a dicey spot
|
||||
.clearfix {
|
||||
zoom: 1;
|
||||
&:before, &:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
zoom: 1;
|
||||
&:before, &:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
.no-clearfix {
|
||||
zoom: 0;
|
||||
&:before,
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
&:after {
|
||||
clear: none;
|
||||
}
|
||||
zoom: 0;
|
||||
&:before,
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
&:after {
|
||||
clear: none;
|
||||
}
|
||||
}
|
||||
|
||||
// CENTERED
|
||||
@ -34,157 +34,157 @@
|
||||
@centeredpadding: 10px;
|
||||
|
||||
.centered-header {
|
||||
.clearfix;
|
||||
max-width: 1120px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 1120px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.centered-prodFeat {
|
||||
.clearfix;
|
||||
max-width: 930px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 930px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.centered-content {
|
||||
.clearfix;
|
||||
max-width: 770px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 770px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.centered-pricing {
|
||||
.clearfix;
|
||||
max-width: 880px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 880px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.centered-content-padding {
|
||||
.clearfix;
|
||||
max-width: 950px;
|
||||
padding: 0 @centeredpadding 50px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
background-color: @white;
|
||||
.clearfix;
|
||||
max-width: 950px;
|
||||
padding: 0 @centeredpadding 50px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
background-color: @white;
|
||||
}
|
||||
|
||||
.centered-categories {
|
||||
.clearfix;
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.centered-footer {
|
||||
.clearfix;
|
||||
max-width: 650px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
.clearfix;
|
||||
max-width: 650px + 2*@centeredpadding;
|
||||
padding: 0 @centeredpadding;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
// GENERAL LIST
|
||||
// TAKES AWAY PADDING AND LIST STYLE
|
||||
ul, ol {
|
||||
padding:0;
|
||||
margin:0;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
// COLUMN SECTIONS
|
||||
|
||||
.wrapper {
|
||||
position: relative;
|
||||
overflow:hidden;
|
||||
position: relative;
|
||||
overflow:hidden;
|
||||
}
|
||||
|
||||
@paddingForCols: 30px;
|
||||
.ttl-columns {
|
||||
font-size:0;
|
||||
width:100%;
|
||||
width: calc(~"100% +"@paddingForCols);
|
||||
.column {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
padding-right: @paddingForCols;
|
||||
font-size: 15px;
|
||||
font-size:0;
|
||||
width:100%;
|
||||
width: calc(~"100% +"@paddingForCols);
|
||||
.column {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
padding-right: @paddingForCols;
|
||||
font-size: 15px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.column-2 {
|
||||
.column;
|
||||
width: 50%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.column-2 {
|
||||
.column;
|
||||
width: 50%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-3 {
|
||||
.column;
|
||||
width: 100/3%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.column-3 {
|
||||
.column;
|
||||
width: 100/3%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-4 {
|
||||
.column;
|
||||
width: 25%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
.column-4 {
|
||||
.column;
|
||||
width: 25%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-5 {
|
||||
.column;
|
||||
width: 20%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
.column-5 {
|
||||
.column;
|
||||
width: 20%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.column-6 {
|
||||
.column;
|
||||
width: 100/6%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 33%;
|
||||
}
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
.column-7 {
|
||||
.column;
|
||||
width: 100/7%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
.column-6 {
|
||||
.column;
|
||||
width: 100/6%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 33%;
|
||||
}
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
.column-7 {
|
||||
.column;
|
||||
width: 100/7%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 33%;
|
||||
}
|
||||
}
|
||||
|
||||
.columnTwoThirds {
|
||||
.column;
|
||||
width: 66.6%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.columnTwoThirds {
|
||||
.column;
|
||||
width: 66.6%;
|
||||
@media screen and (max-width: @middleWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.columnThreeQuarters {
|
||||
.column;
|
||||
width: 100 * 3/4%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
.columnThreeQuarters {
|
||||
.column;
|
||||
width: 100 * 3/4%;
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.column-container {
|
||||
.ttl-columns;
|
||||
.ttl-columns;
|
||||
}
|
||||
|
||||
// BORDER-BOX
|
||||
@ -193,9 +193,9 @@ ul, ol {
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// EMBED OBJECTS
|
||||
@ -204,39 +204,39 @@ img,
|
||||
embed,
|
||||
object,
|
||||
video {
|
||||
max-width: 100%;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
max-width: 100%;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// MOBILE-ONLY
|
||||
// Use this to only display something on mobile- and tablet-width devices.
|
||||
// Depending on project specs, you may wish to override this breakpoint.
|
||||
.phone-only {
|
||||
display: none;
|
||||
display: none;
|
||||
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
display: inherit;
|
||||
}
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.mobile-only {
|
||||
display: none;
|
||||
display: none;
|
||||
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
display: inherit;
|
||||
}
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
.desktop-only {
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: @tabletWidth) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.phone-and-up {
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (max-width: @phoneWidth) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// MIXINS
|
||||
@ -244,11 +244,11 @@ video {
|
||||
// TRANSITION
|
||||
// Applies a CSS transition between properties
|
||||
.transition(@property: all, @speed: 0.15s, @easing: ease-in-out) {
|
||||
-webkit-transition: @property @speed @easing;
|
||||
-moz-transition: @property @speed @easing;
|
||||
-ms-transition: @property @speed @easing;
|
||||
-o-transition: @property @speed @easing;
|
||||
transition: @property @speed @easing;
|
||||
-webkit-transition: @property @speed @easing;
|
||||
-moz-transition: @property @speed @easing;
|
||||
-ms-transition: @property @speed @easing;
|
||||
-o-transition: @property @speed @easing;
|
||||
transition: @property @speed @easing;
|
||||
}
|
||||
|
||||
///**
|
||||
@ -268,8 +268,8 @@ video {
|
||||
// **/
|
||||
|
||||
.selection(@text-color, @background-color) {
|
||||
&::-moz-selection {color: @text-color; background-color: @background-color;}
|
||||
&::selection {color: @text-color; background-color: @background-color;}
|
||||
&::-moz-selection {color: @text-color; background-color: @background-color;}
|
||||
&::selection {color: @text-color; background-color: @background-color;}
|
||||
}
|
||||
|
||||
// * =========================================================== *
|
||||
@ -284,33 +284,33 @@ video {
|
||||
|
||||
|
||||
.placeholder(@color:#aaa, @element: 08121991) {
|
||||
.inception (@arguments) when not (@element = 08121991) {
|
||||
@{element}::-webkit-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}:-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}::-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}:-ms-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
.inception (@arguments) when (@element = 08121991) {
|
||||
&::-webkit-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&:-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&::-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
.inception(@arguments);
|
||||
.inception (@arguments) when not (@element = 08121991) {
|
||||
@{element}::-webkit-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}:-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}::-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
@{element}:-ms-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
.inception (@arguments) when (@element = 08121991) {
|
||||
&::-webkit-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&:-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&::-moz-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
color: @color;
|
||||
}
|
||||
}
|
||||
.inception(@arguments);
|
||||
}
|
||||
|
128
assets/less/vendor/normalize.less
vendored
128
assets/less/vendor/normalize.less
vendored
@ -7,9 +7,9 @@
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -17,12 +17,12 @@ html {
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
@ -46,7 +46,7 @@ main,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -58,8 +58,8 @@ audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -68,8 +68,8 @@ video {
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -79,7 +79,7 @@ audio:not([controls]) {
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
@ -90,7 +90,7 @@ template {
|
||||
*/
|
||||
|
||||
a {
|
||||
background: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -99,7 +99,7 @@ a {
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
@ -110,7 +110,7 @@ a:hover {
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -119,7 +119,7 @@ abbr[title] {
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -127,7 +127,7 @@ strong {
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -136,8 +136,8 @@ dfn {
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -145,8 +145,8 @@ h1 {
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -154,7 +154,7 @@ mark {
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -163,18 +163,18 @@ small {
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
@ -185,7 +185,7 @@ sub {
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
@ -197,7 +197,7 @@ img {
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -205,9 +205,9 @@ figure {
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -215,7 +215,7 @@ hr {
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -226,8 +226,8 @@ code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
@ -250,9 +250,9 @@ input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -260,7 +260,7 @@ textarea {
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -272,7 +272,7 @@ button {
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -287,8 +287,8 @@ button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -297,7 +297,7 @@ input[type="submit"] {
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -306,8 +306,8 @@ html input[disabled] {
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -316,7 +316,7 @@ input::-moz-focus-inner {
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -329,8 +329,8 @@ input {
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -341,7 +341,7 @@ input[type="radio"] {
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -351,10 +351,10 @@ input[type="number"]::-webkit-outer-spin-button {
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -365,7 +365,7 @@ input[type="search"] {
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -373,9 +373,9 @@ input[type="search"]::-webkit-search-decoration {
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -384,8 +384,8 @@ fieldset {
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
@ -393,7 +393,7 @@ legend {
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -402,7 +402,7 @@ textarea {
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
@ -413,11 +413,11 @@ optgroup {
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
padding: 0;
|
||||
}
|
@ -1,25 +1,25 @@
|
||||
<?php
|
||||
if ( ! defined( 'PROJECT' ) ) {
|
||||
define( 'PROJECT', __DIR__ . '/includes/' );
|
||||
define( 'PROJECT', __DIR__ . '/includes/' );
|
||||
}
|
||||
|
||||
if ( ! defined( 'WPTHEME_DIR' ) ) {
|
||||
define( 'WPTHEME_DIR', __DIR__ . '/' );
|
||||
define( 'WPTHEME_DIR', __DIR__ . '/' );
|
||||
}
|
||||
|
||||
// Place any additional bootstrapping requirements here for PHP Unit.
|
||||
if ( ! defined( 'WP_LANG_DIR' ) ) {
|
||||
define( 'WP_LANG_DIR', 'lang_dir' );
|
||||
define( 'WP_LANG_DIR', 'lang_dir' );
|
||||
}
|
||||
if ( ! defined( 'WPTHEME_PATH' ) ) {
|
||||
define( 'WPTHEME_PATH', 'path' );
|
||||
define( 'WPTHEME_PATH', 'path' );
|
||||
}
|
||||
|
||||
if ( ! file_exists( __DIR__ . '/vendor/autoload.php' ) ) {
|
||||
throw new PHPUnit_Framework_Exception(
|
||||
'ERROR' . PHP_EOL . PHP_EOL .
|
||||
'You must use Composer to install the test suite\'s dependencies!' . PHP_EOL
|
||||
);
|
||||
throw new PHPUnit_Framework_Exception(
|
||||
'ERROR' . PHP_EOL . PHP_EOL .
|
||||
'You must use Composer to install the test suite\'s dependencies!' . PHP_EOL
|
||||
);
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
|
@ -1,27 +1,27 @@
|
||||
{
|
||||
"name": "ascribe",
|
||||
"description": "The best WordPress theme ever made!",
|
||||
"version": "0.0.1",
|
||||
"type": "wordpress-theme",
|
||||
"keywords": [],
|
||||
"homepage": "http://wordpress.org/themes",
|
||||
"license": "GPLv2.0+",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Territorial",
|
||||
"email": "us@territorial.ca",
|
||||
"homepage": "http://territorial.ca",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"name": "ascribe",
|
||||
"description": "The best WordPress theme ever made!",
|
||||
"version": "0.0.1",
|
||||
"type": "wordpress-theme",
|
||||
"keywords": [],
|
||||
"homepage": "http://wordpress.org/themes",
|
||||
"license": "GPLv2.0+",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Territorial",
|
||||
"email": "us@territorial.ca",
|
||||
"homepage": "http://territorial.ca",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"php": ">=5.4"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"antecedent/patchwork": "1.2.*",
|
||||
"antecedent/patchwork": "1.2.*",
|
||||
"phpunit/phpunit" : "*@stable",
|
||||
"brianium/paratest" : "dev-master",
|
||||
"brianium/paratest" : "dev-master",
|
||||
"10up/wp_mock" : "dev-master"
|
||||
}
|
||||
}
|
||||
|
@ -8,16 +8,16 @@ $lname = get_the_author_meta('last_name');
|
||||
$full_name = '';
|
||||
|
||||
if( empty($fname)){
|
||||
$full_name = $lname;
|
||||
$full_name = $lname;
|
||||
} elseif( empty( $lname )){
|
||||
$full_name = $fname;
|
||||
$full_name = $fname;
|
||||
} else {
|
||||
//both first name and last name are present
|
||||
$full_name = "{$fname} {$lname}";
|
||||
//both first name and last name are present
|
||||
$full_name = "{$fname} {$lname}";
|
||||
}
|
||||
|
||||
if (strlen($full_name) <= 0) {
|
||||
$full_name = 'ascribe';
|
||||
$full_name = 'ascribe';
|
||||
}
|
||||
|
||||
$url = get_the_permalink();
|
||||
@ -25,33 +25,33 @@ $url = get_the_permalink();
|
||||
?>
|
||||
|
||||
<article <?php post_class(); ?>>
|
||||
<h2><?php echo get_the_category_list(); ?></h2>
|
||||
<?php echo "<h1><a href='{$url}'>{$title}</a></h1>" ?>
|
||||
<h2><?php echo get_the_category_list(); ?></h2>
|
||||
<?php echo "<h1><a href='{$url}'>{$title}</a></h1>" ?>
|
||||
|
||||
<div class="image">
|
||||
<?php
|
||||
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
|
||||
<div class="image">
|
||||
<?php
|
||||
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
|
||||
|
||||
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'blog-crop');
|
||||
echo "<img src='{$thumb[0]}' alt='{$title} image'>";
|
||||
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'blog-crop');
|
||||
echo "<img src='{$thumb[0]}' alt='{$title} image'>";
|
||||
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="meta">
|
||||
<?php echo get_avatar( get_the_author_email(), 'size here' ); ?>
|
||||
<span class="author">by <?php echo $full_name; ?></span>
|
||||
on <date><?php the_time( get_option( 'date_format' ) ); ?></date>
|
||||
</div>
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="meta">
|
||||
<?php echo get_avatar( get_the_author_email(), 'size here' ); ?>
|
||||
<span class="author">by <?php echo $full_name; ?></span>
|
||||
on <date><?php the_time( get_option( 'date_format' ) ); ?></date>
|
||||
</div>
|
||||
|
||||
<main class="entry">
|
||||
<?php
|
||||
if ( ! is_singular() ) {
|
||||
the_excerpt();
|
||||
echo "<a href='{$url}'>Read More</a>";
|
||||
} else {
|
||||
the_content();
|
||||
}
|
||||
?>
|
||||
</main>
|
||||
<main class="entry">
|
||||
<?php
|
||||
if ( ! is_singular() ) {
|
||||
the_excerpt();
|
||||
echo "<a href='{$url}'>Read More</a>";
|
||||
} else {
|
||||
the_content();
|
||||
}
|
||||
?>
|
||||
</main>
|
||||
</article>
|
@ -1,4 +1,4 @@
|
||||
<?php $controller = new Controller(); ?>
|
||||
<main class="above-chevron">
|
||||
<?php echo $controller->loopSubtemplates(); ?>
|
||||
<?php echo $controller->loopSubtemplates(); ?>
|
||||
</main>
|
@ -1,7 +1,7 @@
|
||||
|
||||
<main>
|
||||
<section class="subtemplate">
|
||||
<h1>No Posts</h1>
|
||||
<div>Sorry, there are no posts for this category!</div>
|
||||
</section>
|
||||
<section class="subtemplate">
|
||||
<h1>No Posts</h1>
|
||||
<div>Sorry, there are no posts for this category!</div>
|
||||
</section>
|
||||
</main>
|
File diff suppressed because it is too large
Load Diff
@ -6,14 +6,14 @@
|
||||
|
||||
class Controller {
|
||||
|
||||
public function __construct() {
|
||||
spl_autoload_register(function ($class) {
|
||||
require_once 'classes/' . $class . '.php';
|
||||
});
|
||||
}
|
||||
public function __construct() {
|
||||
spl_autoload_register(function ($class) {
|
||||
require_once 'classes/' . $class . '.php';
|
||||
});
|
||||
}
|
||||
|
||||
public function loopSubtemplates() {
|
||||
$controller = new Subtemplate();
|
||||
return $controller->loopSubtemplates();
|
||||
}
|
||||
public function loopSubtemplates() {
|
||||
$controller = new Subtemplate();
|
||||
return $controller->loopSubtemplates();
|
||||
}
|
||||
}
|
@ -16,18 +16,18 @@ $url = get_bloginfo('wpurl');
|
||||
|
||||
//<editor-fold desc="Get Title">
|
||||
if(isset($passInTitle)) {
|
||||
$title = $passInTitle;
|
||||
$title = $passInTitle;
|
||||
}
|
||||
else {
|
||||
$title = get_the_title();
|
||||
$title = get_the_title();
|
||||
}
|
||||
|
||||
if (strpos($title, 'Home') !== false)
|
||||
{
|
||||
$title = '';
|
||||
$title = '';
|
||||
}
|
||||
else {
|
||||
$title .= ' | ';
|
||||
$title .= ' | ';
|
||||
}
|
||||
$title .= get_bloginfo();
|
||||
//</editor-fold>
|
||||
@ -36,20 +36,20 @@ $title .= get_bloginfo();
|
||||
$description = get_the_excerpt();
|
||||
if (empty($description)) {
|
||||
|
||||
$content = get_field('subtemplate')[0]['content'];
|
||||
if (!empty($content)) {
|
||||
$description = substr(strip_tags($content),0,140)."...";
|
||||
$content = get_field('subtemplate')[0]['content'];
|
||||
if (!empty($content)) {
|
||||
$description = substr(strip_tags($content),0,140)."...";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
if (empty($description)) {
|
||||
$description = get_bloginfo('description');
|
||||
$description = get_bloginfo('description');
|
||||
}
|
||||
//</editor-fold>
|
||||
|
||||
//<editor-fold desc="Get Image">
|
||||
$image = get_field('header_image')['url'];
|
||||
if (empty($image)) {
|
||||
$image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png';
|
||||
$image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png';
|
||||
}
|
||||
//</editor-fold>
|
@ -16,20 +16,20 @@ $url = get_bloginfo('wpurl');
|
||||
|
||||
//<editor-fold desc="Get Title">
|
||||
if(isset($passInTitle)) {
|
||||
$title = $passInTitle;
|
||||
$title = $passInTitle;
|
||||
}
|
||||
else {
|
||||
$title = get_the_title();
|
||||
$title = get_the_title();
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (strpos($title, 'Home') !== false)
|
||||
{
|
||||
$title = '';
|
||||
$title = '';
|
||||
}
|
||||
else {
|
||||
$title .= ' | ';
|
||||
$title .= ' | ';
|
||||
}
|
||||
$title .= get_bloginfo();
|
||||
//</editor-fold>
|
||||
@ -38,21 +38,21 @@ $title .= get_bloginfo();
|
||||
$description = get_the_excerpt();
|
||||
if (empty($description)) {
|
||||
|
||||
$content = get_field('subtemplate')[0]['content'];
|
||||
if (!empty($content)) {
|
||||
$description = substr(strip_tags($content),0,140)."...";
|
||||
$content = get_field('subtemplate')[0]['content'];
|
||||
if (!empty($content)) {
|
||||
$description = substr(strip_tags($content),0,140)."...";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
if (empty($description)) {
|
||||
$description = get_bloginfo('description');
|
||||
$description = get_bloginfo('description');
|
||||
}
|
||||
//</editor-fold>
|
||||
|
||||
//<editor-fold desc="Get Image">
|
||||
$image = get_field('header_image')['url'];
|
||||
if (empty($image)) {
|
||||
$image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png';
|
||||
$image = WPTHEME_TEMPLATE_URL.'/images/ico/apple-touch-icon-152x152.png';
|
||||
}
|
||||
//</editor-fold>
|
||||
|
||||
@ -60,4 +60,3 @@ if (empty($image)) {
|
||||
$signInLink = get_field('sign_in_link','option');
|
||||
$signUpLink = get_field('sign_up_link','option');
|
||||
//</editor-fold>
|
||||
|
||||
|
238
footer.php
238
footer.php
@ -14,147 +14,147 @@ $themeUrl = WPTHEME_TEMPLATE_URL . '/';
|
||||
|
||||
$facebook = get_field('facebook_url','option');
|
||||
if ($facebook) {
|
||||
$facebookIcon = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon replaced-svg">
|
||||
$facebookIcon = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon replaced-svg">
|
||||
<path d="M17.502747,3.688797H6.498352c-1.513306,0-2.751221,1.237915-2.751221,2.75122v11.003296 c0,1.514038,1.237915,2.751221,2.751221,2.751221h6.271484v-6.535889h-2.172913v-2.698975h2.172913V9.601334 c0-1.9469,1.461792-3.530945,3.259399-3.530945h2.172974v2.69043h-2.172974c-0.256165,0-0.54303,0.348633-0.54303,0.814941v1.383911 h2.716003v2.698975h-2.716003v6.535889h2.016541c1.513,0,2.750122-1.237183,2.750122-2.751221V6.440017 C20.252869,4.926712,19.015747,3.688797,17.502747,3.688797z"></path>
|
||||
</svg>';
|
||||
$facebook = "<li><a href='{$facebook}' target='_blank' class='facebook'>{$facebookIcon}</a></li>";
|
||||
$facebook = "<li><a href='{$facebook}' target='_blank' class='facebook'>{$facebookIcon}</a></li>";
|
||||
}
|
||||
|
||||
$github = get_field('github_url','option');
|
||||
if ($github) {
|
||||
$gitIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$gitIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<path d="M12,2.675904c-5.246338,0-9.5,4.253662-9.5,9.5c0,4.197998,2.72175,7.758179,6.497035,9.01409
|
||||
c0.474889,0.086985,0.648264-0.206421,0.648264-0.456909c0-0.226143-0.008702-0.975271-0.013341-1.768484
|
||||
C6.990234,19.538626,6.43185,17.84436,6.43185,17.84436c-0.432547-1.097046-1.054723-1.389282-1.054723-1.389282
|
||||
c-0.863368-0.589111,0.065498-0.577515,0.065498-0.577515c0.953823,0.066092,1.455986,0.97876,1.455986,0.97876
|
||||
c0.847726,1.451904,2.224244,1.032104,2.764649,0.788574c0.086353-0.612305,0.332203-1.032104,0.603027-1.268677
|
||||
C8.157435,16.136179,5.939,15.320923,5.939,11.680717c0-1.037912,0.370518-1.884452,0.977015-2.549525
|
||||
C6.819179,8.88998,6.492153,7.923392,7.009939,6.61588c0,0,0.796701-0.255127,2.612722,0.974121
|
||||
c0.757255-0.211635,1.569615-0.316005,2.377319-0.319493c0.80713,0.003488,1.620047,0.109009,2.378489,0.320643
|
||||
c1.81257-1.230398,2.610421-0.974121,2.610421-0.974121c0.519531,1.308681,0.192505,2.2741,0.095093,2.514161
|
||||
c0.608816,0.665073,0.97644,1.511631,0.97644,2.549525c0,3.649484-2.221924,4.453124-4.338308,4.688546
|
||||
c0.342111,0.294556,0.644775,0.87207,0.644775,1.758057c0,1.269846-0.012766,2.293823-0.012766,2.606934
|
||||
c0,0.252808,0.172782,0.548513,0.654053,0.45574C18.780588,19.931763,21.5,16.371582,21.5,12.175903
|
||||
C21.5,6.929566,17.246338,2.675904,12,2.675904z"/>
|
||||
c0.474889,0.086985,0.648264-0.206421,0.648264-0.456909c0-0.226143-0.008702-0.975271-0.013341-1.768484
|
||||
C6.990234,19.538626,6.43185,17.84436,6.43185,17.84436c-0.432547-1.097046-1.054723-1.389282-1.054723-1.389282
|
||||
c-0.863368-0.589111,0.065498-0.577515,0.065498-0.577515c0.953823,0.066092,1.455986,0.97876,1.455986,0.97876
|
||||
c0.847726,1.451904,2.224244,1.032104,2.764649,0.788574c0.086353-0.612305,0.332203-1.032104,0.603027-1.268677
|
||||
C8.157435,16.136179,5.939,15.320923,5.939,11.680717c0-1.037912,0.370518-1.884452,0.977015-2.549525
|
||||
C6.819179,8.88998,6.492153,7.923392,7.009939,6.61588c0,0,0.796701-0.255127,2.612722,0.974121
|
||||
c0.757255-0.211635,1.569615-0.316005,2.377319-0.319493c0.80713,0.003488,1.620047,0.109009,2.378489,0.320643
|
||||
c1.81257-1.230398,2.610421-0.974121,2.610421-0.974121c0.519531,1.308681,0.192505,2.2741,0.095093,2.514161
|
||||
c0.608816,0.665073,0.97644,1.511631,0.97644,2.549525c0,3.649484-2.221924,4.453124-4.338308,4.688546
|
||||
c0.342111,0.294556,0.644775,0.87207,0.644775,1.758057c0,1.269846-0.012766,2.293823-0.012766,2.606934
|
||||
c0,0.252808,0.172782,0.548513,0.654053,0.45574C18.780588,19.931763,21.5,16.371582,21.5,12.175903
|
||||
C21.5,6.929566,17.246338,2.675904,12,2.675904z"/>
|
||||
</svg>
|
||||
';
|
||||
$github = "<li><a href='{$github}' target='_blank' class='github'>{$gitIcon}</a></li>";
|
||||
$github = "<li><a href='{$github}' target='_blank' class='github'>{$gitIcon}</a></li>";
|
||||
}
|
||||
|
||||
$instagram = get_field('instagram_url','option');
|
||||
if ($instagram) {
|
||||
$instagramIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$instagramIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<path d="M19.255823,10.502824h-1.559658c0.135622,0.406867,0.203432,0.881545,0.203432,1.356224
|
||||
c0,2.983694-2.441203,5.424897-5.424897,5.424897s-5.424898-2.441203-5.424898-5.424897
|
||||
c0-0.474679,0.067811-0.949357,0.203433-1.356224H5.693578v7.459235c0,0.406866,0.271245,0.678112,0.678112,0.678112h12.206019
|
||||
c0.406868,0,0.678114-0.271246,0.678114-0.678112V10.502824z M19.255823,5.756038c0-0.406868-0.271246-0.678112-0.678114-0.678112
|
||||
h-2.034336c-0.406868,0-0.678112,0.271245-0.678112,0.678112v2.034337c0,0.406867,0.271244,0.678112,0.678112,0.678112h2.034336
|
||||
c0.406868,0,0.678114-0.271245,0.678114-0.678112V5.756038z M12.4747,8.468487c-1.898714,0-3.390561,1.491848-3.390561,3.390561
|
||||
s1.491847,3.390561,3.390561,3.390561s3.390561-1.491847,3.390561-3.390561S14.373414,8.468487,12.4747,8.468487
|
||||
M19.255823,20.674507H5.693578c-1.152791,0-2.034337-0.881546-2.034337-2.034336V5.077926
|
||||
c0-1.152791,0.881546-2.034337,2.034337-2.034337h13.562245c1.15279,0,2.034336,0.881546,2.034336,2.034337v13.562245
|
||||
C21.290159,19.792961,20.408613,20.674507,19.255823,20.674507"/>
|
||||
c0,2.983694-2.441203,5.424897-5.424897,5.424897s-5.424898-2.441203-5.424898-5.424897
|
||||
c0-0.474679,0.067811-0.949357,0.203433-1.356224H5.693578v7.459235c0,0.406866,0.271245,0.678112,0.678112,0.678112h12.206019
|
||||
c0.406868,0,0.678114-0.271246,0.678114-0.678112V10.502824z M19.255823,5.756038c0-0.406868-0.271246-0.678112-0.678114-0.678112
|
||||
h-2.034336c-0.406868,0-0.678112,0.271245-0.678112,0.678112v2.034337c0,0.406867,0.271244,0.678112,0.678112,0.678112h2.034336
|
||||
c0.406868,0,0.678114-0.271245,0.678114-0.678112V5.756038z M12.4747,8.468487c-1.898714,0-3.390561,1.491848-3.390561,3.390561
|
||||
s1.491847,3.390561,3.390561,3.390561s3.390561-1.491847,3.390561-3.390561S14.373414,8.468487,12.4747,8.468487
|
||||
M19.255823,20.674507H5.693578c-1.152791,0-2.034337-0.881546-2.034337-2.034336V5.077926
|
||||
c0-1.152791,0.881546-2.034337,2.034337-2.034337h13.562245c1.15279,0,2.034336,0.881546,2.034336,2.034337v13.562245
|
||||
C21.290159,19.792961,20.408613,20.674507,19.255823,20.674507"/>
|
||||
</svg>';
|
||||
$instagram = "<li><a href='{$instagram}' target='_blank' class='instagram'>{$instagramIcon}</a></li>";
|
||||
$instagram = "<li><a href='{$instagram}' target='_blank' class='instagram'>{$instagramIcon}</a></li>";
|
||||
}
|
||||
|
||||
$linkedin = get_field('linkedin_link','option');
|
||||
if ($linkedin) {
|
||||
$linkedIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$linkedIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<g>
|
||||
<rect x="5.017809" y="8.190847" width="3.427236" height="11.995403"/>
|
||||
<path d="M18.100838,8.8747c-1.275997-0.716306-3.158699-0.776488-4.514939-0.15739V8.190847h-3.427236v11.995403h3.427236
|
||||
v-7.671779l1.41224-0.679668c0.346379-0.166374,1.10544-0.151271,1.426956,0.02951
|
||||
c0.242357,0.135392,0.588039,0.696245,0.588039,1.039294v7.282643h3.427237v-7.282643
|
||||
C20.440371,11.328789,19.456303,9.633682,18.100838,8.8747z"/>
|
||||
<circle cx="6.731427" cy="4.763844" r="2.141945"/>
|
||||
<rect x="5.017809" y="8.190847" width="3.427236" height="11.995403"/>
|
||||
<path d="M18.100838,8.8747c-1.275997-0.716306-3.158699-0.776488-4.514939-0.15739V8.190847h-3.427236v11.995403h3.427236
|
||||
v-7.671779l1.41224-0.679668c0.346379-0.166374,1.10544-0.151271,1.426956,0.02951
|
||||
c0.242357,0.135392,0.588039,0.696245,0.588039,1.039294v7.282643h3.427237v-7.282643
|
||||
C20.440371,11.328789,19.456303,9.633682,18.100838,8.8747z"/>
|
||||
<circle cx="6.731427" cy="4.763844" r="2.141945"/>
|
||||
</g>
|
||||
</svg>
|
||||
';
|
||||
$linkedin = "<li><a href='{$linkedin}' target='_blank' class='linkedin'>{$linkedIcon}</a></li>";
|
||||
$linkedin = "<li><a href='{$linkedin}' target='_blank' class='linkedin'>{$linkedIcon}</a></li>";
|
||||
}
|
||||
|
||||
$medium = get_field('medium_url','option');
|
||||
if ($medium) {
|
||||
$mediumIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$mediumIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<g id="g10" transform="matrix(1.3333333,0,0,-1.3333333,0,126.66667)">
|
||||
<g id="g12" transform="scale(0.1)">
|
||||
<path id="path14" d="M166.979996,907.168213h-6.089111c-2.260651,0-5.457886-3.261108-5.457886-5.348938v-75.672424
|
||||
c0-2.090393,3.197235-4.939575,5.457886-4.939575h6.089111V803.2453h-55.168983v17.961975h11.546997v79.545959h-0.565804
|
||||
L95.82766,803.2453H74.95134l-26.616726,97.507935h-0.673573v-79.545959h11.546993V803.2453H13.020055v17.961975h5.914332
|
||||
c2.435684,0,5.632662,2.849182,5.632662,4.939575v75.672424c0,2.08783-3.196978,5.348938-5.632662,5.348938h-5.914332v17.962036
|
||||
H70.77607l18.962349-70.565002h0.521667l19.137733,70.565002h57.582176V907.168213"/>
|
||||
</g>
|
||||
<g id="g12" transform="scale(0.1)">
|
||||
<path id="path14" d="M166.979996,907.168213h-6.089111c-2.260651,0-5.457886-3.261108-5.457886-5.348938v-75.672424
|
||||
c0-2.090393,3.197235-4.939575,5.457886-4.939575h6.089111V803.2453h-55.168983v17.961975h11.546997v79.545959h-0.565804
|
||||
L95.82766,803.2453H74.95134l-26.616726,97.507935h-0.673573v-79.545959h11.546993V803.2453H13.020055v17.961975h5.914332
|
||||
c2.435684,0,5.632662,2.849182,5.632662,4.939575v75.672424c0,2.08783-3.196978,5.348938-5.632662,5.348938h-5.914332v17.962036
|
||||
H70.77607l18.962349-70.565002h0.521667l19.137733,70.565002h57.582176V907.168213"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>';
|
||||
$medium = "<li><a href='{$medium}' target='_blank' class='medium'>{$mediumIcon}</a></li>";
|
||||
$medium = "<li><a href='{$medium}' target='_blank' class='medium'>{$mediumIcon}</a></li>";
|
||||
}
|
||||
|
||||
$reddit = get_field('reddit_url','option');
|
||||
if ($reddit) {
|
||||
$redditIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$redditIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<path d="M21.500202,11.34273c0-1.153058-0.893827-2.087798-1.99642-2.087798c-0.698593,0-1.312998,0.375515-1.669735,0.943782
|
||||
c-1.385969-0.966459-3.25451-1.588227-5.327679-1.668936c-0.015877-1.482683,0.150045-2.583934,0.934364-2.945143l0.038683-0.017789
|
||||
l0.034919-0.024283c0.704523-0.490029,1.672995-0.22697,2.729114,0.186711c-0.010494,0.091261-0.016529,0.183963-0.016529,0.278195
|
||||
c0,1.256454,0.960447,2.278692,2.140947,2.278692c1.180546,0,2.140993-1.022237,2.140993-2.278692
|
||||
s-0.960447-2.278644-2.140993-2.278644c-0.769131,0-1.444595,0.434105-1.822134,1.084015
|
||||
c-1.241854-0.482018-2.482408-0.800331-3.546845-0.085355c-1.279602,0.618151-1.481442,2.176948-1.460395,3.804788
|
||||
c-2.076787,0.089254-3.946097,0.720717-5.325937,1.69783C5.864388,9.618558,5.226207,9.20863,4.496219,9.20863
|
||||
c-1.102592,0-1.99642,0.934735-1.99642,2.087799c0,0.951335,0.608674,1.753484,1.440812,2.005238
|
||||
c-0.085638,0.336285-0.132809,0.681999-0.132809,1.03569c0,3.212727,3.688456,5.817154,8.238398,5.817154
|
||||
s8.238397-2.604427,8.238397-5.817154c0-0.348615-0.0459-0.689465-0.12915-1.021208
|
||||
C20.937929,13.033583,21.500202,12.257064,21.500202,11.34273z M7.456427,13.167045c0-0.665358,0.526536-1.204735,1.176053-1.204735
|
||||
c0.649515,0,1.176052,0.539377,1.176052,1.204735S9.281995,14.37178,8.63248,14.37178
|
||||
C7.982963,14.37178,7.456427,13.832402,7.456427,13.167045z M15.263037,16.858324
|
||||
c-1.045108,0.580391-2.207019,1.128075-3.542299,1.128075c-1.034142,0-2.172241-0.328432-3.440885-1.224594
|
||||
c-0.21737-0.153557-0.269135-0.454271-0.11558-0.67164c0.15351-0.217323,0.454224-0.269183,0.67164-0.11558
|
||||
c2.452436,1.732372,4.218222,1.007978,5.959159,0.041178c0.232711-0.129321,0.526083-0.045366,0.655263,0.187298
|
||||
C15.579562,16.435772,15.495701,16.729097,15.263037,16.858324z M14.753683,14.268519
|
||||
c-0.649516,0-1.176053-0.539378-1.176053-1.204736s0.526537-1.204736,1.176053-1.204736s1.176052,0.539378,1.176052,1.204736
|
||||
S15.403199,14.268519,14.753683,14.268519z"/>
|
||||
c-1.385969-0.966459-3.25451-1.588227-5.327679-1.668936c-0.015877-1.482683,0.150045-2.583934,0.934364-2.945143l0.038683-0.017789
|
||||
l0.034919-0.024283c0.704523-0.490029,1.672995-0.22697,2.729114,0.186711c-0.010494,0.091261-0.016529,0.183963-0.016529,0.278195
|
||||
c0,1.256454,0.960447,2.278692,2.140947,2.278692c1.180546,0,2.140993-1.022237,2.140993-2.278692
|
||||
s-0.960447-2.278644-2.140993-2.278644c-0.769131,0-1.444595,0.434105-1.822134,1.084015
|
||||
c-1.241854-0.482018-2.482408-0.800331-3.546845-0.085355c-1.279602,0.618151-1.481442,2.176948-1.460395,3.804788
|
||||
c-2.076787,0.089254-3.946097,0.720717-5.325937,1.69783C5.864388,9.618558,5.226207,9.20863,4.496219,9.20863
|
||||
c-1.102592,0-1.99642,0.934735-1.99642,2.087799c0,0.951335,0.608674,1.753484,1.440812,2.005238
|
||||
c-0.085638,0.336285-0.132809,0.681999-0.132809,1.03569c0,3.212727,3.688456,5.817154,8.238398,5.817154
|
||||
s8.238397-2.604427,8.238397-5.817154c0-0.348615-0.0459-0.689465-0.12915-1.021208
|
||||
C20.937929,13.033583,21.500202,12.257064,21.500202,11.34273z M7.456427,13.167045c0-0.665358,0.526536-1.204735,1.176053-1.204735
|
||||
c0.649515,0,1.176052,0.539377,1.176052,1.204735S9.281995,14.37178,8.63248,14.37178
|
||||
C7.982963,14.37178,7.456427,13.832402,7.456427,13.167045z M15.263037,16.858324
|
||||
c-1.045108,0.580391-2.207019,1.128075-3.542299,1.128075c-1.034142,0-2.172241-0.328432-3.440885-1.224594
|
||||
c-0.21737-0.153557-0.269135-0.454271-0.11558-0.67164c0.15351-0.217323,0.454224-0.269183,0.67164-0.11558
|
||||
c2.452436,1.732372,4.218222,1.007978,5.959159,0.041178c0.232711-0.129321,0.526083-0.045366,0.655263,0.187298
|
||||
C15.579562,16.435772,15.495701,16.729097,15.263037,16.858324z M14.753683,14.268519
|
||||
c-0.649516,0-1.176053-0.539378-1.176053-1.204736s0.526537-1.204736,1.176053-1.204736s1.176052,0.539378,1.176052,1.204736
|
||||
S15.403199,14.268519,14.753683,14.268519z"/>
|
||||
</svg>';
|
||||
$reddit = "<li><a href='{$reddit}' target='_blank' class='reddit'>{$redditIcon}</a></li>";
|
||||
$reddit = "<li><a href='{$reddit}' target='_blank' class='reddit'>{$redditIcon}</a></li>";
|
||||
}
|
||||
|
||||
$tumblr = get_field('tumblr_url','option');
|
||||
if ($tumblr) {
|
||||
$tumblrIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$tumblrIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<path d="M12.806825,2.675906v4.285488h4.284753v3.307951h-4.284753v4.751539c0,1.075847-0.013974,1.695121,0.100188,1.999938
|
||||
c0.112938,0.303263,0.396588,0.617723,0.705491,0.799631c0.410562,0.245815,0.878657,0.368723,1.40657,0.368723
|
||||
c0.938063,0,1.871799-0.304817,2.799485-0.914532v2.923214c-0.790804,0.371908-1.509045,0.633657-2.150712,0.784513
|
||||
c-0.642402,0.149221-1.336697,0.225058-2.082476,0.225058c-0.847193,0-1.347157-0.106972-1.997976-0.320017
|
||||
c-0.65082-0.21468-1.20619-0.52113-1.665539-0.914612c-0.460412-0.396589-0.778464-0.81802-0.956453-1.263313
|
||||
c-0.177494-0.44611-0.266081-1.093334-0.266081-1.940855v-6.499288H6.181442V7.645392
|
||||
C6.909242,7.409139,7.753575,7.07,8.271518,6.629447C8.79183,6.186523,9.208031,5.657385,9.522081,5.037374
|
||||
c0.314786-0.61854,0.531099-1.406976,0.649185-2.361468H12.806825z"/>
|
||||
c0.112938,0.303263,0.396588,0.617723,0.705491,0.799631c0.410562,0.245815,0.878657,0.368723,1.40657,0.368723
|
||||
c0.938063,0,1.871799-0.304817,2.799485-0.914532v2.923214c-0.790804,0.371908-1.509045,0.633657-2.150712,0.784513
|
||||
c-0.642402,0.149221-1.336697,0.225058-2.082476,0.225058c-0.847193,0-1.347157-0.106972-1.997976-0.320017
|
||||
c-0.65082-0.21468-1.20619-0.52113-1.665539-0.914612c-0.460412-0.396589-0.778464-0.81802-0.956453-1.263313
|
||||
c-0.177494-0.44611-0.266081-1.093334-0.266081-1.940855v-6.499288H6.181442V7.645392
|
||||
C6.909242,7.409139,7.753575,7.07,8.271518,6.629447C8.79183,6.186523,9.208031,5.657385,9.522081,5.037374
|
||||
c0.314786-0.61854,0.531099-1.406976,0.649185-2.361468H12.806825z"/>
|
||||
</svg>
|
||||
';
|
||||
$tumblr = "<li><a href='{$tumblr}' target='_blank' class='tumblr'>{$tumblrIcon}</a></li>";
|
||||
$tumblr = "<li><a href='{$tumblr}' target='_blank' class='tumblr'>{$tumblrIcon}</a></li>";
|
||||
}
|
||||
|
||||
$twitter = get_field('twitter_url','option');
|
||||
if ($twitter) {
|
||||
$twitIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
$twitIcon = '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve" class="social-icon">
|
||||
<path d="M22.021578,5.726143c-0.737148,0.32688-1.530106,0.548534-2.361347,0.647079
|
||||
c0.849844-0.508886,1.501448-1.314126,1.80793-2.274726c-0.794682,0.471035-1.67498,0.813644-2.611732,0.997087
|
||||
c-0.749146-0.79856-1.818058-1.297966-3.00103-1.297966c-2.270847,0-4.111745,1.841544-4.111745,4.111745
|
||||
c0,0.322642,0.035769,0.636161,0.106231,0.936753c-3.418051-0.171879-6.44781-1.807929-8.476029-4.296983
|
||||
C3.02004,5.158,2.817276,5.864336,2.817276,6.617646c0,1.425673,0.725657,2.684709,1.828974,3.422288
|
||||
c-0.673368-0.020685-1.307806-0.206571-1.86223-0.513483c0,0.016879,0,0.03541,0,0.050853
|
||||
c0,1.993814,1.416838,3.654788,3.298388,4.032162c-0.344693,0.096103-0.708419,0.144873-1.083637,0.144873
|
||||
c-0.264822,0-0.522605-0.024565-0.773349-0.073334c0.522892,1.633608,2.041148,2.8229,3.841321,2.854791
|
||||
c-1.407716,1.10339-3.180954,1.760237-5.107755,1.760237c-0.332123,0-0.659362-0.018244-0.980567-0.056814
|
||||
c1.819852,1.165447,3.981596,1.8465,6.304014,1.8465c7.563841,0,11.699073-6.265157,11.699073-11.699072
|
||||
c0-0.179564-0.00388-0.357046-0.011206-0.531655C20.774107,7.274566,21.47168,6.550345,22.021578,5.726143z"/>
|
||||
c0.849844-0.508886,1.501448-1.314126,1.80793-2.274726c-0.794682,0.471035-1.67498,0.813644-2.611732,0.997087
|
||||
c-0.749146-0.79856-1.818058-1.297966-3.00103-1.297966c-2.270847,0-4.111745,1.841544-4.111745,4.111745
|
||||
c0,0.322642,0.035769,0.636161,0.106231,0.936753c-3.418051-0.171879-6.44781-1.807929-8.476029-4.296983
|
||||
C3.02004,5.158,2.817276,5.864336,2.817276,6.617646c0,1.425673,0.725657,2.684709,1.828974,3.422288
|
||||
c-0.673368-0.020685-1.307806-0.206571-1.86223-0.513483c0,0.016879,0,0.03541,0,0.050853
|
||||
c0,1.993814,1.416838,3.654788,3.298388,4.032162c-0.344693,0.096103-0.708419,0.144873-1.083637,0.144873
|
||||
c-0.264822,0-0.522605-0.024565-0.773349-0.073334c0.522892,1.633608,2.041148,2.8229,3.841321,2.854791
|
||||
c-1.407716,1.10339-3.180954,1.760237-5.107755,1.760237c-0.332123,0-0.659362-0.018244-0.980567-0.056814
|
||||
c1.819852,1.165447,3.981596,1.8465,6.304014,1.8465c7.563841,0,11.699073-6.265157,11.699073-11.699072
|
||||
c0-0.179564-0.00388-0.357046-0.011206-0.531655C20.774107,7.274566,21.47168,6.550345,22.021578,5.726143z"/>
|
||||
</svg>';
|
||||
$twitter = "<li><a href='{$twitter}' target='_blank' class='twitter'>{$twitIcon}</a></li>";
|
||||
$twitter = "<li><a href='{$twitter}' target='_blank' class='twitter'>{$twitIcon}</a></li>";
|
||||
}
|
||||
|
||||
|
||||
@ -162,33 +162,33 @@ if ($twitter) {
|
||||
?>
|
||||
<div class="chevron-divider"></div>
|
||||
<footer>
|
||||
<section class="top-footer">
|
||||
<div class="centered-footer">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
<div class="contact">
|
||||
<a href="<?php echo $consultLink; ?>" class="button small">Request information</a>
|
||||
<div><?php echo $address; ?></div>
|
||||
<div><a href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bottom-footer">
|
||||
<div class="centered-footer">
|
||||
<div class="eu-fund"><img src="https://www.ascribe.io/wp-content/uploads/2015/11/eu-dev-fund.png" /></div>
|
||||
<div class="copyright"><?php echo $year; ?> © ascribe GmbH</div>
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'lower-footer-menu', 'container' => false ) ); ?>
|
||||
<ul class="social">
|
||||
<?php echo $facebook; ?>
|
||||
<?php echo $github; ?>
|
||||
<?php echo $instagram; ?>
|
||||
<?php echo $linkedin; ?>
|
||||
<?php echo $medium; ?>
|
||||
<?php echo $reddit; ?>
|
||||
<?php echo $tumblr; ?>
|
||||
<?php echo $twitter; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<section class="top-footer">
|
||||
<div class="centered-footer">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
<div class="contact">
|
||||
<a href="<?php echo $consultLink; ?>" class="button small">Request information</a>
|
||||
<div><?php echo $address; ?></div>
|
||||
<div><a href="mailto:<?php echo $email; ?>"><?php echo $email; ?></a></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bottom-footer">
|
||||
<div class="centered-footer">
|
||||
<div class="eu-fund"><img src="https://www.ascribe.io/wp-content/uploads/2015/11/eu-dev-fund.png" /></div>
|
||||
<div class="copyright"><?php echo $year; ?> © ascribe GmbH</div>
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'lower-footer-menu', 'container' => false ) ); ?>
|
||||
<ul class="social">
|
||||
<?php echo $facebook; ?>
|
||||
<?php echo $github; ?>
|
||||
<?php echo $instagram; ?>
|
||||
<?php echo $linkedin; ?>
|
||||
<?php echo $medium; ?>
|
||||
<?php echo $reddit; ?>
|
||||
<?php echo $tumblr; ?>
|
||||
<?php echo $twitter; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
</footer>
|
||||
</div>
|
||||
<?php wp_footer(); ?>
|
||||
|
@ -35,8 +35,8 @@ add_filter( 'post_thumbnail_html', 'remove_thumbnail_dimensions', 10 );
|
||||
add_filter( 'image_send_to_editor', 'remove_thumbnail_dimensions', 10 );
|
||||
|
||||
function remove_thumbnail_dimensions( $html ) {
|
||||
$html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html );
|
||||
return $html;
|
||||
$html = preg_replace( '/(width|height)=\"\d*\"\s/', "", $html );
|
||||
return $html;
|
||||
}
|
||||
|
||||
//remove emoji script
|
||||
@ -50,27 +50,27 @@ remove_action( 'admin_print_styles', 'print_emoji_styles' );
|
||||
|
||||
// TURN ON ACF SETTINGS PAGE
|
||||
if( function_exists('acf_add_options_page') ) {
|
||||
acf_add_options_page(array(
|
||||
'page_title' => 'Theme General Settings',
|
||||
'menu_title' => 'Theme Settings',
|
||||
'menu_slug' => 'theme-general-settings',
|
||||
'capability' => 'edit_posts',
|
||||
'redirect' => false
|
||||
));
|
||||
acf_add_options_page(array(
|
||||
'page_title' => 'Theme General Settings',
|
||||
'menu_title' => 'Theme Settings',
|
||||
'menu_slug' => 'theme-general-settings',
|
||||
'capability' => 'edit_posts',
|
||||
'redirect' => false
|
||||
));
|
||||
}
|
||||
|
||||
//add excerpt to page
|
||||
function wpcodex_add_excerpt_support_for_pages() {
|
||||
add_post_type_support( 'page', 'excerpt' );
|
||||
add_post_type_support( 'page', 'excerpt' );
|
||||
}
|
||||
add_action( 'init', 'wpcodex_add_excerpt_support_for_pages' );
|
||||
|
||||
|
||||
//Register Navigation
|
||||
function register_primary_nav_menu() {
|
||||
register_nav_menu('landing-menu',__( 'Product Tour Navigation Menu' ));
|
||||
register_nav_menu('main-footer-menu',__( 'Main Footer Navigation Menu' ));
|
||||
register_nav_menu('lower-footer-menu',__( 'Lower Footer Navigation Menu' ));
|
||||
register_nav_menu('landing-menu',__( 'Product Tour Navigation Menu' ));
|
||||
register_nav_menu('main-footer-menu',__( 'Main Footer Navigation Menu' ));
|
||||
register_nav_menu('lower-footer-menu',__( 'Lower Footer Navigation Menu' ));
|
||||
}
|
||||
add_action( 'init', 'register_primary_nav_menu');
|
||||
|
||||
@ -80,9 +80,9 @@ add_theme_support( 'post-thumbnails' );
|
||||
|
||||
// ENABLE HR IN WSYWIG
|
||||
function enable_more_buttons($buttons) {
|
||||
$buttons[] = 'hr';
|
||||
$buttons[] = 'hr';
|
||||
|
||||
return $buttons;
|
||||
return $buttons;
|
||||
}
|
||||
add_filter("mce_buttons", "enable_more_buttons");
|
||||
|
||||
@ -91,14 +91,14 @@ add_filter("mce_buttons", "enable_more_buttons");
|
||||
// THUMBNAIL ADD CUSTOM SIZE
|
||||
add_action( 'after_setup_theme', 'ttl_image_setup' );
|
||||
function ttl_image_setup() {
|
||||
add_image_size( 'blog-crop', 600, 350, true ); //(cropped)
|
||||
add_image_size( 'blog-feature-crop', 300, 175, true ); //(cropped)
|
||||
add_image_size( 'blog-crop', 600, 350, true ); //(cropped)
|
||||
add_image_size( 'blog-feature-crop', 300, 175, true ); //(cropped)
|
||||
}
|
||||
|
||||
|
||||
// ADD QUERY VAR FOR EVENT PAGINATION
|
||||
add_filter('query_vars', 'add_my_var');
|
||||
function add_my_var($public_query_vars) {
|
||||
$public_query_vars[] = 'date';
|
||||
return $public_query_vars;
|
||||
$public_query_vars[] = 'date';
|
||||
return $public_query_vars;
|
||||
}
|
89
header.php
89
header.php
@ -9,11 +9,11 @@ require 'controller/init.php';
|
||||
$controller = new Controller();
|
||||
|
||||
if (!isset($headColour)) {
|
||||
$headColour = '';
|
||||
$headColour = '';
|
||||
}
|
||||
|
||||
if (is_home()) {
|
||||
$title = "Blog | ascribe";
|
||||
$title = "Blog | ascribe";
|
||||
}
|
||||
|
||||
?>
|
||||
@ -25,52 +25,52 @@ if (is_home()) {
|
||||
<html class="no-js " lang="en" itemscope itemtype="https://schema.org/Organization" xmlns="http://www.w3.org/1999/html"> <!--<![endif]-->
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
|
||||
<title><?php echo $title ?></title>
|
||||
<base href="<?php echo $url; ?>">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0">
|
||||
<meta name="description" content="<?php echo $description ?>">
|
||||
<meta property="og:title" content="<?php echo $title; ?>" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<?php echo $url; ?>" />
|
||||
<meta property="og:image" content="<?php echo $image; ?>" />
|
||||
<meta property="og:site_name" content="<?php echo get_bloginfo(); ?>" />
|
||||
<title><?php echo $title ?></title>
|
||||
<base href="<?php echo $url; ?>">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0">
|
||||
<meta name="description" content="<?php echo $description ?>">
|
||||
<meta property="og:title" content="<?php echo $title; ?>" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="<?php echo $url; ?>" />
|
||||
<meta property="og:image" content="<?php echo $image; ?>" />
|
||||
<meta property="og:site_name" content="<?php echo get_bloginfo(); ?>" />
|
||||
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="<?php echo $title; ?>">
|
||||
<meta name="twitter:description" content="<?php echo $description ?>">
|
||||
<meta name="twitter:image:src" content="<?php echo $image; ?>">
|
||||
<meta name="twitter:domain" content="<?php echo $url; ?>">
|
||||
<meta name="twitter:card" content="summary">
|
||||
<meta name="twitter:title" content="<?php echo $title; ?>">
|
||||
<meta name="twitter:description" content="<?php echo $description ?>">
|
||||
<meta name="twitter:image:src" content="<?php echo $image; ?>">
|
||||
<meta name="twitter:domain" content="<?php echo $url; ?>">
|
||||
|
||||
<meta itemprop="name" content="<?php echo $title; ?>">
|
||||
<meta itemprop="description" content="<?php echo $description ?>">
|
||||
<meta itemprop="image" content="<?php echo $image; ?>">
|
||||
<meta itemprop="name" content="<?php echo $title; ?>">
|
||||
<meta itemprop="description" content="<?php echo $description ?>">
|
||||
<meta itemprop="image" content="<?php echo $image; ?>">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-194x194.png" sizes="194x194">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/manifest.json">
|
||||
<meta name="msapplication-TileColor" content="#d6137c">
|
||||
<meta name="msapplication-TileImage" content="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon" sizes="60x60" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-60x60.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="76x76" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-76x76.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon" sizes="120x120" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-120x120.png">
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-144x144.png">
|
||||
<link rel="apple-touch-icon" sizes="152x152" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-152x152.png">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/apple-touch-icon-180x180.png">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-194x194.png" sizes="194x194">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/android-chrome-192x192.png" sizes="192x192">
|
||||
<link rel="icon" type="image/png" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/favicon-16x16.png" sizes="16x16">
|
||||
<link rel="manifest" href="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/manifest.json">
|
||||
<meta name="msapplication-TileColor" content="#d6137c">
|
||||
<meta name="msapplication-TileImage" content="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/mstile-144x144.png">
|
||||
<meta name="msapplication-config" content="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/ico/browserconfig.xml">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
||||
<script src="https://use.typekit.net/gma2yhj.js"></script>
|
||||
<script>try{Typekit.load({ async: true });}catch(e){}</script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
||||
<script src="https://use.typekit.net/gma2yhj.js"></script>
|
||||
<script>try{Typekit.load({ async: true });}catch(e){}</script>
|
||||
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
@ -83,8 +83,7 @@ if (is_home()) {
|
||||
|
||||
</script>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body <?php body_class($headColour); ?> >
|
||||
<div class="wrapper">
|
||||
|
||||
|
10
home.php
10
home.php
@ -5,15 +5,15 @@ echo '<div class="centered-content-padding">';
|
||||
echo '<div class="column-container">';
|
||||
echo '<div class="blog-column">';
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
|
||||
get_template_part( 'content', 'blog' );
|
||||
get_template_part( 'content', 'blog' );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
get_template_part( 'content', 'noposts' );
|
||||
get_template_part( 'content', 'noposts' );
|
||||
}
|
||||
?>
|
||||
<div class="nav-previous alignleft"><?php next_posts_link( 'Older posts' ); ?></div>
|
||||
|
28
humans.txt
28
humans.txt
@ -1,21 +1,21 @@
|
||||
/* TEAM */
|
||||
Developer: Territorial
|
||||
Contact: us@territorial.ca
|
||||
URI: http://territorial.ca
|
||||
Developer: Territorial
|
||||
Contact: us@territorial.ca
|
||||
URI: http://territorial.ca
|
||||
|
||||
/* THANKS */
|
||||
Template Design: 10up
|
||||
URI: http://10up.com
|
||||
Twitter: @10up
|
||||
Template Design: 10up
|
||||
URI: http://10up.com
|
||||
Twitter: @10up
|
||||
|
||||
Template Design: Eric Mann
|
||||
URI: https://eamann.com
|
||||
Twitter: @ericmann
|
||||
Template Design: Eric Mann
|
||||
URI: https://eamann.com
|
||||
Twitter: @ericmann
|
||||
|
||||
Template Design: Luke Woodward
|
||||
URI: http://lkwdwrd.com
|
||||
Twitter: @lkwdwrd
|
||||
Template Design: Luke Woodward
|
||||
URI: http://lkwdwrd.com
|
||||
Twitter: @lkwdwrd
|
||||
|
||||
/* SITE */
|
||||
Created: Thu Sep 17 2015
|
||||
Template: https://github.com/10up/generator-wp-make
|
||||
Created: Thu Sep 17 2015
|
||||
Template: https://github.com/10up/generator-wp-make
|
||||
|
@ -11,13 +11,13 @@ namespace TenUp\ascribe\Core;
|
||||
* @return void.
|
||||
*/
|
||||
function setup() {
|
||||
$n = function( $function ) {
|
||||
return __NAMESPACE__ . "\\$function";
|
||||
};
|
||||
$n = function( $function ) {
|
||||
return __NAMESPACE__ . "\\$function";
|
||||
};
|
||||
|
||||
add_action( 'wp_enqueue_scripts', $n( 'scripts' ) );
|
||||
add_action( 'wp_enqueue_scripts', $n( 'scripts' ) );
|
||||
|
||||
add_action( 'wp_enqueue_scripts', $n( 'styles' ) );
|
||||
add_action( 'wp_enqueue_scripts', $n( 'styles' ) );
|
||||
|
||||
}
|
||||
|
||||
@ -32,25 +32,25 @@ function setup() {
|
||||
*/
|
||||
function scripts( $debug = false ) {
|
||||
|
||||
wp_deregister_script('jquery');
|
||||
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.3.2',true);
|
||||
wp_enqueue_script('jquery');
|
||||
wp_deregister_script('jquery');
|
||||
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"), false, '1.3.2',true);
|
||||
wp_enqueue_script('jquery');
|
||||
|
||||
wp_enqueue_script(
|
||||
'wptheme',
|
||||
WPTHEME_TEMPLATE_URL . "/assets/js/ascribe.min.js",
|
||||
array(),
|
||||
WPTHEME_VERSION,
|
||||
true
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'wptheme',
|
||||
WPTHEME_TEMPLATE_URL . "/assets/js/ascribe.min.js",
|
||||
array(),
|
||||
WPTHEME_VERSION,
|
||||
true
|
||||
);
|
||||
|
||||
wp_enqueue_script(
|
||||
'modernizr',
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js",
|
||||
array(),
|
||||
'2.8.3',
|
||||
false
|
||||
);
|
||||
wp_enqueue_script(
|
||||
'modernizr',
|
||||
"https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js",
|
||||
array(),
|
||||
'2.8.3',
|
||||
false
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
@ -65,12 +65,12 @@ function scripts( $debug = false ) {
|
||||
* @return void.
|
||||
*/
|
||||
function styles( $debug = false ) {
|
||||
$min = ( $debug || defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
||||
$min = ( $debug || defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
|
||||
|
||||
wp_enqueue_style(
|
||||
'wptheme',
|
||||
WPTHEME_URL . "/assets/css/ascribe{$min}.css",
|
||||
array(),
|
||||
WPTHEME_VERSION
|
||||
);
|
||||
wp_enqueue_style(
|
||||
'wptheme',
|
||||
WPTHEME_URL . "/assets/css/ascribe{$min}.css",
|
||||
array(),
|
||||
WPTHEME_VERSION
|
||||
);
|
||||
}
|
@ -13,4 +13,3 @@ msgstr ""
|
||||
"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
|
||||
"X-Poedit-Basepath: .\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
|
@ -1,21 +1,21 @@
|
||||
<phpunit
|
||||
bootstrap="bootstrap.php.dist"
|
||||
backupGlobals="false"
|
||||
processIsolation="false"
|
||||
colors="false">
|
||||
<testsuites>
|
||||
<testsuite name="Default">
|
||||
<directory suffix="Tests.php">./tests/phpunit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">./includes</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<php>
|
||||
<ini name="error_reporting" value="32767" />
|
||||
<ini name="display_errors" value="1" />
|
||||
<ini name="display_startup_errors" value="1" />
|
||||
</php>
|
||||
bootstrap="bootstrap.php.dist"
|
||||
backupGlobals="false"
|
||||
processIsolation="false"
|
||||
colors="false">
|
||||
<testsuites>
|
||||
<testsuite name="Default">
|
||||
<directory suffix="Tests.php">./tests/phpunit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">./includes</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<php>
|
||||
<ini name="error_reporting" value="32767" />
|
||||
<ini name="display_errors" value="1" />
|
||||
<ini name="display_startup_errors" value="1" />
|
||||
</php>
|
||||
</phpunit>
|
||||
|
@ -10,11 +10,11 @@ $banner = get_field('banner_for_blog_sidebar','option');
|
||||
|
||||
$image = '';
|
||||
if ($banner) {
|
||||
$image = "<img src='{$banner['url']}' alt='{$banner['alt']}'>";
|
||||
$image = "<img src='{$banner['url']}' alt='{$banner['alt']}'>";
|
||||
}
|
||||
?>
|
||||
|
||||
<aside class="blog-sidebar">
|
||||
<?php echo $image; ?>
|
||||
<?php echo $controller->blogFeatures("sidebar"); ?>
|
||||
<?php echo $image; ?>
|
||||
<?php echo $controller->blogFeatures("sidebar"); ?>
|
||||
</aside>
|
@ -3,15 +3,15 @@ get_header();
|
||||
get_template_part( 'template', 'blogheader' );
|
||||
echo '<div class="centered-content-padding">';
|
||||
if ( have_posts() ) {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
|
||||
get_template_part( 'content', 'blog' );
|
||||
get_template_part( 'content', 'blog' );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
get_template_part( 'content', 'noposts' );
|
||||
get_template_part( 'content', 'noposts' );
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
|
@ -10,41 +10,41 @@ require 'controller/init.php';
|
||||
|
||||
?>
|
||||
<header class="blog">
|
||||
<div class="centered-header">
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-white.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
<div class="centered-header">
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-white.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
|
||||
</div>
|
||||
<div class="chevron-divider"></div>
|
||||
<h1><a href="/blog">ascribe blog</a></h1>
|
||||
</div>
|
||||
<div class="chevron-divider"></div>
|
||||
<h1><a href="/blog">ascribe blog</a></h1>
|
||||
</header>
|
||||
<nav class="blog-categories">
|
||||
<div class="centered-categories">
|
||||
<ul>
|
||||
<?php
|
||||
$args = array(
|
||||
'hide_empty' => 0
|
||||
);
|
||||
foreach((get_categories($args)) as $category) {
|
||||
if ($category->cat_name != 'Uncategorized') {
|
||||
echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '><span>' . $category->name.'</span></a></li> ';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="centered-categories">
|
||||
<ul>
|
||||
<?php
|
||||
$args = array(
|
||||
'hide_empty' => 0
|
||||
);
|
||||
foreach((get_categories($args)) as $category) {
|
||||
if ($category->cat_name != 'Uncategorized') {
|
||||
echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '><span>' . $category->name.'</span></a></li> ';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -9,27 +9,27 @@
|
||||
require 'controller/init.php';
|
||||
?>
|
||||
<header>
|
||||
<div class="sticky">
|
||||
<div class="centered-header">
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-black.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-black.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
<div class="sticky">
|
||||
<div class="centered-header">
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-black.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-black.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="chevron-divider"></div>
|
||||
|
@ -14,36 +14,36 @@ $controller = new Controller();
|
||||
?>
|
||||
|
||||
<header style="background-image:url(<?php echo $bgImage; ?>)">
|
||||
<div class="sticky">
|
||||
<div class="centered-header">
|
||||
<div class="sticky">
|
||||
<div class="centered-header">
|
||||
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-white.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
<section class="description">
|
||||
<h1><?php echo $headerTagline; ?></h1>
|
||||
<a href="<?php echo $signUpLink; ?>" class="button <?php echo $buttonColour; ?>-overPic"><?php echo $buttonText; ?></a>
|
||||
</section>
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chevron-divider"></div>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/logo-white.png" class="logo phone-and-up"></a>
|
||||
<a href="<?php echo get_bloginfo('wpurl');?>"><img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/logo/ascribeicon-white.svg" class="logo phone-only"></a>
|
||||
<div class="app-links">
|
||||
<a href="<?php echo $signInLink; ?>">Log In</a> / <a href="<?php echo $signUpLink; ?>">Sign Up</a>
|
||||
<img src="<?php echo WPTHEME_TEMPLATE_URL; ?>/images/svg/hamburger.svg" class="phone-only hamburger">
|
||||
</div>
|
||||
<nav class="tour-switcher"><?php wp_nav_menu( array(
|
||||
'theme_location' => 'landing-menu',
|
||||
'container' => false
|
||||
)); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centered-header">
|
||||
<section class="description">
|
||||
<h1><?php echo $headerTagline; ?></h1>
|
||||
<a href="<?php echo $signUpLink; ?>" class="button <?php echo $buttonColour; ?>-overPic"><?php echo $buttonText; ?></a>
|
||||
</section>
|
||||
<div class="mobile-nav">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'main-footer-menu', 'container' => false ) ); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="chevron-divider"></div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<?php echo $controller->loopSubtemplates(); ?>
|
||||
</main>
|
||||
<main>
|
||||
<?php echo $controller->loopSubtemplates(); ?>
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
|
Loading…
Reference in New Issue
Block a user