Add some basic layout

This commit is contained in:
Robert Marshall 2019-04-21 14:49:37 +01:00
parent 49609a06c1
commit e0a203e751
4 changed files with 58 additions and 53 deletions

View file

@ -1,3 +1,6 @@
@{
ViewData["Title"] = "Home Page";
}
<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>

View file

@ -6,13 +6,22 @@
<title>@ViewData["Title"] - Website</title>
<environment include="Development">
<link rel="stylesheet" href="~/css/site.css" />
</environment>
<environment exclude="Development">
<link rel="stylesheet" href="~/css/site.min.css" />
</environment>
<link rel="stylesheet" href="~/css/site.css" />
</head>
<body>
<header>
<a id="logo" href="/"><img src="~/images/logo.png" alt="logo" /> Robware</a>
<nav>
<ul>
<li><a href="//git.robware.uk">Projects</a></li>
<li><a href="/blog">Blog</a></li>
<li><a href="/gallery">Gallery</a></li>
</ul>
</nav>
</header>
<main>
@RenderBody()