@networkpro/web 1.10.0 → 1.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,9 +15,9 @@ This file is part of Network Pro.
15
15
  // Log the base path to verify its value
16
16
  //console.log("Base path:", base);
17
17
 
18
- console.log(CONSTANTS.APP_NAME);
18
+ console.log(CONSTANTS.COMPANY_INFO.APP_NAME);
19
19
 
20
- const { COMPANY } = CONSTANTS;
20
+ const { COMPANY_INFO, PAGE, NAV } = CONSTANTS;
21
21
 
22
22
  /**
23
23
  * URL to Terms of Use page, using the base path
@@ -35,20 +35,12 @@ This file is part of Network Pro.
35
35
  * Common constants used throughout the component
36
36
  * @type {{
37
37
  * effectiveDate: string,
38
- * rel: string,
39
- * targetBlank: string,
40
- * targetSelf: string,
41
38
  * classSmall: string,
42
- * hrefTop: string
43
39
  * }}
44
40
  */
45
41
  const constants = {
46
42
  effectiveDate: "May 8, 2025",
47
- rel: "noopener noreferrer",
48
- targetBlank: "_blank",
49
- targetSelf: "_self",
50
43
  classSmall: "small-text",
51
- hrefTop: "#top",
52
44
  };
53
45
 
54
46
  /**
@@ -73,7 +65,10 @@ This file is part of Network Pro.
73
65
  <!-- BEGIN TITLE -->
74
66
  <section id="top">
75
67
  <span class={constants.classSmall}>
76
- <a rel={constants.rel} href="https://spdx.dev/learn/handling-license-info">
68
+ <a
69
+ rel={PAGE.REL}
70
+ href="https://spdx.dev/learn/handling-license-info"
71
+ target={PAGE.BLANK}>
77
72
  SPDX License Identifier
78
73
  </a>: &nbsp;<code>CC-BY-4.0 OR GPL-3.0-or-later</code>
79
74
  </span>
@@ -82,7 +77,7 @@ This file is part of Network Pro.
82
77
  <section id="page-title">
83
78
  <h1>Consulting Terms and Conditions</h1>
84
79
  <p>
85
- <strong>{COMPANY}<br />Effective Date:</strong>
80
+ <strong>{COMPANY_INFO.NAME}<br />Effective Date:</strong>
86
81
  {constants.effectiveDate}
87
82
  </p>
88
83
  </section>
@@ -104,7 +99,7 @@ This file is part of Network Pro.
104
99
  These Terms and Conditions apply exclusively to the provision of our
105
100
  consulting and implementation services. For all other uses of our website and
106
101
  associated platforms, please refer to the applicable
107
- <a href={termsLink} target={constants.targetSelf}> Website Terms of Use </a>.
102
+ <a href={termsLink} target={PAGE.SELF}> Website Terms of Use </a>.
108
103
  </p>
109
104
 
110
105
  <hr />
@@ -115,9 +110,9 @@ This file is part of Network Pro.
115
110
  <strong>Formats Available:</strong> &nbsp;<span class="visited"
116
111
  >HTML</span>
117
112
  |
118
- <a href={tandcLink} target={constants.targetSelf}>Docs</a>
113
+ <a href={tandcLink} target={PAGE.SELF}>Docs</a>
119
114
  |
120
- <a href="/assets/consulting-terms.pdf" target={constants.targetBlank}>
115
+ <a href="/assets/consulting-terms.pdf" target={PAGE.BLANK}>
121
116
  PDF <span class="fas fa-file-arrow-down"></span>
122
117
  </a>
123
118
  </sup>
@@ -132,8 +127,8 @@ This file is part of Network Pro.
132
127
  <p>
133
128
  By engaging with the information security, network security,
134
129
  cybersecurity, and digital privacy consulting and implementation
135
- services provided by {COMPANY} ("Company," "we," "us," or "our"), you ("Client")
136
- agree to be bound by these Terms and Conditions ("Terms").
130
+ services provided by {COMPANY_INFO.NAME} ("Company," "we," "us," or "our"),
131
+ you ("Client") agree to be bound by these Terms and Conditions ("Terms").
137
132
  <strong>
138
133
  These Terms govern all engagements except where explicitly superseded
139
134
  by a separate written agreement or Statement of Work (SOW).
@@ -237,7 +232,7 @@ This file is part of Network Pro.
237
232
  {/if}
238
233
 
239
234
  <span class={constants.classSmall}
240
- ><a href={constants.hrefTop}>Back to top</a></span>
235
+ ><a href={NAV.HREFTOP}>{NAV.BACKTOP}</a></span>
241
236
  </section>
242
237
  {/each}
243
238
  <!-- END TERMS AND CONDITIONS -->
@@ -15,9 +15,9 @@ This file is part of Network Pro.
15
15
  // Log the base path to verify its value
16
16
  //console.log("Base path:", base);
17
17
 
18
- console.log(CONSTANTS.APP_NAME);
18
+ console.log(CONSTANTS.COMPANY_INFO.APP_NAME);
19
19
 
20
- const { COMPANY } = CONSTANTS;
20
+ const { COMPANY_INFO, PAGE, NAV } = CONSTANTS;
21
21
 
22
22
  /**
23
23
  * URL to Terms and Conditions page, using the base path
@@ -62,15 +62,11 @@ This file is part of Network Pro.
62
62
 
63
63
  /**
64
64
  * Constants for reusable content
65
- * @type {{ effectiveDate: string, classSmall: string, rel: string, hrefTop: string, targetBlank: string, targetSelf: string }}
65
+ * @type {{ effectiveDate: string, classSmall: string }}
66
66
  */
