Skip to content

Commit

Permalink
updated site layout and added footer information
Browse files Browse the repository at this point in the history
  • Loading branch information
gabbydgab committed Jan 13, 2015
1 parent 76b7d5f commit 9d5c26e
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 19 deletions.
3 changes: 2 additions & 1 deletion config/application.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
// This should be an array of module namespaces used in the application.
'modules' => [
'EdpModuleLayouts',
'Site'
'Site',
// 'SiteManagement'
],

// These are various options for the listeners attached to the ModuleManager
Expand Down
3 changes: 2 additions & 1 deletion module/Site/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
'not_found_template' => 'error/404',
'exception_template' => 'error/index',
'template_map' => [
'site/layout' => __DIR__ . '/../view/layout/layout.phtml',
'site/layout' => __DIR__ . '/../view/layout/single-layout.phtml',
'site/details' => __DIR__ . '/../view/layout/layout.phtml',
'template/footer' => __DIR__ . '/../view/layout/partial/footer.phtml',
'template/navigation/sidebar' => __DIR__ . '/../view/layout/template/navigation/sidebar.phtml',
'template/navigation/header' => __DIR__ . '/../view/layout/template/navigation/header.phtml',
Expand Down
20 changes: 20 additions & 0 deletions module/Site/config/routes.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@
'action' => 'disclaimer'
]
]
],
'copyright' => [
'type' => 'Literal',
'options' => [
'route' => '/copyright',
'defaults' => [
'controller' => 'Site\Controller\Index',
'action' => 'copyright'
]
]
],
'sitemap' => [
'type' => 'Literal',
'options' => [
'route' => '/sitemap',
'defaults' => [
'controller' => 'Site\Controller\Index',
'action' => 'sitemap'
]
]
]
]
]
Expand Down
17 changes: 16 additions & 1 deletion module/Site/src/Site/Controller/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,36 @@ public function indexAction()

public function termsAndConditionAction()
{
$this->layout('site/details');

return new ViewModel();
}

public function privacyPolicyAction()
{
$this->layout('site/details');

return new ViewModel();
}

public function disclaimerAction()
{
$this->layout('site/details');

return new ViewModel();
}

public function copyrightAction()
{
$this->layout('site/details');

return new ViewModel();
}
}

public function sitemap()
{
$this->layout('site/details');

return new ViewModel();
}
}
16 changes: 7 additions & 9 deletions module/Site/view/layout/layout.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand page-scroll" href="<?php echo $this->url('home'); ?>">
<img src="<?php echo $this->basePath(). "/img/logo.png";?>" class="logo" alt="Coding Matters Logo" data-src="<?php echo $this->basePath(). "/img/logo.png";?>" data-src-retina="<?php echo $this->basePath(). "/img/logo.png";?>" height="120px"/>
<img src="<?php echo $this->basePath(). "/img/logo-inline.png";?>" class="logo" alt="Coding Matters Logo" data-src="<?php echo $this->basePath(). "/img/logo-inline.png";?>" data-src-retina="<?php echo $this->basePath(). "/img/logo-inline.png";?>" width="250px"/>
</a>
</div>

Expand All @@ -39,10 +39,10 @@
<a href="#page-top"></a>
</li>
<li>
<a class="page-scroll" href="#services">Services</a>
<a class="page-scroll" href="#services">SERVICES</a>
</li>
<li>
<a class="page-scroll" href="#about">About</a>
<a class="page-scroll" href="#about">ABOUT</a>
</li>
</ul>
</div>
Expand All @@ -52,25 +52,23 @@
</nav>

