Update layouts
This commit is contained in:
parent
57f8db51ea
commit
4edf977fb2
15
source/_layouts/app.html.twig
Normal file
15
source/_layouts/app.html.twig
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>{{ site.title }}</title>
|
||||||
|
<link href="/dist/css/app.css" rel="stylesheet">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
</head>
|
||||||
|
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
|
||||||
|
<div id="app">
|
||||||
|
{% block body %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
<script src="/dist/js/all.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -1,26 +0,0 @@
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>{{ site.title }}</title>
|
|
||||||
<link href="/dist/css/app.css" rel="stylesheet">
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
||||||
</head>
|
|
||||||
<body class="text-black bg-grey-lightest font-sans text-sm sm:text-base">
|
|
||||||
<div id="app">
|
|
||||||
{% include 'layout/header' %}
|
|
||||||
{% include 'layout/main-menu' %}
|
|
||||||
|
|
||||||
<div class="container mx-auto px-4">
|
|
||||||
<div class="leading-normal pt-8 sm:pt-16 pb-16 sm:pb-24">
|
|
||||||
<h1 class="uppercase text-red text-center mb-6 sm:mb-12 text-bold tracking-wide">
|
|
||||||
{{ page.title }}
|
|
||||||
</h1>
|
|
||||||
|
|
||||||
{% block content %}{% endblock %}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="/dist/js/all.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
16
source/_layouts/page.html.twig
Normal file
16
source/_layouts/page.html.twig
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{% extends 'app' %}
|
||||||
|
|
||||||
|
{% block body %}
|
||||||
|
{% include 'layout/header' %}
|
||||||
|
{% include 'layout/main-menu' %}
|
||||||
|
|
||||||
|
<div class="container mx-auto px-4">
|
||||||
|
<div class="leading-normal pt-8 sm:pt-16 pb-16 sm:pb-24">
|
||||||
|
<h1 class="uppercase text-red text-center mb-6 sm:mb-12 text-bold tracking-wide">
|
||||||
|
{{ page.title }}
|
||||||
|
</h1>
|
||||||
|
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: page
|
||||||
title: Coaches
|
title: Coaches
|
||||||
permalink: /
|
permalink: /
|
||||||
coaches: []
|
coaches: []
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: page
|
||||||
title: Contact
|
title: Contact
|
||||||
email: cardiffbjj@googlemail.com
|
email: cardiffbjj@googlemail.com
|
||||||
phone: 07976 461973
|
phone: 07976 461973
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: page
|
||||||
title: Current Prices
|
title: Current Prices
|
||||||
adults:
|
adults:
|
||||||
unlimited: 50
|
unlimited: 50
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: page
|
||||||
title: Class Schedule
|
title: Class Schedule
|
||||||
classes:
|
classes:
|
||||||
monday:
|
monday:
|
||||||
|
|
Reference in a new issue