njpma/app/templates/base.html

37 lines
1.4 KiB
HTML
Raw Normal View History

2021-09-28 13:10:22 +00:00
<!doctype html>{% load sass_tags static %}
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>
{% block title %}
2021-10-12 09:41:57 +00:00
Phantas.ma/polis - Looking Back to the Future
2021-09-28 13:10:22 +00:00
{% endblock title %}
</title>
<link href="{% sass_src 'css/style.scss' %}" rel="stylesheet" type="text/css">
{% block head %}{% endblock head %}
</head>
<body class="{% block body_class%}{% endblock %}">
<div class="topnav">
2021-10-21 16:10:13 +00:00
<a href="/polis" class="title animated-title">
<div class="title-text text">
2021-10-12 09:41:57 +00:00
Phantas.ma/polis<span class="hide-mobile">: Looking Back to the Future</span>
2021-10-12 15:20:58 +00:00
</div>
2021-10-21 16:10:13 +00:00
<div class="text">
2021-10-14 09:42:13 +00:00
未之至城<span class="hide-mobile">:回顧未來</span>
2021-10-12 15:20:58 +00:00
</div>
</a>
<nav>
2021-10-21 16:10:13 +00:00
<a href="{% url 'films'%}" class="animated-title"><span class="text">films <span class="hide-mobile">-</span> 影片</span></a>
<a href="{% url 'texts' %}" class="animated-title"><span class="text">assemblies <span class="hide-mobile">-</span> 组件</span></a>
<a href="{% url 'about' %}" class="animated-title"><span class="text">about <span class="hide-mobile">-</span> 關於</span></a>
</nav>
</div>
2021-09-28 13:10:22 +00:00
<main>
{% block main %}{% endblock main %}
</main>
2021-09-28 13:10:22 +00:00
{% block end %}{% endblock end %}
2021-10-21 16:10:13 +00:00
<script src="{% static 'js/animation.js' %}"></script>
2021-09-28 13:10:22 +00:00
</body>
</html>