MyHome/primary/templates/layouts/base.html
2020-01-15 21:09:07 +07:00

25 lines
694 B
HTML

{% load static %}
<!DOCTYPE html>
<html>
<head>
<link href="{% static "tailwind.min.css" %}" rel="stylesheet">
<title>MyHome</title>
</head>
<body>
<div class=" h-16 w-full z-10 flex flex-row justify-start items-center bg-blue-500 text-white">
<div class="ml-4">
<a href="/">{% block title %} MyHome {% endblock %}</a>
</div>
<div class="mr-4">
</div>
</div>
<div class="py-4 px-4 h-32 flex flex-row justify-start items-center bg-blue-500 text-white text-4xl">
{% block subtitle %} Selamat datang di rumah! {% endblock %}
</div>
<div class="my-4 mx-4">
{% block content %} {% endblock %}
</div>
</body>
</html>