Added a neat menu and a profile picture
Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
parent
cd096c1d20
commit
fbee2e4c8d
@ -11,11 +11,13 @@ use GergelyPolonkai\FrontBundle\Entity\Post;
|
|||||||
* Description of BlogController
|
* Description of BlogController
|
||||||
*
|
*
|
||||||
* @author polonkai.gergely
|
* @author polonkai.gergely
|
||||||
|
*
|
||||||
|
* @Route("/blog")
|
||||||
*/
|
*/
|
||||||
class BlogController extends Controller
|
class BlogController extends Controller
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @Route("/blog/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFront_blogViewPost")
|
* @Route("/{year}/{month}/{day}/{slug}.html", name="GergelyPolonkaiFront_blogViewPost")
|
||||||
* @Template
|
* @Template
|
||||||
*/
|
*/
|
||||||
public function viewPostAction($year, $month, $day, $slug)
|
public function viewPostAction($year, $month, $day, $slug)
|
||||||
|
@ -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")
|
* @Route("/disclaimer.html", name="GergelyPolonkaiFrontBundle_disclaimer")
|
||||||
* @Template
|
* @Template
|
||||||
|
@ -21,11 +21,27 @@ body {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 960px;
|
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 {
|
#header h1 {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin: 0 10px 0 0;
|
margin: 40px 10px 0 0;
|
||||||
font-size: 41px;
|
font-size: 41px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-top: 45px;
|
padding-top: 45px;
|
||||||
@ -54,12 +70,28 @@ body {
|
|||||||
display: block;
|
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 {
|
#content {
|
||||||
|
clear: both;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content-padding {
|
#content-padding {
|
||||||
height: 120px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content h3 {
|
#content h3 {
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 7.5 KiB |
@ -0,0 +1,10 @@
|
|||||||
|
{% extends 'GergelyPolonkaiFrontBundle:Default:front_base.html.twig' %}
|
||||||
|
|
||||||
|
{% block title %} - About Me{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<p>I'm Gergely Polonkai, systems engineer of a financial advisor company, and a freelancer developer.</p>
|
||||||
|
<p>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.</p>
|
||||||
|
<p>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.</p>
|
||||||
|
<p>Feel free to send me any suggestions on what should I post. I will try my best to provide some help or directions.</p>
|
||||||
|
{% endblock content %}
|
@ -12,6 +12,9 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="content-wrapper">
|
<div id="content-wrapper">
|
||||||
<div id="header" style="background-image: url('{{ asset('bundles/gergelypolonkaifront/images/' ~ random_header) }}');">
|
<div id="header" style="background-image: url('{{ asset('bundles/gergelypolonkaifront/images/' ~ random_header) }}');">
|
||||||
|
<div id="picture">
|
||||||
|
<img src="{{ asset('bundles/gergelypolonkaifront/images/profile.png') }}" alt="" />
|
||||||
|
</div>
|
||||||
<h1><a href="{{ path('GergelyPolonkaiFrontBundle_homepage') }}">Gergely Polonkai</a></h1>
|
<h1><a href="{{ path('GergelyPolonkaiFrontBundle_homepage') }}">Gergely Polonkai</a></h1>
|
||||||
<h2>developer, systems engineer and administrator</h2>
|
<h2>developer, systems engineer and administrator</h2>
|
||||||
<div id="contact-list">
|
<div id="contact-list">
|
||||||
@ -29,6 +32,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="content-padding"></div>
|
<div id="content-padding"></div>
|
||||||
|
<div id="menu">
|
||||||
|
<ul>
|
||||||
|
<li><a href="{{ path('GergelyPolonkaiFrontBundle_about') }}">About me</a></li>
|
||||||
|
<li><a href="{{ path('GergelyPolonkaiFrontBundle_homepage') }}">Blog</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
{% block content %}{% endblock content %}
|
{% block content %}{% endblock content %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user