<!-- Intro Header -->
<header class="intro">
<!-- <header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8">
<h1 class="brand-heading">Why <strong>CODING MATTERS&#63</strong></h1>
<p class="intro-text">The way we develop software applications, coding in particular, matters most. It's our responsibility to be creative and to be innovative in delivering software that harness the competitive advantage of our clients.</p>
<p class="intro-text">We are creative and innovative for business processes that harness the competitive advantage of our clients. Most importantly, the way we develop software applications, coding in particular, matters most. <strong>WE DO IT RIGHT</strong>.</p>
</div>
</div>
</div>
</div>
</header>
</header>-->
<!--<div class="container">-->
<?php echo $this->content; ?>
<!--</div>-->
<footer>
<div class="container">
<p>&copy; 2015 Coding Matters, Inc. All rights reserved.</p>
</div>
<?php echo $this->partial('template/footer', array()); ?>
</footer>
<?php echo $this->inlineScript()
->prependFile($this->basePath() . '/js/navbar-header-collapse.js')
Expand Down
81 changes: 76 additions & 5 deletions module/Site/view/layout/partial/footer.phtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,77 @@
<div class="row-fluid">
<footer>
<hr>
<p>Copyright &copy; <?php echo date('Y') ?> by <a href="<?php echo $this->url('home') ?>">Coding Matters, Inc.</a> <?php echo $this->translate('All rights reserved.') ?></p>
</footer>
<div class="container">
<div class="row" style="padding-bottom: 20px;">
<div class="col-md-7">
<div class="row">
<h4>Our Services: <small class="text-warning">** services coming soon</small></h4>
<div class="col-md-6 col-sm-6">
<div class="col-sm-6 col-xs-6">
<h5>Branding</h5>
<ul>
<li>Logo</li>
<li>Banner</li>
<li>Business Cards</li>
</ul>
</div>
<div class="col-sm-6 col-xs-6">
<h5>Marketing</h5>
<ul>
<li>SEO<span class="text-warning">**</span></li>
<li>Email<span class="text-warning">**</span></li>
<li>Ads<span class="text-warning">**</span></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-6 col-sm-6">
<div class="col-sm-6 col-xs-6">
<h5>Developing</h5>
<ul>
<li>Web Apps</li>
<li>Mobile Apps<span class="text-warning">**</span></li>
<li>API Service<span class="text-warning">**</span></li>
</ul>
</div>
<div class="col-sm-6 col-xs-6">
<h5>Training</h5>
<ul>
<li>Programming<span class="text-warning">**</span></li>
<li>Designing<span class="text-warning">**</span></li>
<li>Marketing<span class="text-warning">**</span></li>
</ul>
</div>
<div class="clearfix"></div>
</div>
</div>
<div class="clearfix"></div>
</div>
<div class="col-md-5">
<div class="row" id="social-links">
<h4>Connect With Us:</h4>
<div class="container">
<a href="https://www.facebook.com/codingmatters" target="_blank">
<i class="fa fa-facebook-square fa-3x" id="facebook"></i>
</a>
<!-- <a href="#" target="_blank">
<i class="fa fa-twitter-square fa-3x" id="twitter"></i>
</a>
<a href="#" target="_blank">
<i class="fa fa-linkedin-square fa-3x" id="linkedin"></i>
</a>-->
</div>
</div>
<div class="row" id="legal-links">
<h4>Our Legal Information:</h4>
<div class="col-sm-3 col-xs-3"><a href="<?php echo $this->url('terms-and-condition'); ?>">Terms</a></div>
<div class="col-sm-3 col-xs-3"><a href="<?php echo $this->url('privacy-policy'); ?>">Privacy</a></div>
<div class="col-sm-3 col-xs-3"><a href="<?php echo $this->url('disclaimer'); ?>">Disclaimer</a></div>
<div class="col-sm-3 col-xs-3"><a href="<?php echo $this->url('copyright'); ?>">Copyright</a></div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
</div>
<div class="clearfix"></div>
<div class="row">
<span> &copy; <?php echo date('Y'); ?> Coding Matters, Inc. All rights reserved.</span>
</div>
</div>
83 changes: 83 additions & 0 deletions module/Site/view/layout/single-layout.phtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
<?php echo $this->doctype(); ?>

