<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mentconnect - Open Source Projects</title>
{{HTML::style('css/mentconnect.css')}}
{{HTML::style('css/denied.css')}}
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
</head>
<body>
<header id="cta" class="background-showcase">
<div id="nv" class="navbar">
<div class="container">
<a class="navbar-brand" href="/">
<div class="asset logo-white-header">
{{ HTML::image("images/mentconnect.png", "editor", array("width" => "130px", "height" => "44px")) }}
</div>
</a>
<ul class=" nav navbar-nav pull-right">
<li class>
{{HTML::link('projects/create', 'Add Projects') }}
</li>
<li class="button">
{{HTML::link('logout', 'Logout') }}
</li>
</ul>
</div>
</div>
</header>
<div id="main">
<div class="container padded">
<div id="feature-screenshot">
<h2>Awesome Projects, You're Welcome!</h2>
<p class="center-feature-sub-content">
Explore these community recommended projects and start learning today!
</p>
@if(Session::has('message'))
<p class="alert-success">{{ Session::get('message') }}</p>
@endif
<hr />
</div>
<div class="row">
<div class="col-lg">
<table class="table table-striped table-hover">
<thead>
<tr>
<td><strong>Project Title</strong></td>
<td><strong>Project URL</strong></td>
<td><strong>Project Language</strong></td>
<td><strong>View Project</strong></td>
</tr>
</thead>
<tbody>
@foreach($projects as $key => $value)
<tr>
<td>{{ $value->title }}</td>
<td><a href="{{ $value->link }}">{{ $value->link }}</a></td>
<td>{{ $value->language }}</td>
<td>
<a class="btn btn-small btn-primary" href="{{ URL::to('projects/' . $value->id) }}">View this Project</a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
<div id="footer">
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-4">
<p id="copyright-section">
Copyright © 2014. Mentconnect Inc. All Rights Reserved.
</p>
</div>
<div class="col-lg-4">
</div>
<div class="col-lg-4">
<p id="love">
Built With Laravel + Bootstrap Frameworks by Elisha Chirchir.
</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>