91 lines
No EOL
4 KiB
HTML
91 lines
No EOL
4 KiB
HTML
<!-- index.html -->
|
|
<!-- Copyright (c) 2025 snfsx.xyz -->
|
|
<!-- Licensed under the MIT License. See https://opensource.org/licenses/MIT -->
|
|
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="ru">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0">
|
|
<title>{{ info.name }}</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
|
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>{{ info.favicon }}</text></svg>">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<header>
|
|
<h1>{{ info.name }}</h1>
|
|
<p class="subtitle">{{ info.age }} y.o. | {{ info.birthday }}</p>
|
|
</header>
|
|
|
|
<main>
|
|
<section id="about">
|
|
<h2>About</h2>
|
|
<p><a1>{{ info.bio }}</a1></p>
|
|
{% if info.tags %}
|
|
{% endif %}
|
|
</section>
|
|
|
|
|
|
<section id="now-playing">
|
|
<h2>Now Listening</h2>
|
|
<div class="music-card">
|
|
<img id="now-playing-cover"
|
|
src="data:image/svg+xml,<svg viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'><circle cx='25' cy='25' r='10' fill='none' stroke='%2360d9c8' stroke-width='3' stroke-linecap='round' stroke-dasharray='31.4 62.8'><animateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='0.2s' repeatCount='indefinite'/></circle></svg>"
|
|
alt="Loading album cover..."
|
|
class="album-cover">
|
|
<div class="track-info">
|
|
<p id="now-playing-status"></p> <!-- Initial state empty -->
|
|
<a id="now-playing-title-link" href="#" target="_blank" rel="noopener noreferrer" class="track-title-link inactive-link">
|
|
<span id="now-playing-title" class="track-title"></span> <!-- Keep span for text content -->
|
|
</a>
|
|
<p id="now-playing-artist" class="track-artist"></p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section id="accounts">
|
|
<h2>Links</h2>
|
|
<ul>
|
|
{% if info.github_username %}
|
|
<li>Github: <a href="https://github.com/{{ info.github_username }}" target="_blank" rel="noopener noreferrer"><i>@{{ info.github_username }}</i></a></li>
|
|
{% endif %}
|
|
|
|
{% if info.telegram %}
|
|
<li>Telegram: <a href="https://t.me/{{ info.telegram }}" target="_blank" rel="noopener noreferrer"><i>@{{ info.telegram }}</i></a></li>
|
|
{% endif %}
|
|
|
|
{% if info.email %}
|
|
<li>Email: <a href="mailto:{{ info.email }}"><i>{{ info.email}}</i></a></li>
|
|
{% endif %}
|
|
{% if info.jabber %}
|
|
<li>Jabber: <a href="xmpp:{{ info.jabber }}"><i>{{ info.jabber }}</i></a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</section>
|
|
|
|
{% if info.ton_address %}
|
|
<section id="donate">
|
|
<h2>Donate</h2>
|
|
<p>Support me via TON v{{ info.ton_version}}:</p>
|
|
<div class="donate-address-container">
|
|
<code id="ton-address">{{ info.ton_address }}</code>
|
|
<button id="copy-ton-button" data-address="{{ info.ton_address }}">Copy</button>
|
|
</div>
|
|
</section>
|
|
{% endif %}
|
|
</main>
|
|
|
|
<footer>
|
|
<p>© {{ info.nickname }} {{ info.year }}</p>
|
|
</footer>
|
|
</div>
|
|
|
|
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
|
|
|
|
</body>
|
|
</html> |