summaryrefslogtreecommitdiff
path: root/src/partials
diff options
context:
space:
mode:
Diffstat (limited to 'src/partials')
-rw-r--r--src/partials/book-progress-banner.html22
-rw-r--r--src/partials/common-section.html40
-rw-r--r--src/partials/footer.html30
-rw-r--r--src/partials/header.html14
-rw-r--r--src/partials/sidebar.html1
5 files changed, 107 insertions, 0 deletions
diff --git a/src/partials/book-progress-banner.html b/src/partials/book-progress-banner.html
new file mode 100644
index 0000000..3d52164
--- /dev/null
+++ b/src/partials/book-progress-banner.html
@@ -0,0 +1,22 @@
+<!-- Banner -->
+<a href="/computer-literacy-book-progress.html" class="font-serif block relative overflow-clip">
+ <!-- Binary numbers with gradient overlay -->
+ <div class="absolute inset-0 z-0">
+ <!-- Binary numbers -->
+ <div class="absolute flex text-5xl scale-105 tabular-nums text-black/20 flex-col right-0 top-0 -translate-y-3">
+ <span class="translate-x-0">10101011001010100101101011010100101</span>
+ <span class="translate-x-24">01010110101101001010101101001010110</span>
+ <span class="translate-x-8">11010010101010110100101011010101001</span>
+ <span class="translate-x-16">00101011010010101010101101001011010</span>
+ <span class="translate-x-2">10100101010110101001011010101010011</span>
+ </div>
+ <!-- Gradient overlay -->
+ <div class="absolute inset-0 bg-gradient-to-r from-white max-md:from-35% to-white/0"></div>
+ </div>
+
+ <!-- Text content on top -->
+ <div class="relative z-10 mx-auto py-12 h-54 container max-sm:px-5 flex flex-col justify-between">
+ <h1 class="capitalize text-3xl">Компьютерная<br/>грамотность</h1>
+ <span class="underline block first-letter:capitalize">Следить за прогрессом выхода книги</span>
+ </div>
+</a> \ No newline at end of file
diff --git a/src/partials/common-section.html b/src/partials/common-section.html
new file mode 100644
index 0000000..7183892
--- /dev/null
+++ b/src/partials/common-section.html
@@ -0,0 +1,40 @@
+<section class="bg-gradient-to-b pb-12 from-zinc-900 to-black text-white font-serif">
+ <div class="mx-auto space-y-12 pt-24 pb-32 container max-sm:px-5 ">
+ <section id="support" class="grid grid-cols-1 md:grid-cols-3">
+ <span class="block mb-6 first-letter:capitalize text-2xl">поддержать</span>
+ <div class="grid grid-cols-1 sm:grid-cols-2 md:contents">
+ <div class="flex gap-5">
+ <span class="text-yellow-300 capitalize">monero</span>
+ <div class="space-y-3">
+ <img class="invert" width="192" height="192" src="/assets/monero-qr.png">
+ <div class="max-w-[192px] border overflow-x-scroll grow text-sm pb-3 border-zinc-200">83FnHA4VUDBWiTwkqBJssTTV6DaE5NBnoaW2iRTLMMPBeykwgY8EK1U76RjJVLe6YYFgkkWfvMeH3fxVDkFT7GHfFxbRqte</div>
+ </div>
+ </div>
+ <div class="flex gap-5 max-sm:mt-6">
+ <span class="text-yellow-300 capitalize">bitcoin</span>
+ <div class="space-y-3">
+ <img class="invert" width="192" height="192" src="/assets/monero-qr.png">
+ <div class="max-w-[192px] border overflow-x-scroll grow text-sm pb-3 border-zinc-200">83FnHA4VUDBWiTwkqBJssTTV6DaE5NBnoaW2iRTLMMPBeykwgY8EK1U76RjJVLe6YYFgkkWfvMeH3fxVDkFT7GHfFxbRqte</div>
+ </div>
+ </div>
+ </div>
+ </section>
+ <section>
+ <span class="block first-letter:capitalize text-2xl mb-3">публичные ключи</span>
+ <span>GPG</span>
+ <span>PGP</span>
+ </section>
+ <section>
+ <span class="block first-letter:capitalize text-2xl mb-3">принять участие</span>
+ <span>smtp email</span>
+ <span>поддомен</span>
+ <span>дизайн разработка сайта</span>
+ </section>
+ <section>
+ <span class="block first-letter:capitalize text-2xl mb-3">доступ к веб-сайту</span>
+ <span>Tor</span>
+ <span>Clear net</span>
+ <span>Spartran</span>
+ </section>
+ </div>
+</section> \ No newline at end of file
diff --git a/src/partials/footer.html b/src/partials/footer.html
new file mode 100644
index 0000000..1044aba
--- /dev/null
+++ b/src/partials/footer.html
@@ -0,0 +1,30 @@
+<footer class="relative font-serif">
+ <img class="w-full" src="/assets/images/paper-texture.png" alt="paper cut texture">
+ <div class="relative pb-8 pt-24 overflow-y-clip">
+ <img class="absolute object-fill w-full h-full z-[-1] top-0 left-0" src="/assets/images/paper-cut.png" alt="paper texture">
+ <div class="mx-auto flex gap-8 flex-wrap container max-sm:px-5">
+ <a class="min-w-16" href="/"><img width="96" height="96" src="/assets/icons/logo.svg" alt="logo letter M"></a>
+ <ul class="flex gap-8 flex-wrap">
+ <li>
+ <p class="text-xl first-letter:capitalize mb-3">техническое</p>
+ <ul class="space-y-1.5">
+ <li><a class="underline" href="/rss.xml">RSS лента</a></li>
+ <li><a class="block underline first-letter:capitalize" href="/sitemap.xml">карта сайта</a></li>
+ <div class="flex items-center gap-3">
+ <p class="shrink first-letter:capitalize inline-block">веб-сайт работает без JavaScript</p>
+ <img class="size-8 shrink-0" width="32" height="32" alt="js must die icon" src="/assets/images/nojs.png">
+ </div>
+ </ul>
+ </li>
+ <li id="contact">
+ <p class="text-xl first-letter:capitalize mb-3">связь</p>
+ <ul class="space-y-1.5">
+ <li><span>XMPP Jabber: mnik01@yax.im</span></li>
+ <li><a class="underline" href="mailto:mnik01@mlibren.com">Эл. почта: mnik01@mlibren.com</a></li>
+ </ul>
+ </li>
+ </ul>
+ </div>
+ <span class="w-full mt-32 inline-block text-sm text-center">Дизайн и разработка веб-сайтов Максим Никонов (c) 2025 <a class="underline" href="mailto:mnik01@mlibren.com">mnik01@mlibren.com</a></span>
+ </div>
+</footer> \ No newline at end of file
diff --git a/src/partials/header.html b/src/partials/header.html
new file mode 100644
index 0000000..5be1296
--- /dev/null
+++ b/src/partials/header.html
@@ -0,0 +1,14 @@
+<header class="py-12 border-b border-zinc-200 flex flex-col gap-4 items-center">
+ <a href="/"><img width="96" height="96" src="/assets/icons/logo.svg" alt="logo letter M"></a>
+ <nav>
+ <ul class="flex justify-center text-zinc-600 text-sm gap-4 flex-wrap">
+ <li><a class="block first-letter:capitalize hover:underline" href="#">портфолио</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#">обо мне</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#">резюме</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#">публикации</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#">гостевая книга</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#contact">связь</a></li>
+ <li><a class="block first-letter:capitalize hover:underline" href="#support">поддержать</a></li>
+ </ul>
+ </nav>
+</header> \ No newline at end of file
diff --git a/src/partials/sidebar.html b/src/partials/sidebar.html
new file mode 100644
index 0000000..927137e
--- /dev/null
+++ b/src/partials/sidebar.html
@@ -0,0 +1 @@
+sidebar.html \ No newline at end of file