diff --git a/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php b/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php index 181bc77..d55ee03 100644 --- a/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php +++ b/src/GergelyPolonkai/FrontBundle/Controller/BlogController.php @@ -11,11 +11,13 @@ use GergelyPolonkai\FrontBundle\Entity\Post; * Description of BlogController * * @author polonkai.gergely + * + * @Route("/blog") */ class BlogController extends Controller { /** - * @Route("/blog/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFront_blogViewPost") + * @Route("/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFront_blogViewPost") * @Template */ public function viewPostAction($year, $month, $day, $slug) diff --git a/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php b/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php index 84b8720..59f0967 100644 --- a/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php +++ b/src/GergelyPolonkai/FrontBundle/Controller/DefaultController.php @@ -29,6 +29,15 @@ class DefaultController extends Controller ); } + /** + * @Route("/about-me.html", name="GergelyPolonkaiFrontBundle_about") + * @Template + */ + public function aboutAction() + { + return array(); + } + /** * @Route("/disclaimer.html", name="GergelyPolonkaiFrontBundle_disclaimer") * @Template diff --git a/src/GergelyPolonkai/FrontBundle/Resources/public/css/front.css b/src/GergelyPolonkai/FrontBundle/Resources/public/css/front.css index 43039aa..21c4324 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/public/css/front.css +++ b/src/GergelyPolonkai/FrontBundle/Resources/public/css/front.css @@ -21,11 +21,27 @@ body { color: #ffffff; position: absolute; width: 960px; + height: 190px; +} + +#header #picture { + background-color: white; + position: relative; + width: 170px; + height: 170px; + display: inline; + float: left; + top: 40px; + left: 20px; +} + +#header #picture img { + margin: 10px; } #header h1 { text-align: right; - margin: 0 10px 0 0; + margin: 40px 10px 0 0; font-size: 41px; font-weight: bold; padding-top: 45px; @@ -54,12 +70,28 @@ body { display: block; } +#menu { +} + +#menu ul { + margin: 0; + padding: 0; + list-style-type: none; + text-align: right; +} + +#menu ul li { + display: inline; + margin-left: 1em; +} + #content { + clear: both; padding: 8px; } #content-padding { - height: 120px; + height: 200px; } #content h3 { diff --git a/src/GergelyPolonkai/FrontBundle/Resources/public/images/profile.png b/src/GergelyPolonkai/FrontBundle/Resources/public/images/profile.png new file mode 100644 index 0000000..2df1c00 Binary files /dev/null and b/src/GergelyPolonkai/FrontBundle/Resources/public/images/profile.png differ diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/about.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/about.html.twig new file mode 100644 index 0000000..1dc8d22 --- /dev/null +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/about.html.twig @@ -0,0 +1,10 @@ +{% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %} + +{% block title %} - About Me{% endblock %} + +{% block content %} +

I'm Gergely Polonkai, systems engineer of a financial advisor company, and a freelancer developer.

+

I'm learning about different IT subjects since the late '90s. These include web development, application building, systems engineering, systems security and many others. I also dug my nose into free software, dealing with different types of Linux and its applications, while also writing and contributing to some open source projects.

+

On this site I will write blog posts about different stuff I face during work (oh my, yet another IT solutions blog), hoping they can help you with your own, or just to get along with your brand new netbook that shipped with Linux.

+

Feel free to send me any suggestions on what should I post. I will try my best to provide some help or directions.

+{% endblock content %} \ No newline at end of file diff --git a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig index 93da997..a7c59c7 100644 --- a/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig +++ b/src/GergelyPolonkai/FrontBundle/Resources/views/Default/front_base.html.twig @@ -12,6 +12,9 @@