headline/view/templates/base.html
Ondřej Nývlt 635f61c1f3 Update logo
2023-08-20 17:07:26 +02:00

48 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Headline</title>
<link
rel="shortcut icon"
href="{{ url_for('static', filename='favicon.ico') }}"
/>
<link
rel="stylesheet"
href="{{ url_for('static', filename='main.css') }}"
/>
<link rel="icon" type="image/png" href="/static/icon-32.png" sizes="32x32" />
<link rel="icon" type="image/svg+xml" href="/static/icon.svg" />
<link rel="apple-touch-icon" href="/static/icon-180.png" />
<link rel="manifest" href="/static/manifest.webmanifest" />
<script
defer
data-domain="headline.beta.nolog.cz"
src="https://plausible.nolog.cz/js/plausible.js"
></script>
<script src="{{ url_for('static', filename='htmx@1.9.4.min.js') }}"></script>
{% block head %}{% endblock %}
</head>
<body hx-boost="true">
<header class="py-4 bg-white {% block header_class %}border-b{% endblock %}">
<div class="container flex flex-wrap items-center gap-x-8 gap-y-2">
<a href="/" class="text-inherit">
<h1 class="logo text-2xl font-bold">
<svg width="128" viewBox="0 0 512 128" xmlns="http://www.w3.org/2000/svg">
<path d="M6.4 16.32H27.52V53.28C30.08 50.72 33 48.8 36.28 47.52C39.64 46.24 43.16 45.6 46.84 45.6C54.92 45.6 60.88 47.72 64.72 51.96C68.64 56.12 70.6 61.8 70.6 69V105H49.48V71.76C49.48 65.28 46.52 62.04 40.6 62.04C37.88 62.04 35.4 62.68 33.16 63.96C30.92 65.16 29.04 67.04 27.52 69.6V105H6.4V16.32ZM114.654 106.8C103.374 106.8 94.4941 104.16 88.0141 98.88C81.6141 93.6 78.4141 86.12 78.4141 76.44C78.4141 66.92 81.2541 59.4 86.9341 53.88C92.6941 48.36 100.974 45.6 111.774 45.6C118.654 45.6 124.534 46.92 129.414 49.56C134.374 52.12 138.094 55.68 140.574 60.24C143.134 64.72 144.414 69.8 144.414 75.48V83.28H98.4541C99.2541 86.48 101.254 88.8 104.454 90.24C107.654 91.68 112.014 92.4 117.534 92.4C121.294 92.4 125.134 92.08 129.054 91.44C133.054 90.8 136.494 89.92 139.374 88.8V102.72C136.414 103.92 132.694 104.88 128.214 105.6C123.814 106.4 119.294 106.8 114.654 106.8ZM124.494 70.08C124.174 66.96 122.894 64.52 120.654 62.76C118.414 61 115.334 60.12 111.414 60.12C107.574 60.12 104.534 61.04 102.294 62.88C100.054 64.64 98.7741 67.04 98.4541 70.08H124.494ZM174.487 106.8C167.287 106.8 161.447 105.08 156.967 101.64C152.567 98.12 150.367 93.24 150.367 87C150.367 80.52 152.487 75.56 156.727 72.12C161.047 68.6 167.207 66.84 175.207 66.84C178.327 66.84 181.447 67.2 184.567 67.92C187.687 68.56 190.367 69.44 192.607 70.56V69.36C192.607 63.2 187.567 60.12 177.487 60.12C170.447 60.12 164.007 61.48 158.167 64.2V49.68C160.727 48.48 164.087 47.52 168.247 46.8C172.407 46 176.727 45.6 181.207 45.6C191.927 45.6 200.007 47.76 205.447 52.08C210.967 56.32 213.727 62.28 213.727 69.96V105H193.927V100.08C191.767 102.16 189.047 103.8 185.767 105C182.487 106.2 178.727 106.8 174.487 106.8ZM180.727 93.84C183.207 93.84 185.527 93.36 187.687 92.4C189.847 91.36 191.487 90.04 192.607 88.44V83.4C189.167 81.08 185.247 79.92 180.847 79.92C178.047 79.92 175.887 80.52 174.367 81.72C172.847 82.92 172.087 84.68 172.087 87C172.087 89.16 172.807 90.84 174.247 92.04C175.767 93.24 177.927 93.84 180.727 93.84ZM252.1 106.8C246.1 106.8 240.78 105.56 236.14 103.08C231.5 100.52 227.9 96.96 225.34 92.4C222.78 87.76 221.5 82.4 221.5 76.32C221.5 70.32 222.78 65 225.34 60.36C227.9 55.64 231.46 52 236.02 49.44C240.66 46.88 246.02 45.6 252.1 45.6C256.1 45.6 259.78 46.16 263.14 47.28C266.5 48.4 269.38 50 271.78 52.08V16.32H292.9V105H272.5V99.24C267.14 104.28 260.34 106.8 252.1 106.8ZM257.62 90.48C260.82 90.48 263.7 89.68 266.26 88.08C268.82 86.4 270.66 84.16 271.78 81.36V71.16C270.66 68.36 268.82 66.16 266.26 64.56C263.7 62.88 260.82 62.04 257.62 62.04C253.3 62.04 249.82 63.32 247.18 65.88C244.54 68.44 243.22 71.92 243.22 76.32C243.22 80.72 244.54 84.2 247.18 86.76C249.82 89.24 253.3 90.48 257.62 90.48ZM303.705 16.32H324.825V105H303.705V16.32ZM346.86 39.72C343.66 39.72 340.98 38.68 338.82 36.6C336.66 34.52 335.58 31.88 335.58 28.68C335.58 25.56 336.66 22.96 338.82 20.88C340.98 18.72 343.66 17.64 346.86 17.64C349.98 17.64 352.62 18.72 354.78 20.88C357.02 22.96 358.14 25.56 358.14 28.68C358.14 31.8 357.02 34.44 354.78 36.6C352.62 38.68 349.98 39.72 346.86 39.72ZM336.3 47.4H357.42V105H336.3V47.4ZM368.978 47.4H389.378V53.76C391.858 51.04 394.858 49 398.378 47.64C401.898 46.28 405.578 45.6 409.418 45.6C417.498 45.6 423.458 47.72 427.298 51.96C431.218 56.12 433.178 61.8 433.178 69V105H412.058V71.76C412.058 65.28 409.098 62.04 403.178 62.04C400.458 62.04 397.978 62.68 395.738 63.96C393.498 65.16 391.618 67.04 390.098 69.6V105H368.978V47.4ZM477.232 106.8C465.952 106.8 457.072 104.16 450.592 98.88C444.192 93.6 440.992 86.12 440.992 76.44C440.992 66.92 443.832 59.4 449.512 53.88C455.272 48.36 463.552 45.6 474.352 45.6C481.232 45.6 487.112 46.92 491.992 49.56C496.952 52.12 500.672 55.68 503.152 60.24C505.712 64.72 506.992 69.8 506.992 75.48V83.28H461.032C461.832 86.48 463.832 88.8 467.032 90.24C470.232 91.68 474.592 92.4 480.112 92.4C483.872 92.4 487.712 92.08 491.632 91.44C495.632 90.8 499.072 89.92 501.952 88.8V102.72C498.992 103.92 495.272 104.88 490.792 105.6C486.392 106.4 481.872 106.8 477.232 106.8ZM487.072 70.08C486.752 66.96 485.472 64.52 483.232 62.76C480.992 61 477.912 60.12 473.992 60.12C470.152 60.12 467.112 61.04 464.872 62.88C462.632 64.64 461.352 67.04 461.032 70.08H487.072Z" fill="black"/>
</svg>
</h1>
</a>
<nav class="flex flex-wrap items-center gap-x-4 gap-y-2">
<a href="/about">About</a>
<a href="/feeds">Feeds</a>
</nav>
</div>
</header>
<main class="mb-auto">
{% block body %}{% endblock %}
</main>
{% include "parts/footer.html" %}
</body>
</html>