Update default.html.twig
This commit is contained in:
parent
9ac7d795b2
commit
91cd30b5dc
|
@ -5,7 +5,36 @@
|
|||
<title>{{ site.title }}</title>
|
||||
<link href="/build/css/app.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="text-black">
|
||||
{% block content %}{% endblock %}
|
||||
<body class="text-black bg-grey-lightest font-sans">
|
||||
<div class="bg-grey-darkest text-white antialiased block pt-4 pb-10">
|
||||
<div class="container mx-auto px-4">
|
||||
<div class="text-center text-4xl">
|
||||
<img src="https://static.wixstatic.com/media/1f3c0f_9d13136c00e342c1996559a561cb1fde.png/v1/fill/w_157,h_225,al_c,lg_1/1f3c0f_9d13136c00e342c1996559a561cb1fde.png" alt="" class="w-24 mb-4">
|
||||
<p class="uppercase font-bold tracking-wide mb-2">Chris Rees Academy</p>
|
||||
<p class="uppercase font-bold tracking-wide">Cardiff</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="bg-red text-white">
|
||||
<div class="container mx-auto">
|
||||
<nav class="text-center">
|
||||
<a href="/" class="block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '//' ? 'text-green' }}">Coaches</a>
|
||||
<a href="/schedule" class="block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/schedule' ? 'text-green' }}">Schedule</a>
|
||||
<a href="/membership" class="block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/membership' ? 'text-green' }}">Membership</a>
|
||||
<a href="/contact" class="block sm:inline-block w-full sm:w-auto text-white hover:text-green no-underline hover:underline px-8 py-5 {{ page.url == '/contact' ? 'text-green' }}">Contact</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container mx-auto px-4">
|
||||
<div class="leading-normal pt-16 pb-24">
|
||||
<h1 class="uppercase text-red text-center mb-12 text-bold tracking-wide">
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in a new issue