Initial commit
This commit is contained in:
commit
f764004f89
31 changed files with 3907 additions and 0 deletions
15
templates/html.html.twig
Normal file
15
templates/html.html.twig
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Tailwind CSS workshop{% endblock %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
{% block stylesheets %}{% endblock %}
|
||||
</head>
|
||||
<body class="py-20 font-sans bg-blue-600">
|
||||
<div class="container px-4 mx-auto">
|
||||
{% block body %}{% endblock %}
|
||||
</div>
|
||||
{% block javascripts %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
5
templates/page.html.twig
Normal file
5
templates/page.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends 'html.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
{% block content %}{% endblock %}
|
||||
{% endblock %}
|
5
templates/pages/home.html.twig
Normal file
5
templates/pages/home.html.twig
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends 'page.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="text-5xl font-bold text-center text-white">Welcome to the Tailwind CSS workshop</h1>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue