Project pages: add ToC sidebar to all remaining articles (EN/MK/SI)
Give the 23 project pages that used a single-column layout the same scrollspy table-of-contents sidebar as the others (built from their <h2> sections, with language-agnostic section-N ids so it works for Cyrillic too), plus the mobile ToC header. The "Like what we do?" sidebar CTA now sits under the ToC on every non-memorial project page; the two memorial stories get the ToC but no CTA. The full-width bottom CTA remains the mobile fallback. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
7c52f30e3b
commit
b79ad2d0de
23 files changed
+754
-116
No files matched your search
@@ -193,7 +193,28 @@
|
||||
<!-- END_HEADER -->
|
||||
|
||||
<main class="article-page">
|
||||
<article class="article-container">
|
||||
<!-- Sticky Mobile Header -->
|
||||
<div class="mobile-article-header">
|
||||
<span id="mobile-article-title">Во спомен на Фросина Кулакова</span>
|
||||
<i class="fas fa-chevron-down"></i>
|
||||
<div class="progress-bar-container">
|
||||
<div class="progress-bar"></div>
|
||||
</div>
|
||||
<div class="mobile-scrollspy-dropdown">
|
||||
<ul id="mobile-scrollspy-links"></ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="article-layout-container">
|
||||
<aside class="article-sidebar">
|
||||
<nav class="scrollspy-nav">
|
||||
<ul>
|
||||
<li><a href="#section-1" class="active">Порака на единство</a></li>
|
||||
<li><a href="#section-2">Завршни мисли</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</aside>
|
||||
<article class="article-container">
|
||||
<header class="article-header">
|
||||
<p class="article-publish-date">Објавено на 8 февруари 2025</p>
|
||||
<h1>Во спомен на Фросина Кулакова</h1>
|
||||
@@ -211,7 +232,7 @@
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../../images/frosina-2.webp" alt="Студенти палат свеќи во спомен на Фросина">
|
||||
</figure>
|
||||
|
||||
<h2>Порака на единство</h2>
|
||||
<h2 id="section-1">Порака на единство</h2>
|
||||
|
||||
<p>Овој собир не беше за политика или критика. Беше за заедништво, хуманост и споделена одговорност. Како студенти во странство, сакавме да покажеме дека ни е грижа, дека помниме и дека се надеваме на подобро утро каде таквите неправди повеќе нема да се случуваат.</p>
|
||||
|
||||
@@ -221,7 +242,7 @@
|
||||
<img width="720" height="480" loading="lazy" decoding="async" src="../../../images/frosina-3.webp" alt="Цвеќе и свеќи оставени во спомен">
|
||||
</figure>
|
||||
|
||||
<h2>Завршни мисли</h2>
|
||||
<h2 id="section-2">Завршни мисли</h2>
|
||||
|
||||
<p>Приказната на Фросина нè потсети на кревкоста на животот и важноста на солидарноста. Благодарни сме им на сите што дојдоа, што запалија свеќа или што едноставно застанаа со нас во тишина.</p>
|
||||
|
||||
@@ -239,6 +260,7 @@
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</div>
|
||||
<section class="newsletter-cta">
|
||||
<div class="container">
|
||||
<div class="cta-content">
|
||||
|
||||
Reference in new issue
Block a user