-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathbase.html.twig
57 lines (47 loc) · 1.87 KB
/
base.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="{{asset('favicon.ico')}}">
<title>Symfony React</title>
{% block stylesheets %}
<link href="{{asset('assets/build/stylesheets/client-bundle.css', 'webpack')}}" rel="stylesheet">
{% endblock %}
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="#">Symfony React Example</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="/">React example</a></li>
<li><a href="/redux/">React+Redux example</a></li>
<li><a href="/liform/">Liform example</a></li>
</ul>
<ul class="nav navbar-nav pull-right">
<li><a href="https://github.com/Limenius/symfony-react-sandbox">See this project on GitHub</a></li>
</ul>
</div>
</div>
</nav>
<div class="main-container">
<div class="container">
<div id="react-container">{% spaceless %}{% block body %}{% endblock %}{% endspaceless%}</div>
</div>
</div><!-- /.container -->
{% block javascripts %}
<script src="{{ asset('assets/build/client-bundle.js', 'webpack') }}"></script>
{% endblock %}
</body>
</html>