minor fixes

This commit is contained in:
aneuhmanh 2025-02-17 00:40:14 +02:00
parent e06e10f5e6
commit d735e0b85b
2 changed files with 3 additions and 19 deletions

View File

@ -1,6 +1,6 @@
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
* { * {
font-family: 'Comfortaa', sans-serif; font-family: 'Nunito', sans-serif;
} }
html, body { html, body {
height: 100%; height: 100%;

View File

@ -9,23 +9,7 @@
<link rel="icon" href="{{ url_for('static', filename='artberry.ico') }}" type="image/x-icon"> <link rel="icon" href="{{ url_for('static', filename='artberry.ico') }}" type="image/x-icon">
</head> </head>
<body> <body>
<nav> {% include 'navbar.html' %}
<div class="nav-buttons">
<a href="{{ url_for('index') }}" class="button">Arts</a>
<a href="{{ url_for('videos') }}" class="button">Videos</a>
<a href="{{ url_for('comics') }}" class="button">Comics</a>
{% if current_user.is_authenticated %}
{% if content_type == 'art' %}
<a href="{{ url_for('upload') }}" class="button">Upload</a>
{% elif content_type == 'video' %}
<a href="{{ url_for('upload_video') }}" class="button">Upload</a>
{% elif content_type == 'comic' %}
<a href="{{ url_for('comic_upload') }}" class="button">Upload</a>
{% endif %}
<a href="{{ url_for('shop') }}" class="button">{{ user_cookies }} 🍪</a>
{% endif %}
</div>
</nav>
{% if content_type == 'art' %} {% if content_type == 'art' %}
<h1>Image</h1> <h1>Image</h1>