This repository has been archived by the owner on Aug 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
marketing.php
123 lines (101 loc) · 4.8 KB
/
marketing.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?php
/**
* Marketing Page - Building a persona.
*
* @package ChristopherL.com
* @copyright 2016-2018 ChristopherL (https://github.com/christopherldotcom)
* @license http://www.gnu.org/licenses/gpl-2.0.html
*/
// Load Site Configuration
require_once('include/config.inc.php');
require_once('include/functions.inc.php');
// Load Smarty Library and Plugin
require_once('include/libs/smarty/Smarty.class.php');
// Instantiate Smarty Class then build page if not cached
$smarty = new Smarty();
$cache_id = 'marketing';
if (!$smarty->isCached('base.tpl', $cache_id)) {
smarty_scaffolding($smarty, $config);
// Create Meta & Page Settings
$smarty->assign('page_title', 'Inbound and Down, Since 1999 :: ChristopherL');
$smarty->assign('page_desc', "Automation and analytics are no longer the exclusive playground of nerds. It's ChristopherL's playground. You're invited to join us on the monkey bars.");
$smarty->assign('page_url', '/marketing');
$smarty->assign('active_nav', 'marketing');
$smarty->assign('hero_image', complete_url('/img/heros/marketing.jpg', 1));
// Social Images
$smarty->assign('image_facebook', '/img/social/marketing.jpg');
$smarty->assign('image_twitter', '/img/social/marketing.jpg');
// Optional Extras
$smarty->assign('head_extras', '');
$smarty->assign('body_header_extras', '');
$smarty->assign('body_footer_extras', '');
$footer_cta = newsletter_subscribe();
$image_root = complete_url('', 1);
// Page Content
$content = <<<HTML
<section class="image-right">
<div class="the-outer-limits">
<h1>More Than <span class="hidden-phone">Just</span> Tshirts</h1>
<img src="{$image_root}/img/helios_history.png"
alt="Helios Calendar Logos Through Time"
title="A Trip Down Memory Lane"
width="300">
<p>
Today's marketer is data obsessed, metric driven, and customer focused. Gone are the days of marketing
simply being a means for talking at your clients. At ChristopherL we believe good marketing is about compelling
storytelling, and we know <i>why</i> is the foundation for a good brand story.
</p>
<h2>Christopherl <span class="hidden-phone">For Your</span> Url</h2>
<p>
But that doesn't mean marketing is all cool apps, magic quadrants, and deep dive analytics. Branding still plays
a vital role in the age of digital marketing. Even something as rudimentary as a short url can serve as
an opportunity for <del>self promotion</del> improving brand awareness.
</p>
<p>
Case in point, just try to resist <span class="action-desktop">clicking</span><span class="action-mobile">tapping</span>
this cleverly branded link...
</p>
<p>
<a href="http://christophurl.co/marketing_secrets">http://christophurl.co/marketing_secrets</a>
</p>
</div>
</section>
<section class="highlight logos">
<div class="the-outer-limits container row">
<div class="two columns">
<img src="{$image_root}/img/logos/salesforce.png" alt="Salesforce Logo" height="50">
</div>
<div class="two columns">
<img src="{$image_root}/img/logos/hubspot.png" alt="HubSpot Logo" height="50">
</div>
<div class="two columns">
<img src="{$image_root}/img/logos/optimizely.png" alt="Optimizely Logo" height="50">
</div>
<div class="two columns">
<img src="{$image_root}/img/logos/analytics.png" alt="Google Analytics Logo" height="50">
</div>
<div class="two columns">
<img src="{$image_root}/img/logos/mailchimp.png" alt="MailChimp Logo" height="50">
</div>
<div class="two columns">
<img src="{$image_root}/img/logos/others_marketing.png" alt="Other Marketing Tool Logos" height="50">
</div>
</div>
</section>
{$footer_cta}
<span class="lightbox egg" data-featherlight="#fl1" data-event="marketing easter egg">:)</span>
<div id="fl1" class="fl">
<img src="{$image_root}/img/tshirts.jpg"
alt="Helios Calendar TShirts"
title="Softest Shirt in the World"
width="500">
<span>but cool tshirts are still important :)</span>
</div>
HTML;
$smarty->assign('content', smarty_content($content));
// Smoosh it all down, this will make viewing the page source a pain for people
// but will save literally 10 of milliseconds in page download time.
smarty_smoosh();
}
// Output the page
$smarty->display('base.tpl', $cache_id);