diff --git a/app.py b/app.py index 7db269e..098dc3e 100644 --- a/app.py +++ b/app.py @@ -59,6 +59,7 @@ def inject_translations(): if app.debug: console("sass static/style/main.scss static/style/main.css") + console("sass static/style/risdeveau.scss static/style/risdeveau.css") @app.route("/") def index(): @@ -71,3 +72,7 @@ def host(): @app.route("/us") def us(): return render_template('us.html') + +@app.route("/risdeveau") +def risdeveau(): + return render_template('personal/risdeveau.html') diff --git a/static/img/risdeveau/wallets/evm.webp b/static/img/risdeveau/wallets/evm.webp new file mode 100644 index 0000000..64e3b0d Binary files /dev/null and b/static/img/risdeveau/wallets/evm.webp differ diff --git a/static/img/risdeveau/wallets/ton.webp b/static/img/risdeveau/wallets/ton.webp new file mode 100644 index 0000000..318e3e9 Binary files /dev/null and b/static/img/risdeveau/wallets/ton.webp differ diff --git a/static/img/risdeveau/wallets/xmr.webp b/static/img/risdeveau/wallets/xmr.webp new file mode 100644 index 0000000..5ec90af Binary files /dev/null and b/static/img/risdeveau/wallets/xmr.webp differ diff --git a/static/style/main.scss b/static/style/main.scss index 49a5e2b..5a4c86c 100644 --- a/static/style/main.scss +++ b/static/style/main.scss @@ -88,7 +88,6 @@ ul { header { display: flex; - flex-direction: row-reverse; justify-content: space-between; background-color: $mantle; padding: .5rem; @@ -150,6 +149,36 @@ footer { } } +.blocks { + display: flex; + flex-wrap: wrap; + margin-top: .5rem; + gap: .5rem; + + & + &, + & + .block, + .block + & { + margin-top: .5rem; + } + + .block { + margin-top: 0; + } +} + +.badges { + .block { + flex: 1; + text-wrap-mode: nowrap; + text-align: -webkit-center; + + &:hover { + flex: 1.5; + transform: none; + } + } +} + .icon { width: 1.5em; vertical-align: middle; diff --git a/static/style/risdeveau.scss b/static/style/risdeveau.scss new file mode 100644 index 0000000..a5c8600 --- /dev/null +++ b/static/style/risdeveau.scss @@ -0,0 +1,33 @@ +h3 { + margin-block-end: 0; +} + +.qr { + img { width: 100% } + p { text-align: center; } + + &.blocks { + flex-wrap: nowrap; + overflow-x: auto; + width: calc(100vw - 1rem); + max-width: 45rem; + scroll: { + behavior: smooth; + snap-type: x mandatory; + } + + &::-webkit-scrollbar { display: none; } + + &:hover .block.qr:not(:hover) { + filter: blur(5px); + transition: all 0.3s ease; + } + } + + &.block { + flex: 0 0 calc(100vw - 2rem); + scroll-snap-align: start; + max-width: 13.666rem; + } +} + diff --git a/templates/header.tmpl b/templates/header.tmpl index 4aa02db..c87f396 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -1,4 +1,10 @@
+ {%- if request.path != url_for('index') %} + Coders Squad + {%- else %} +
+ {%- endif %} + - - {%- if request.path != url_for('index') %} - Coders Squad - {%- endif %}
\ No newline at end of file diff --git a/templates/host.html b/templates/host.html index 6e63fce..fbd0ede 100644 --- a/templates/host.html +++ b/templates/host.html @@ -3,7 +3,7 @@ {% block title %}{{ _('about host') }}{% endblock %} {% block content %} - + {{ _("host:hoster") }}: play2go

{{ _('host:hoster_descr') }}

diff --git a/templates/personal/risdeveau.html b/templates/personal/risdeveau.html new file mode 100644 index 0000000..2fc0101 --- /dev/null +++ b/templates/personal/risdeveau.html @@ -0,0 +1,88 @@ + + + + Sweet Bread + + + + + + + + +
+ Coders Squad +
+ +
+

Development

+
+ + + Gitea + + + + GitHub + + + + KolibriOS Git + +
+ +

Contacts

+
+ + + Matrix + + + + Fediverse + + + + Discord + + + Mail + +
+ +

Game accounts

+
+ + + Steam + + + + GameBanana + +
+ +

Wallets

+
+
+

POL, BNB

+ +
+ +
+

TON

+ +
+ +
+

XMR

+ +
+
+
+ + \ No newline at end of file diff --git a/templates/us.html b/templates/us.html index df66391..dd45510 100644 --- a/templates/us.html +++ b/templates/us.html @@ -3,7 +3,7 @@ {% block title %}О нас{% endblock %} {% block content %} - +
Sweetbread