67
67
  const constants = {
68
68
  effectiveDate: "May 21, 2025",
69
69
  classSmall: "small-text",
70
- rel: "noopener noreferrer",
71
- hrefTop: "#top",
72
- targetBlank: "_blank",
73
- targetSelf: "_self",
74
70
  };
75
71
  </script>
76
72
 
@@ -78,9 +74,9 @@ This file is part of Network Pro.
78
74
  <section id="top">
79
75
  <span class={constants.classSmall}>
80
76
  <a
81
- rel={constants.rel}
77
+ rel={PAGE.REL}
82
78
  href="https://spdx.dev/learn/handling-license-info"
83
- target={constants.targetBlank}>
79
+ target={PAGE.BLANK}>
84
80
  SPDX License Identifier
85
81
  </a>: &nbsp;<code>CC-BY-4.0 OR GPL-3.0-or-later</code>
86
82
  </span>
@@ -89,7 +85,7 @@ This file is part of Network Pro.
89
85
  <section id="page-title">
90
86
  <h1>Website Terms of Use</h1>
91
87
  <p>
92
- <strong>{COMPANY}</strong><br />
88
+ <strong>{COMPANY_INFO.NAME}</strong><br />
93
89
  <strong>Effective Date:</strong>
94
90
  {constants.effectiveDate}
95
91
  </p>
@@ -113,7 +109,7 @@ This file is part of Network Pro.
113
109
  available via this website and its associated web properties. For provisions
114
110
  governing our consulting and implementation services, please refer to the
115
111
  applicable
116
- <a href={tandcLink} target={constants.targetSelf}>Terms and Conditions</a>.
112
+ <a href={tandcLink} target={PAGE.SELF}>Terms and Conditions</a>.
117
113
  </p>
118
114
 
119
115
  <hr />
@@ -124,8 +120,7 @@ This file is part of Network Pro.
124
120
  <strong>Formats Available:</strong> &nbsp;<span class="visited"
125
121
  >HTML</span>
126
122
  |
127
- <a rel={constants.rel} href={termsLink} target={constants.targetSelf}
128
- >Docs</a>
123
+ <a rel={PAGE.REL} href={termsLink} target={PAGE.SELF}>Docs</a>
129
124
  </sup>
130
125
  </p>
131
126
  </section>
@@ -137,7 +132,7 @@ This file is part of Network Pro.
137
132
 
138
133
  {#if link.id === "introduction"}
139
134
  <p>
140
- Welcome! By accessing or using any of the platforms operated by {COMPANY}
135
+ Welcome! By accessing or using any of the platforms operated by {COMPANY_INFO.NAME}
141
136
  ("Company," "we," "us," or "our"), you agree to be bound by these Terms of
142
137
  Use ("Terms"). If you do not agree to these Terms, please refrain from using
143
138
  our services.
@@ -202,10 +197,10 @@ This file is part of Network Pro.
202
197
  </p>
203
198
  {:else if link.id === "jurisdiction"}
204
199
  <p>
205
- {COMPANY} is based in Maricopa County, Arizona. Any legal action or dispute
206
- arising from these Terms of Use shall be subject to the exclusive jurisdiction
207
- of the state and federal courts located in Maricopa County, Arizona. These
208
- Terms shall be governed by the
200
+ {COMPANY_INFO.NAME} is based in Maricopa County, Arizona. Any legal action
201
+ or dispute arising from these Terms of Use shall be subject to the exclusive
202
+ jurisdiction of the state and federal courts located in Maricopa County,
203
+ Arizona. These Terms shall be governed by the
209
204
  <strong>Arizona Revised Statutes (A.R.S.)</strong> and applicable
210
205
  provisions of the <strong>United States Code (U.S.C.)</strong>.
211
206
  </p>
@@ -224,7 +219,7 @@ This file is part of Network Pro.
224
219
  {/if}
225
220
 
226
221
  <span class={constants.classSmall}
227
- ><a href={constants.hrefTop}>Back to top</a></span>
222
+ ><a href={NAV.HREFTOP}>{NAV.BACKTOP}</a></span>
228
223
  </section>
229
224
  {/each}
230
225
 
@@ -232,10 +227,9 @@ This file is part of Network Pro.
232
227
  <p class="bquote">
233
228
  <strong>Note:</strong> For more details regarding our privacy practices,
234
229
  refer to our
235
- <a rel={constants.rel} href={privacyLink} target={constants.targetSelf}
236
- >Privacy Policy</a
237
- >. For licensing terms and content usage rights, please visit our
238
- <a rel={constants.rel} href={licenseLink} target={constants.targetSelf}
230
+ <a rel={PAGE.REL} href={privacyLink} target={PAGE.SELF}>Privacy Policy</a>.
231
+ For licensing terms and content usage rights, please visit our
232
+ <a rel={PAGE.REL} href={licenseLink} target={PAGE.SELF}
239
233
  >Legal, Copyright, and Licensing</a>
240
234
  page.
241
235
  </p>