diff --git a/CHANGELOG b/CHANGELOG new file mode 100644 index 0000000..93131d9 --- /dev/null +++ b/CHANGELOG @@ -0,0 +1,5 @@ +20190113/01 - first commit | basically an empty repository, as always. +20190113/02 - First version of the code - finished PHP program and JS scripts. | I seriously never tought I would have needed a slash code because I would have made two commits the same day... I'm not THAT kind of productive, in writing code... +20190117/01 - Added templating to the one page app, added and configured sessions to remember the last position and stored sessions for one day, even after browser close. | Nothing to say, I learned how to describe my commits.. (maybe).. +20190117/02 - Edited templates location, removed unnecessary CSS and JS files, moved the onePageApp style and scripts into respective files, modified variable names for better comprehension. TODO next: add comments to the code. | I seriously didn't think to work so much, PS: comments are still to come. +20190119/01 - Moved the entire title from the javascript to the PHP section, finished almost all templates, moved the footer on the main "template holder" page, extended the session to three days instead of just one for no technical reasons, added CHANGELOG, added three background images. | Did you seriously thought that this changelog was to keep track of any sort of change? OF COURSE NOT: it's for myself, when I commit only once after three days of work, to remember what the hell I did in the three days before, like sidenotes, but inside the own repository I will commit to... \ No newline at end of file diff --git a/img/bg-3.jpg b/img/bg-3.jpg new file mode 100644 index 0000000..aa2bf60 Binary files /dev/null and b/img/bg-3.jpg differ diff --git a/img/bg-4.jpg b/img/bg-4.jpg new file mode 100644 index 0000000..88f7e53 Binary files /dev/null and b/img/bg-4.jpg differ diff --git a/img/bg-5.jpg b/img/bg-5.jpg new file mode 100644 index 0000000..e9a31b6 Binary files /dev/null and b/img/bg-5.jpg differ diff --git a/index.php b/index.php index 5470328..881c779 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ 200, - 'pageTitle' => $requested_section_title, + 'pageTitle' => $requested_section_title.' | Bryan Pedini', 'html' => $section_templates [ $requested_section ] ]; $page_content_json = json_encode($page_content_array); @@ -105,6 +105,41 @@
+ diff --git a/js/onePageApp-sections-control.js b/js/onePageApp-sections-control.js index 17bbcba..c39c9b0 100644 --- a/js/onePageApp-sections-control.js +++ b/js/onePageApp-sections-control.js @@ -9,7 +9,7 @@ }, success: function (data) { if ( data.status == 200 ) { - $('#page-title').html(data.pageTitle + " | Bryan Pedini"); + $('#page-title').html(data.pageTitle); $('#user-content').html(data.html); } else { diff --git a/templates/contact-form.phtml b/templates/contact-form.phtml index e69de29..e29d48a 100644 --- a/templates/contact-form.phtml +++ b/templates/contact-form.phtml @@ -0,0 +1,16 @@ +
+
+
+
+
+
+

Why keeping all your questions for you?

+ Just ask them here! + + + +
+
+
+
+
\ No newline at end of file diff --git a/templates/description.phtml b/templates/description.phtml index 082d47d..aeb1908 100644 --- a/templates/description.phtml +++ b/templates/description.phtml @@ -5,9 +5,52 @@

About Me

- This is what I do. + This is what I do
- \ No newline at end of file + +
+
+
+
+

2018 / 2019 - my current position

+

Where I am now and why I'm there: I.I.S. F.Corni - Modena (Italy)

+ +
+
+
+

What I do there

+

My work at school, my life by now

+ +
+
+
+

Why so much efford

+

I believe that everything you do makes experience

+ +
+
+
+

What I plan to do next

+ +
+
+
+
\ No newline at end of file diff --git a/templates/home.phtml b/templates/home.phtml index a5d6634..9fe9c7f 100644 --- a/templates/home.phtml +++ b/templates/home.phtml @@ -10,39 +10,4 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/templates/ideas.phtml b/templates/ideas.phtml index e69de29..7897b2a 100644 --- a/templates/ideas.phtml +++ b/templates/ideas.phtml @@ -0,0 +1,49 @@ +
+
+
+
+
+
+

I want to...

+ Random thoughts or brilliant ideas? +
+
+
+
+
+
+
+
+
+ +

+ Placeholder +

+

+ Yes, this is published, and still work in progress +

+
+ +
+
+ +

+ Website translation +

+

+ A little more serious here instead +

+
+ +
+
+
+
\ No newline at end of file diff --git a/templates/projects.phtml b/templates/projects.phtml index e69de29..b19ae65 100644 --- a/templates/projects.phtml +++ b/templates/projects.phtml @@ -0,0 +1,47 @@ +
+
+
+
+
+
+

Finished projects

+ This is what I did +
+
+
+
+
+
+
+
+
+ +

+ This: my website +

+

+ Yes, it's free and public available to download, edit and publish under your own name, prior asking me, of course. +

+
+ +
+
+
+ +

+ Any other content? +

+

+ There must be something else, right? +

+
+ +
+
+
+
\ No newline at end of file