@@ -6,6 +6,24 @@ This file is part of Network Pro.
66========================================================================== -->
77
88<script >
9+ import { base } from " $app/paths" ;
10+
11+ // Log the base path to verify its value
12+ // console.log("Base path:", base);
13+
14+ /**
15+ * URLs using the base path
16+ * @type {string}
17+ */
18+ const homeLink = base || " /" ;
19+ const contactLink = ` ${ base} /contact` ;
20+
21+ /**
22+ * URL to the internal MkDocs documentation
23+ * @type {string}
24+ */
25+ const legalLink = " https://docs.netwk.pro/legal" ;
26+
927 /**
1028 * Table of Contents Links
1129 * @type {{ id: string, text: string }[]}
@@ -32,7 +50,7 @@ This file is part of Network Pro.
3250 */
3351 const constants = {
3452 company: " Network Pro Strategies" ,
35- effectiveDate: " May 8 , 2025" ,
53+ effectiveDate: " May 18 , 2025" ,
3654 classSmall: " small-text" ,
3755 rel: " noopener noreferrer" ,
3856 hrefTop: " #top" ,
@@ -84,8 +102,7 @@ This file is part of Network Pro.
84102 <strong >Formats Available:</strong > <span class =" visited"
85103 >HTML</span >
86104 |
87- <a href ="https://network.pro/docs/legal" target ={constants .targetSelf }
88- >Markdown</a >
105+ <a href ={legalLink } target ={constants .targetSelf }>Markdown</a >
89106 </sup >
90107 </p >
91108</section >
@@ -105,7 +122,7 @@ This file is part of Network Pro.
105122 <p >
106123 Copyright © 2025
107124 <strong >
108- <a href ="https://netwk.pro" target ={constants .targetBlank }>
125+ <a href ={ homeLink } target ={constants .targetBlank }>
109126 Network Pro Strategies
110127 </a >
111128 </strong >
@@ -208,12 +225,14 @@ This file is part of Network Pro.
208225 |
209226 <a
210227 rel ={constants .rel }
211- href =" https://github.com/netwk-pro/netwk-pro-legal/blob/master/assets/license/CC-BY-4.0-rdfa.xml"
228+ download
229+ href =" https://raw.githubusercontent.com/netwk-pro/netwk-pro-legal/refs/heads/master/assets/license/CC-BY-4.0-rdfa.xml"
212230 target ={constants .targetBlank }>RDFa</a >
213231 |
214232 <a
215233 rel ={constants .rel }
216- href =" https://github.com/netwk-pro/netwk-pro-legal/blob/master/assets/license/CC-BY-4.0.xml"
234+ download
235+ href =" https://raw.githubusercontent.com/netwk-pro/netwk-pro-legal/refs/heads/master/assets/license/CC-BY-4.0.xml"
217236 target ={constants .targetBlank }>XMP</a >
218237 </p >
219238
@@ -311,11 +330,13 @@ This file is part of Network Pro.
311330 |
312331 <a
313332 rel ={constants .rel }
314- href =" https://github.com/netwk-pro/netwk-pro-legal/blob/master/assets/license/COPYING-rdfa.xml"
333+ download
334+ href =" https://raw.githubusercontent.com/netwk-pro/netwk-pro-legal/refs/heads/master/assets/license/COPYING-rdfa.xml"
315335 target ={constants .targetBlank }>RDFa</a >
316336 |
317337 <a
318338 rel ={constants .rel }
339+ download
319340 href =" https://raw.githubusercontent.com/netwk-pro/netwk-pro-legal/refs/heads/master/assets/license/COPYING.odt"
320341 target ={constants .targetBlank }>ODT</a >
321342 </p >
@@ -443,12 +464,10 @@ This file is part of Network Pro.
443464 {:else if link .id === " contact" }
444465 <p >
445466 The Company can be contacted via our
446- <a
447- rel ={constants .rel }
448- href =" https://contact.neteng.pro"
449- target ={constants .targetBlank }>contact form</a >
467+ <a rel ={constants .rel } href ={contactLink } target ={constants .targetBlank }
468+ >contact form</a >
450469 or by email at:<br />
451- 📧 <code >support (at) neteng.pro</code >
470+ 📧 <code >contact (at) s. neteng.pro</code >
452471 </p >
453472 {:else if link .id === " revisions" }
454473 <p >
0 commit comments