Skip to content

Instantly share code, notes, and snippets.

@1nstinct
Created January 18, 2016 13:30
Show Gist options
  • Save 1nstinct/9d7c68bae37dda11c4b6 to your computer and use it in GitHub Desktop.
Save 1nstinct/9d7c68bae37dda11c4b6 to your computer and use it in GitHub Desktop.
blade php example
<html>
<head>
@section('css')
@show
</head>
<body class="desktop-detected pace-done">
<div id="content-wrap">
@section('content')
<p>Main content</p>
@show
</div>
@yield('footer', 'Content by default');
@section('script')
@show
<?php
Theme::ProgressBar(100, 100, array('foo' => 15.1));
Theme::Button();
// call only after all widget's call
Theme::loadCss();
Theme::loadJs();
Theme::loadFonts();
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment