Skip to content

Commit

Permalink
switching to php
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksiroKe committed Feb 24, 2020
1 parent de786c9 commit 19e8bd0
Show file tree
Hide file tree
Showing 18 changed files with 530 additions and 3 deletions.
3 changes: 3 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

define('mik_site_title', 'Made in Kenya');
3 changes: 0 additions & 3 deletions index.html → index - Copy.php
Original file line number Diff line number Diff line change
Expand Up @@ -482,10 +482,7 @@ <h4 class="chr-footer-links__heading js-footer-link" tabindex="0">Social Media</
<script src="./src/ScrollMagic.min.js.download" nonce=""></script>
<script src="./src/animation.gsap.min.js.download" nonce=""></script>
<!--<![endif]-->
<!--[if (gte IE 10)|!(IE)]><!-->
<script src="./src/main.v2.min.js.download" nonce=""></script>
<!--<![endif]-->
<script src="./src/installer.min.js.download" nonce=""></script>
</body>
Expand Down
36 changes: 36 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?php
/*
MadeinKenya(MIK) by Developers from Kenya
http://madeinkenya.github.io
File: index.php
Description: The home page for MIK
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/


// Initialize the file page.php which has definations for viewing a html pahe
require 'config.php';
require 'res/page.php';

/** the array which holds basic page variables.*/
$mik_page = array();
$mik_page['title'] = 'Made in Kenya';
$mik_page['description'] = 'A collection of awesome tools built by Kenyans that can be used by anybody anywhere in the world.';

$mik_page['page'] = array(
'type' => 'home',
'headers' => array( 'fullname', 'email', 'mobile', 'address' ),
'onclick' => 'open=farmer_view&&farmerid=',
);

return mik_page_view($mik_page);
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
491 changes: 491 additions & 0 deletions res/page.php

Large diffs are not rendered by default.

File renamed without changes

0 comments on commit 19e8bd0

Please sign in to comment.