+
+{% endblock %}
\ No newline at end of file
diff --git a/app/views/uikit.html.twig b/app/views/uikit.html.twig
new file mode 100644
index 0000000..2543cd2
--- /dev/null
+++ b/app/views/uikit.html.twig
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+ {% block meta %}{% endblock %}
+
{% block title %}Resume{% endblock %}
+ {% block shortcut_icon %}
+
+ {% endblock %}
+ {% block apple_meta %}
+
+ {% endblock %}
+
+ {% block stylesheets %}{% endblock %}
+ {% block inline_styles %}{% endblock %}
+
+
+
+ {% block javascripts %}{% endblock %}
+ {% block inline_js %}{% endblock %}
+
+
+
+
+
+{% block body %}
+{% endblock %}
+
+
+
+
\ No newline at end of file
diff --git a/bower.json b/bower.json
index 0ef215f..1177b88 100644
--- a/bower.json
+++ b/bower.json
@@ -30,7 +30,8 @@
"**/smooth-scroll.min.js",
"**/scrollspy.min.js",
"**/parallax.min.js",
- "**/offcanvas.min.js"
+ "**/offcanvas.min.js",
+ "**/sticky.min.js"
]
},
"jquery": {
diff --git a/composer.lock b/composer.lock
index 888396e..23e4ef3 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "hash": "bff507b41d23db26ac64f22c144abe58",
+ "hash": "32d114eedd6f34d0a8de316e291f4a69",
"content-hash": "fca3e43ff787d71afd6f495624a8bf9c",
"packages": [
{
diff --git a/package.json b/package.json
index 29125c3..e1e1787 100644
--- a/package.json
+++ b/package.json
@@ -5,6 +5,8 @@
"homepage": "https://code.reric.me",
"devDependencies": {
"grunt": "^1.0.1",
+ "grunt-contrib-clean": "^1.0.0",
+ "grunt-contrib-copy": "^1.0.0",
"grunt-contrib-less": "^1.3.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-phpunit": "^0.3.6",
diff --git a/src/Sikofitt/Config/ConfigTrait.php b/src/Sikofitt/Config/ConfigTrait.php
index 1b7b48d..4675d19 100644
--- a/src/Sikofitt/Config/ConfigTrait.php
+++ b/src/Sikofitt/Config/ConfigTrait.php
@@ -13,6 +13,9 @@ trait ConfigTrait
* @return mixed
*/
public function config($name, $value = null) {
+ if(strcasecmp($name, 'all') === 0) {
+ return $this['config']->all();
+ }
if(null === $value) {
return $this['config']->get ($name);
} else {
diff --git a/src/Sikofitt/less/resume.less b/src/Sikofitt/less/resume.less
index 6851c36..b3d3f01 100644
--- a/src/Sikofitt/less/resume.less
+++ b/src/Sikofitt/less/resume.less
@@ -1 +1,7 @@
-@import 'uikit.less';
\ No newline at end of file
+@import 'uikit.less';
+@import 'https://fonts.googleapis.com/css?family=Lato:300|Oswald:300';
+
+@base-body-font-family : 'Lato';
+@base-body-font-size : 26px;
+@base-heading-font-family : 'Oswald';
+@base-body-line-height : 1.2em;
\ No newline at end of file
diff --git a/web/index.php b/web/index.php
index e4c78b4..7217599 100644
--- a/web/index.php
+++ b/web/index.php
@@ -43,15 +43,9 @@ $app['json.validator'] = function ($app) {
};
$app->get ('/', function () use ($app) {
- $jsonErrors = [];
- $resume = new ResumeBuilder($app);
- $json = $resume->toJson(['array' => 'neat'], ['app' => $app, 'file' => 'resume.json']);
- //$app['config']->set ('app.name', 'Groovey');
- $decoded = [];
- $app->config('app.value', 'myvalue');
- dump($app->config('app'));
- return $app['twig']->render ('base.html.twig', ['resume' => $decoded, 'errors' => $jsonErrors]);
+
+ return $app['twig']->render('resume.html.twig');
});
$app->run ();