Update pyproject.toml

This commit is contained in:
Kristofers Solo 2023-09-09 23:43:26 +03:00
parent 97b035a09d
commit 649348e5c2
3 changed files with 28 additions and 12 deletions

View File

@ -1,7 +1,7 @@
# Kristofers Solo website # Kristofers Solo website
Portfolio build using [django](https://www.djangoproject.com/). Portfolio build using [django](https://www.djangoproject.com/).
![Lint](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/lint.yml/badge.svg) ![](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/ruff.yml/badge.svg) ![](https://github.com/kristoferssolo/kristofersxyz/actions/workflows/test.yml/badge.svg)
## Development server ## Development server
Install packages from `requirements.txt`. Install packages from `requirements.txt`.

View File

@ -1,3 +1,19 @@
[project]
name = "kristofersxyz"
version = "0.1.0"
description = "Portfolio build using django."
authors = [{ name = "Kristofers Solo", email = "dev@kristofers.xyz" }]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "GPLv3" }
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3:10",
"Programming Language :: Python :: 3:11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
[tool.mypy] [tool.mypy]
check_untyped_defs = true check_untyped_defs = true
disallow_any_generics = true disallow_any_generics = true

View File

@ -2,29 +2,29 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" data-color-mode="dark"> <html lang="en" data-color-mode="dark">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="{% static 'main/img/icons/logo.svg' %}"> <link rel="icon" href="{% static 'main/img/icons/logo.svg' %}" />
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"> rel="stylesheet" />
<title> <title>
{% block title %}{% endblock %} {% block title %}{% endblock %}
</title> </title>
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/reset.css' %}"> href="{% static 'main/css/reset.css' %}" />
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/colors.css' %}"> href="{% static 'main/css/colors.css' %}" />
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/navigation_button.css' %}"> href="{% static 'main/css/navigation_button.css' %}" />
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/button.css' %}"> href="{% static 'main/css/button.css' %}" />
<link rel="stylesheet" <link rel="stylesheet"
type="text/css" type="text/css"
href="{% static 'main/css/layout.css' %}"> href="{% static 'main/css/layout.css' %}" />
<script src="{% static 'main/js/navigation.js' %}" defer></script> <script src="{% static 'main/js/navigation.js' %}" defer></script>
<script src="{% static 'main/js/lightmode.js' %}" defer></script> <script src="{% static 'main/js/lightmode.js' %}" defer></script>
{% block meta %}{% endblock %} {% block meta %}{% endblock %}
@ -33,7 +33,7 @@
<header class="primary-header flex"> <header class="primary-header flex">
<div> <div>
<a href="{% url 'home' %}"> <a href="{% url 'home' %}">
<img src="{% static 'main/img/icons/logo.svg' %}" alt="logo" class="logo"> <img src="{% static 'main/img/icons/logo.svg' %}" alt="logo" class="logo" />
</a> </a>
</div> </div>
<div class="mobile-nav-toggle"> <div class="mobile-nav-toggle">
@ -52,7 +52,7 @@
src="{% static 'main/audio/csgo-throwing-flashbang-sound-effect.m4a' %}"> src="{% static 'main/audio/csgo-throwing-flashbang-sound-effect.m4a' %}">
</audio> </audio>
<svg width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 496"> <svg width="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 496">
<path fill="currentColor" d="M8,256C8,393,119,504,256,504S504,393,504,256,393,8,256,8,8,119,8,256ZM256,440V72a184,184,0,0,1,0,368Z" transform="translate(-8 -8)"/> <path fill="currentColor" d="M8,256C8,393,119,504,256,504S504,393,504,256,393,8,256,8,8,119,8,256ZM256,440V72a184,184,0,0,1,0,368Z" transform="translate(-8 -8)" />
</svg> </svg>
</button> </button>
</div> </div>