wip: update my page
This commit is contained in:
@@ -29,3 +29,11 @@ def static(filename: str):
|
|||||||
@bp.route("/")
|
@bp.route("/")
|
||||||
def index():
|
def index():
|
||||||
return render_tmpl('index.html')
|
return render_tmpl('index.html')
|
||||||
|
|
||||||
|
@bp.route("/contacts")
|
||||||
|
def contacts():
|
||||||
|
return render_tmpl('contacts.html')
|
||||||
|
|
||||||
|
@bp.route("/donate")
|
||||||
|
def donate():
|
||||||
|
return render_tmpl('donate.html')
|
||||||
|
|||||||
@@ -1,3 +1,30 @@
|
|||||||
|
@use "sass:color";
|
||||||
|
|
||||||
|
// Palette: Catppuccin Mocha
|
||||||
|
// https://catppuccin.com/palette/
|
||||||
|
$base: #1e1e2e;
|
||||||
|
$text: #cdd6f4;
|
||||||
|
|
||||||
|
$mantle: #181825;
|
||||||
|
$crust: #11111b;
|
||||||
|
|
||||||
|
$overlay0: #6c7086;
|
||||||
|
$overlay1: #7f849c;
|
||||||
|
$overlay2: #9399b2;
|
||||||
|
|
||||||
|
$surface0: #313244;
|
||||||
|
$surface1: #45475a;
|
||||||
|
$surface2: #585b70;
|
||||||
|
|
||||||
|
$subtext0: #a6adc8;
|
||||||
|
$subtext1: #bac2de;
|
||||||
|
|
||||||
|
$red: #f38ba8;
|
||||||
|
$green: #a6e3a1;
|
||||||
|
$peach: #fab387;
|
||||||
|
$blue: #89b4fa;
|
||||||
|
$mauve: #8839ef;
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-block-end: 0;
|
margin-block-end: 0;
|
||||||
}
|
}
|
||||||
@@ -31,3 +58,23 @@ h3 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table, tbody {
|
||||||
|
vertical-align: baseline;
|
||||||
|
border-collapse: collapse;
|
||||||
|
|
||||||
|
tr {
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: color.change($surface1, $alpha:75%);
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
th + td, td + td {
|
||||||
|
padding-left: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -0,0 +1,24 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Sweet Bread</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="/static/style/main.css">
|
||||||
|
<link rel="stylesheet" href="/static/style/risdeveau.css">
|
||||||
|
<link rel="icon" type="image/webp" href="/static/icon/us/risdeveau.webp" />
|
||||||
|
<script
|
||||||
|
src="https://track.lair.moe/api/script.js"
|
||||||
|
data-site-id="1"
|
||||||
|
defer
|
||||||
|
></script>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
{% block head %}{% endblock %}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{% include 'risdeveau/templates/header.tmpl' %}
|
||||||
|
|
||||||
|
<main>
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,58 @@
|
|||||||
|
{% extends 'risdeveau/templates/base.tmpl' %}
|
||||||
|
|
||||||
|
{% block head %}
|
||||||
|
<style>
|
||||||
|
main {
|
||||||
|
width: -webkit-fill-available;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h3>Development</h3>
|
||||||
|
<div class="blocks badges">
|
||||||
|
<a class="block" href="//g.lair.moe/Sweetbread">
|
||||||
|
<img class="icon" src="/static/icon/service/gitea.webp" />
|
||||||
|
Gitea
|
||||||
|
</a>
|
||||||
|
<a class="block" href="https://github.com/VerySweetBread">
|
||||||
|
<img class="icon" src="https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" />
|
||||||
|
GitHub
|
||||||
|
</a>
|
||||||
|
<a class="block" href="https://git.kolibrios.org/Sweetbread">
|
||||||
|
<img class="icon" src="https://git.kolibrios.org/assets/img/logo.svg" />
|
||||||
|
KolibriOS Git
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>Contacts</h3>
|
||||||
|
<div class="blocks badges">
|
||||||
|
<a class="block" href="https://matrix.to/#/@risdeveau:codrs.ru">
|
||||||
|
<img class="icon" src="https://matrix.org/assets/favicon.ico" />
|
||||||
|
Matrix
|
||||||
|
</a>
|
||||||
|
<a class="block" href="//b.lair.moe/@risdeveau">
|
||||||
|
<img class="icon" src="/static/icon/service/sharkey.webp" />
|
||||||
|
Fediverse
|
||||||
|
</a>
|
||||||
|
<a class="block" href="https://discord.com/users/459823895256498186">
|
||||||
|
<img class="icon" src="https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/66e3d80db9971f10a9757c99_Symbol.svg" />
|
||||||
|
Discord
|
||||||
|
</a>
|
||||||
|
<a class="block" href="mailto:risdeveau@lair.moe">
|
||||||
|
Mail
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>Game accounts</h3>
|
||||||
|
<div class="blocks badges">
|
||||||
|
<a class="block" href="https://steamcommunity.com/id/risdeveau">
|
||||||
|
<img class="icon" src="https://store.steampowered.com/favicon.ico" />
|
||||||
|
Steam
|
||||||
|
</a>
|
||||||
|
<a class="block" href="https://gamebanana.com/members/3899828">
|
||||||
|
<img class="icon" src="https://images.gamebanana.com/static/img/favicon/favicon.ico" />
|
||||||
|
GameBanana
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
{% extends 'risdeveau/templates/base.tmpl' %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<h3>Wallets</h3>
|
||||||
|
<div class="blocks qr">
|
||||||
|
<div class="block qr">
|
||||||
|
<p>POL, BNB</p>
|
||||||
|
<img src="/static/img/wallets/evm.webp">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="block qr">
|
||||||
|
<p>TON</p>
|
||||||
|
<img src="/static/img/wallets/ton.webp">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="block qr">
|
||||||
|
<p>XMR</p>
|
||||||
|
<img src="/static/img/wallets/xmr.webp">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
<header>
|
||||||
|
{%- if request.path != url_for('.index') %}
|
||||||
|
<a href="{{ url_for('.index') }}">Main</a>
|
||||||
|
{%- else %}
|
||||||
|
<a href="{{ url_for('root.index') }}">Lair</a>
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
|
<div class="header-links">
|
||||||
|
{%- for (l, t) in (
|
||||||
|
('.contacts', _('contacts')),
|
||||||
|
('.donate', _('donate'))
|
||||||
|
) %}
|
||||||
|
{%- if url_for(l) == request.path %}
|
||||||
|
<strong>{{ t }}</strong>
|
||||||
|
{%- else %}
|
||||||
|
<a href="{{ url_for(l) }}">{{ t }}</a>
|
||||||
|
{%- endif %}
|
||||||
|
{%- endfor %}
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
@@ -1,88 +1,54 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'risdeveau/templates/base.tmpl' %}
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Sweet Bread</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="/static/style/main.css">
|
{% block content %}
|
||||||
<link rel="stylesheet" href="/static/style/risdeveau.css">
|
<div class="block">
|
||||||
<link rel="icon" type="image/webp" href="/static/icon/us/risdeveau.webp" />
|
<table>
|
||||||
<script
|
<tr>
|
||||||
src="https://track.lair.moe/api/script.js"
|
<th>DoB</th>
|
||||||
data-site-id="1"
|
<td>2005-01-13</td>
|
||||||
defer
|
</tr>
|
||||||
></script>
|
<tr>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<th>Languages</th>
|
||||||
</head>
|
<td>
|
||||||
<body>
|
<table>
|
||||||
<header>
|
<tr>
|
||||||
<a href="{{ url_for('root.index') }}">Lair</a>
|
<td>Russian</td>
|
||||||
</header>
|
<td>Native</td>
|
||||||
|
</tr>
|
||||||
<main>
|
<tr>
|
||||||
<h3>Development</h3>
|
<td>English</td>
|
||||||
<div class="blocks badges">
|
<td>B2</td>
|
||||||
<a class="block" href="//g.lair.moe/Sweetbread">
|
</tr>
|
||||||
<img class="icon" src="/static/icon/service/gitea.webp" />
|
<tr>
|
||||||
Gitea
|
<td>French</td>
|
||||||
</a>
|
<td>A1?</td>
|
||||||
<a class="block" href="https://github.com/VerySweetBread">
|
</tr>
|
||||||
<img class="icon" src="https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png" />
|
<tr>
|
||||||
GitHub
|
<td>German</td>
|
||||||
</a>
|
<td>A2?</td>
|
||||||
<a class="block" href="https://git.kolibrios.org/Sweetbread">
|
</tr>
|
||||||
<img class="icon" src="https://git.kolibrios.org/assets/img/logo.svg" />
|
<tr>
|
||||||
KolibriOS Git
|
<td>Japanese</td>
|
||||||
</a>
|
<td>Beginner</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Student</th>
|
||||||
|
<td>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>Programmer</td>
|
||||||
|
<td>2/4yr.</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Translator</td>
|
||||||
|
<td>2/3yr.</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock %}
|
||||||
<h3>Contacts</h3>
|
|
||||||
<div class="blocks badges">
|
|
||||||
<a class="block" href="https://matrix.to/#/@risdeveau:codrs.ru">
|
|
||||||
<img class="icon" src="https://matrix.org/assets/favicon.ico" />
|
|
||||||
Matrix
|
|
||||||
</a>
|
|
||||||
<a class="block" href="//b.lair.moe/@risdeveau">
|
|
||||||
<img class="icon" src="/static/icon/service/sharkey.webp" />
|
|
||||||
Fediverse
|
|
||||||
</a>
|
|
||||||
<a class="block" href="https://discord.com/users/459823895256498186">
|
|
||||||
<img class="icon" src="https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/66e3d80db9971f10a9757c99_Symbol.svg" />
|
|
||||||
Discord
|
|
||||||
</a>
|
|
||||||
<a class="block" href="mailto:risdeveau@lair.moe">
|
|
||||||
Mail
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>Game accounts</h3>
|
|
||||||
<div class="blocks badges">
|
|
||||||
<a class="block" href="https://steamcommunity.com/id/risdeveau">
|
|
||||||
<img class="icon" src="https://store.steampowered.com/favicon.ico" />
|
|
||||||
Steam
|
|
||||||
</a>
|
|
||||||
<a class="block" href="https://gamebanana.com/members/3899828">
|
|
||||||
<img class="icon" src="https://images.gamebanana.com/static/img/favicon/favicon.ico" />
|
|
||||||
GameBanana
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<h3>Wallets</h3>
|
|
||||||
<div class="blocks qr">
|
|
||||||
<div class="block qr">
|
|
||||||
<p>POL, BNB</p>
|
|
||||||
<img src="/static/img/wallets/evm.webp">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="block qr">
|
|
||||||
<p>TON</p>
|
|
||||||
<img src="/static/img/wallets/ton.webp">
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="block qr">
|
|
||||||
<p>XMR</p>
|
|
||||||
<img src="/static/img/wallets/xmr.webp">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</main>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -5,6 +5,9 @@ contact us = Contact us
|
|||||||
about us = About us
|
about us = About us
|
||||||
about host = About host
|
about host = About host
|
||||||
|
|
||||||
|
contacts = Contacts
|
||||||
|
donate = Donate
|
||||||
|
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
altfronts = Altfronts
|
altfronts = Altfronts
|
||||||
|
|||||||
@@ -5,6 +5,9 @@ contact us = Для связи
|
|||||||
about us = О нас
|
about us = О нас
|
||||||
about host = О хосте
|
about host = О хосте
|
||||||
|
|
||||||
|
contacts = Контакты
|
||||||
|
donate = Донат
|
||||||
|
|
||||||
|
|
||||||
[index]
|
[index]
|
||||||
altfronts = Альтфронты
|
altfronts = Альтфронты
|
||||||
|
|||||||
Reference in New Issue
Block a user