<html lang="en">
<head>
<meta charset="utf-8">
<meta description="Our forte is building software applications for web and mobile platforms. The way we develop software applications, coding in particular, matters most. It's our responsibility to be creative and to be innovative in delivering software that harness the competitive advantage of our clients but most importantly we do it right.">
<?php echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
->appendName('viewport', 'width=device-width, initial-scale=1.0');
?>
<?php echo $this->headTitle('Coding Matters')
->setSeparator(' - ')
->setAutoEscape(false);
?>
<?php echo $this->headLink(['rel' => 'shortcut icon', 'href' => $this->basePath() . '/img/favicon.ico'])
->prependStylesheet($this->basePath() . '/css/style.css')
->prependStylesheet($this->basePath() . '/assets/font-awesome/css/font-awesome.css')
->prependStylesheet($this->basePath() . '/assets/bootstrap/css/bootstrap-theme.min.css')
->prependStylesheet($this->basePath() . '/assets/bootstrap/css/bootstrap.min.css')
?>
</head>
<body id="page-top" data-spy="scroll" data-target=".navbar-fixed-top">
<!-- Navigation -->
<nav class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand page-scroll" href="<?php echo $this->url('home'); ?>">
<img src="<?php echo $this->basePath(). "/img/logo-main.png";?>" class="logo" alt="Coding Matters Logo" data-src="<?php echo $this->basePath(). "/img/logo-main.png";?>" data-src-retina="<?php echo $this->basePath(). "/img/logo-main.png";?>" height="120px"/>
</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-right navbar-main-collapse">
<ul class="nav navbar-nav">
<!-- Hidden li included to remove active class from about link when scrolled up past about section -->
<li class="hidden">
<a href="#page-top"></a>
</li>
<li>
<a class="page-scroll" href="#services">SERVICES</a>
</li>
<li>
<a class="page-scroll" href="#about">ABOUT</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
<!-- /.container -->
</nav>

<!-- Intro Header -->
<header class="intro">
<div class="intro-body">
<div class="container">
<div class="row">
<div class="col-md-8">
<h1 class="brand-heading">Why <strong>CODING MATTERS&#63</strong></h1>
<p class="intro-text">We are creative and innovative in business processes that harness the competitive advantage of our clients. Most importantly, the way we develop software applications, coding in particular, matters most. <strong>WE DO IT RIGHT</strong>.</p>
</div>
</div>
</div>
</div>
</header>
<!--<div class="container">-->
<?php echo $this->content; ?>
<!--</div>-->
<footer>
<?php echo $this->partial('template/footer', array()); ?>
</footer>
<?php echo $this->inlineScript()
->prependFile($this->basePath() . '/js/navbar-header-collapse.js')
->prependFile($this->basePath() . '/assets/bootstrap/js/tab.js')
->prependFile($this->basePath() . '/assets/bootstrap/js/tooltip.js')
->prependFile($this->basePath() . '/assets/bootstrap/js/popover.js')
// ->prependFile($this->basePath() . '/assets/jquery-ui/jquery-ui.min.js')
->prependFile($this->basePath() . '/assets/bootstrap/js/bootstrap.min.js')
->prependFile($this->basePath() . '/assets/jquery/jquery.min.js');
?>
</body>
</html>
4 changes: 2 additions & 2 deletions module/Site/view/site/index/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
</div>
<div class="row">
<div class="col-md-6 col-sm-6">
<p class="text-success"><strong class="text-uppercase">Mission</strong></p>
<p class="text-warning"><strong class="text-uppercase">Mission</strong></p>
<ul>
<li>
To be able to help business organizations in providing solutions that harness their business process as their competitive advantage over the market.
</li>
</ul>
</div>
<div class="col-md-6 col-sm-6">
<p class="text-success"><strong class="text-uppercase">Vision</strong></p>
<p class="text-danger"><strong class="text-uppercase">Vision</strong></p>
<ul>
<li>
Globally known IT solutions company renowned for its excellence in computational thinking and its commitment to software applications research and development.
Expand Down
Binary file added public/img/logo-inline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/img/logo-main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9d5c26e

Please sign in to comment.