Explorar el Código

Update project nav and home page

Robert Marshall hace 8 años
padre
commit
c45662f2a9
Se han modificado 2 ficheros con 9 adiciones y 9 borrados
  1. 3 3
      Controller/Navigation/ProjectsNav.php
  2. 6 6
      View/Home/index.view

+ 3 - 3
Controller/Navigation/ProjectsNav.php

@@ -1,11 +1,11 @@
 <?php
 class ProjectsNav implements INavigationController{
 	private $_uri;
-	
+
 	public function __construct() {
-		$this->_uri=new URI("Projects","/projects","/images/projects.svg");
+		$this->_uri=new URI("Projects","http://git.robware.uk/rob","/images/projects.svg");
 	}
-	
+
 	public function GetItems() {
 	}
 

+ 6 - 6
View/Home/index.view

@@ -1,16 +1,16 @@
+@Init{
+	$this->RegisterCSSFile("gallery.css");
+	$this->RegisterCSSFile("blog.css");
+}@
 @Title{Home}@
 @CSS{
-	<?= file_get_contents("css/blog.css") ?>
-	<?= file_get_contents("css/gallery.css") ?>
-	
 	h3 a {
 		color:inherit;
 	}
 }@
-@Body{	
-<p>Hi, I'm Rob. I'm a software developer. Through this website you'll find my software projects, which range from Windows Phone games to this very website. I will blog about various things, but only when it is about something interesting.</p>
+@Body{
+<p>Hi, I'm Rob. I'm a software developer. I primarily work with C# in my professional life, but my home projects are often PHP and Python based.</p>
 <p>If you wish to get in contact, then get in touch via my <a href="http://uk.linkedin.com/in/robertmarshall/"><img alt="LinkedIn profile" src="https://static.licdn.com/scds/common/u/img/webpromo/btn_liprofile_blue_80x15.png" title=""></a></p>
-<p>This is undergoing some redevelopment so please be patient whilst content is moved over. The old site can be viewed <a href="http://old.robware.uk">here</a></p>
 <hr />
 <h2>Latest Blog Post</h2>
 <h3><a href="/blog/view/<?=$post->PostUrl?>"><?=$post->PostTitle?></a></h3>