Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created May 29, 2014 06:49
Show Gist options
  • Select an option

  • Save Dillie-O/ae09983bf26427908e9e to your computer and use it in GitHub Desktop.

Select an option

Save Dillie-O/ae09983bf26427908e9e to your computer and use it in GitHub Desktop.
Zurb Foundation 5 Laravel Layout
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@yield('title')</title>
{{ HTML::style('css/foundation.css') }}
{{ HTML::style('css/app.css') }}
{{ HTML::script('js/vendor/modernizr.js') }}
</head>
<body>
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1>{{ link_to('/', 'Home', null, $secure = false) }}</h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li data-reveal-id="clock-modal">
{{ link_to('/about', 'About', null, $secure = false) }}
</li>
@endif
<li class="has-dropdown">
<a href="#">Configure</a>
<ul class="dropdown">
<li>{{ link_to('items/', 'Items', null, $secure = false) }}</li>
<li>{{ link_to('groups/', 'Groups', null, $secure = false) }}</li>
</ul>
</li>
</ul>
<!-- Left Nav Section -->
<ul class="left">
<li></li>
</ul>
</section>
</nav>
@yield('content')
{{ HTML::script('js/functions.js') }}
{{ HTML::script('js/vendor/jquery.js') }}
{{ HTML::script('js/foundation.min.js') }}
{{ HTML::script('js/app.js') }}
<script>
$(document).foundation();
</script>
<script>
@yield('end_scripts')
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment