4343 < script src ="/js/marked.min.js "> </ script >
4444 < link rel ="stylesheet " href ="/css/github-markdown.min.css ">
4545
46+ <!-- global css used every page -->
4647 < link rel ="stylesheet " href ="/css/global.css ">
48+ <!-- current page css -->
4749 < link rel ="stylesheet " href ="/css/clog.css ">
4850
4951</ head >
120122 </ header >
121123
122124 < main class ="section ">
123- < div class ="container ">
125+ < div class ="container " style =" padding: 0 2.5rem; " >
124126
125127 < div id ="main-layout-wrapper ">
126128
170172 </ div >
171173 < div class ="post-grid " id ="publication-grid ">
172174 </ div >
175+ < div id ="load-more-container " style ="display: none; justify-content: center; margin-top: 2.5rem; ">
176+ < button class ="btn btn-out " id ="load-more-btn " onclick ="loadNextPage() "> Load More Logs</ button >
177+ </ div >
173178 </ div >
174179
175180 </ div >
@@ -196,9 +201,34 @@ <h1 class="reader-title" id="full-title">Loading...</h1>
196201 < span class ="meta-label "> Published</ span >
197202 < span class ="meta-value " id ="full-date "> --/--/----</ span >
198203 </ div >
204+ < div class ="meta-item ">
205+ < span class ="meta-label "> Reading Time</ span >
206+ < span class ="meta-value " id ="full-reading-time "> -- min read</ span >
207+ </ div >
208+ < div class ="meta-item " style ="flex-direction: row; align-items: flex-end; gap: 0.5rem; margin-left: auto; ">
209+ < button id ="reader-bookmark-btn " class ="btn btn-out " style ="padding: 0.4rem 0.8rem; font-size: 0.75rem; border-radius: 8px; display: inline-flex; align-items: center; gap: 0.35rem; " onclick ="toggleCurrentBookmark() " aria-label ="Bookmark post ">
210+ < svg class ="icon " style ="width: 14px; height: 14px; fill: none; stroke: currentColor; "> < use href ="/src/global.svg#icon-heart "> </ use > </ svg >
211+ < span id ="bookmark-text "> Bookmark</ span >
212+ </ button >
213+ < button class ="btn btn-out " style ="padding: 0.4rem 0.8rem; font-size: 0.75rem; border-radius: 8px; display: inline-flex; align-items: center; gap: 0.35rem; " onclick ="shareCurrentPost() " aria-label ="Share post ">
214+ < svg class ="icon " style ="width: 14px; height: 14px; " viewBox ="0 0 24 24 " fill ="none " stroke ="currentColor " stroke-width ="2 " stroke-linecap ="round " stroke-linejoin ="round "> < circle cx ="18 " cy ="5 " r ="3 "> </ circle > < circle cx ="6 " cy ="12 " r ="3 "> </ circle > < circle cx ="18 " cy ="19 " r ="3 "> </ circle > < line x1 ="8.59 " y1 ="13.51 " x2 ="15.42 " y2 ="17.49 "> </ line > < line x1 ="15.41 " y1 ="6.51 " x2 ="8.59 " y2 ="10.49 "> </ line > </ svg >
215+ < span > Share</ span >
216+ </ button >
217+ </ div >
199218 </ div >
200219 </ div >
201220
221+ <!-- Table of Contents Section -->
222+ < div id ="reader-toc-container " class ="glass-panel " style ="display: none; margin-bottom: 2rem; padding: 1rem 1.25rem; border-radius: 12px; ">
223+ < div class ="toggleToc " onclick ="toggleToC() ">
224+ < h4 style ="margin: 0; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; display: flex; align-items: center; gap: 0.5rem; color: #fff; ">
225+ < svg class ="icon " style ="width: 16px; height: 16px; color: var(--mrc); "> < use href ="/src/global.svg#icon-category "> </ use > </ svg > Table of Contents
226+ </ h4 >
227+ < svg id ="toc-toggle-icon " class ="icon " style ="width: 16px; height: 16px; transition: transform 0.3s; color: var(--text-muted); "> < use href ="/src/global.svg#icon-chevron-down "> </ use > </ svg >
228+ </ div >
229+ < div id ="reader-toc " style ="max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; margin-top: 0; "> </ div >
230+ </ div >
231+
202232 < div class ="markdown-body " id ="full-body "> </ div >
203233 < div class ="reader-meta-bottom ">
204234 < div class ="meta-item " style ="flex-grow: 1; ">
@@ -277,7 +307,7 @@ <h4 class="uppercase flex txt-main txt-center gap-1 font-md pos-rel">Connect</h4
277307 </ div >
278308 < div class ="footer-bottom ">
279309 < div class ="footer-copy ">
280- © 2024-< span id ="year "> 2024</ span > MainRoute Core. < a class ="txt-bold " href ="/Redirect/?id=mrc target= "_blank "> M Ramzan Ch</ a > | < a class ="txt-bold " href ="/Redirect/?id=pb " target ="_blank " "> Pro Bandey</ a > . All Rights Reserved.
310+ © 2024-< span id ="year "> 2024</ span > MainRoute Core. < a class ="txt-bold " href ="/Redirect/?id=mrc " target ="_blank "> M Ramzan Ch</ a > | < a class ="txt-bold " href ="/Redirect/?id=pb " target ="_blank "> Pro Bandey</ a > . All Rights Reserved.
281311 </ div >
282312 < div class ="footer-made-in ">
283313 Engineered with < svg class ="icon "
@@ -288,9 +318,10 @@ <h4 class="uppercase flex txt-main txt-center gap-1 font-md pos-rel">Connect</h4
288318 </ div >
289319 </ div >
290320 </ footer >
291-
321+ <!-- handle loader , copyright year, animation and etc -->
292322 < script src ="/js/global.js "> </ script >
323+ <!-- curentpage js -->
293324 < script src ="/js/clog.js "> </ script >
294325
295326</ body >
296- </ html >
327+ </ html >
0 commit comments