@networkpro/web 1.5.2 → 1.5.6
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.
- package/CODE_OF_CONDUCT.md +1 -0
- package/LICENSE.md +2 -39
- package/README.md +256 -32
- package/cspell.json +56 -0
- package/eslint.config.mjs +2 -1
- package/package.json +45 -52
- package/playwright.config.js +1 -0
- package/postcss.config.mjs +1 -0
- package/scripts/auditScripts.js +1 -0
- package/scripts/bundleCss.js +1 -0
- package/scripts/checkEnv.js +1 -0
- package/scripts/checkNode.js +39 -18
- package/scripts/checkVersions.js +1 -0
- package/scripts/flattenHeaders.js +1 -0
- package/scripts/validateHeaders.js +1 -0
- package/src/app.d.ts +8 -0
- package/src/app.html +1 -0
- package/src/global.d.ts +1 -0
- package/src/hooks.client.ts +1 -0
- package/src/lib/components/Badges.svelte +1 -0
- package/src/lib/components/ContainerSection.svelte +1 -0
- package/src/lib/components/FullWidthSection.svelte +15 -1
- package/src/lib/components/LegalNav.svelte +1 -0
- package/src/lib/components/Logo.svelte +1 -0
- package/src/lib/components/MetaTags.svelte +1 -0
- package/src/lib/components/PWAInstallButton.svelte +1 -0
- package/src/lib/components/RedirectPage.svelte +20 -12
- package/src/lib/components/SocialMedia.svelte +1 -0
- package/src/lib/components/foss/FossFeatures.svelte +1 -0
- package/src/lib/components/foss/FossItemContent.svelte +1 -0
- package/src/lib/components/layout/Footer.svelte +3 -0
- package/src/lib/components/layout/HeaderDefault.svelte +1 -0
- package/src/lib/components/layout/HeaderHome.svelte +1 -0
- package/src/lib/images.js +4 -1
- package/src/lib/img/logo-web.png +0 -0
- package/src/lib/img/logo-web.webp +0 -0
- package/src/lib/index.js +1 -0
- package/src/lib/meta.js +1 -0
- package/src/lib/pages/AboutContent.svelte +1 -0
- package/src/lib/pages/FossContent.svelte +1 -0
- package/src/lib/pages/HomeContent.svelte +1 -0
- package/src/lib/pages/LicenseContent.svelte +33 -3
- package/src/lib/pages/PrivacyContent.svelte +33 -12
- package/src/lib/pages/TermsConditionsContent.svelte +3 -0
- package/src/lib/pages/TermsUseContent.svelte +3 -0
- package/src/lib/registerServiceWorker.js +3 -0
- package/src/lib/styles/css/default.css +1 -0
- package/src/lib/styles/css/global.css +1 -0
- package/src/lib/styles/css/normalize.css +1 -0
- package/src/lib/styles/css/offline.css +1 -0
- package/src/lib/styles/css/style.css +1 -0
- package/src/lib/styles/fa-global.css +1 -0
- package/src/lib/styles/global.min.css +1 -0
- package/src/lib/styles/index.js +2 -1
- package/src/lib/types/metadata.js +1 -0
- package/src/lib/unregisterServiceWorker.js +1 -0
- package/src/lib/utils/utm.js +1 -0
- package/src/routes/+error.svelte +1 -0
- package/src/routes/+layout.js +1 -0
- package/src/routes/+layout.svelte +1 -0
- package/src/routes/+page.server.js +1 -0
- package/src/routes/+page.svelte +1 -0
- package/src/routes/about/+page.server.js +1 -0
- package/src/routes/about/+page.svelte +1 -0
- package/src/routes/consultation/+page.svelte +1 -0
- package/src/routes/contact/+page.svelte +1 -0
- package/src/routes/foss-spotlight/+page.server.js +1 -0
- package/src/routes/foss-spotlight/+page.svelte +1 -0
- package/src/routes/license/+page.server.js +1 -0
- package/src/routes/license/+page.svelte +1 -0
- package/src/routes/privacy-policy/+page.server.js +1 -0
- package/src/routes/privacy-policy/+page.svelte +1 -0
- package/src/routes/privacy-rights/+page.svelte +1 -0
- package/src/routes/terms-conditions/+page.server.js +1 -0
- package/src/routes/terms-conditions/+page.svelte +1 -0
- package/src/routes/terms-of-use/+page.server.js +1 -0
- package/src/routes/terms-of-use/+page.svelte +1 -0
- package/src/service-worker.d.ts +8 -0
- package/src/service-worker.js +1 -0
- package/static/docs/Home.md +63 -0
- package/static/docs/extensions.md +58 -0
- package/static/sitemap.xml +7 -7
- package/stylelint.config.js +2 -1
- package/svelte.config.js +1 -0
- package/tests/e2e/app.spec.js +1 -0
- package/tests/e2e/mobile.spec.js +1 -0
- package/tests/unit/auditScripts.test.js +1 -0
- package/tests/unit/checkEnv.test.js +1 -0
- package/tests/unit/checkVersions.test.js +1 -0
- package/tests/unit/demo.test.js +1 -0
- package/tests/unit/routes/page.svelte.test.js +1 -0
- package/tests/unit/unregisterServiceWorker.test.js +1 -0
- package/tests/unit/utm.test.js +1 -0
- package/{tsconfig.custom.json → tsconfig.custom.jsonc} +2 -1
- package/vite.config.js +1 -0
- package/vitest.config.client.js +1 -0
- package/vitest.config.server.js +1 -0
package/scripts/checkNode.js
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
scripts/checkNode.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
|
-
* Utility to check Node.js and
|
|
10
|
+
* Utility to check Node.js and npm version
|
|
10
11
|
* Ensures the current environment matches the required versions from package.json
|
|
11
12
|
*
|
|
13
|
+
* Behavior:
|
|
14
|
+
* - During `postinstall`: warns but does not exit
|
|
15
|
+
* - In all other cases (manual run, CI, verify): fails on mismatch
|
|
16
|
+
*
|
|
12
17
|
* @module scripts/
|
|
13
18
|
* @author SunDevil311
|
|
14
|
-
* @updated 2025-05-
|
|
19
|
+
* @updated 2025-05-23
|
|
15
20
|
*/
|
|
16
21
|
|
|
17
22
|
import { execSync } from "child_process";
|
|
@@ -23,32 +28,48 @@ import semver from "semver";
|
|
|
23
28
|
const pkg = JSON.parse(fs.readFileSync(path.resolve("./package.json"), "utf8"));
|
|
24
29
|
const { node: nodeRange, npm: npmRange } = pkg.engines;
|
|
25
30
|
|
|
26
|
-
//
|
|
31
|
+
// Determine if this is running as part of npm's postinstall hook
|
|
32
|
+
const isPostInstall = process.env.npm_lifecycle_event === "postinstall";
|
|
33
|
+
|
|
34
|
+
let hasError = false;
|
|
35
|
+
|
|
36
|
+
// Check Node.js version
|
|
27
37
|
if (!semver.satisfies(process.version, nodeRange)) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
|
|
38
|
+
const msg = `Node.js ${process.version} does not satisfy required range: ${nodeRange}`;
|
|
39
|
+
if (isPostInstall) {
|
|
40
|
+
console.warn(`⚠️ ${msg}`);
|
|
41
|
+
} else {
|
|
42
|
+
console.error(`❌ ${msg}`);
|
|
43
|
+
hasError = true;
|
|
44
|
+
}
|
|
32
45
|
}
|
|
33
46
|
|
|
34
|
-
// Check
|
|
35
|
-
let npmVersion;
|
|
47
|
+
// Check npm version
|
|
48
|
+
let npmVersion = null;
|
|
36
49
|
|
|
37
50
|
try {
|
|
38
51
|
npmVersion = execSync("npm --version").toString().trim();
|
|
39
52
|
if (!semver.satisfies(npmVersion, npmRange)) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
53
|
+
const msg = `npm ${npmVersion} does not satisfy required range: ${npmRange}`;
|
|
54
|
+
if (isPostInstall) {
|
|
55
|
+
console.warn(`⚠️ ${msg}`);
|
|
56
|
+
} else {
|
|
57
|
+
console.error(`❌ ${msg}`);
|
|
58
|
+
hasError = true;
|
|
59
|
+
}
|
|
44
60
|
}
|
|
45
61
|
} catch (err) {
|
|
46
|
-
console.error("❌ Failed to check
|
|
62
|
+
console.error("❌ Failed to check npm version:", err.message);
|
|
47
63
|
process.exit(1);
|
|
48
64
|
}
|
|
49
65
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
66
|
+
// Final output
|
|
67
|
+
if (!hasError) {
|
|
68
|
+
if (!process.env.CI || process.env.VERBOSE === "true") {
|
|
69
|
+
console.log(
|
|
70
|
+
`✅ Node (${process.version}) matches ${nodeRange}, and npm (${npmVersion}) matches ${npmRange}`,
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
} else {
|
|
74
|
+
process.exit(1);
|
|
54
75
|
}
|
package/scripts/checkVersions.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
scripts/checkVersions.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
scripts/flattenHeaders.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
scripts/validateHeaders.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
package/src/app.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/* ==========================================================================
|
|
2
|
+
src/global.d.ts
|
|
3
|
+
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
5
|
+
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
6
|
+
This file is part of Network Pro.
|
|
7
|
+
========================================================================== */
|
|
8
|
+
|
|
1
9
|
/// <reference types="svelte" />
|
|
2
10
|
// See https://svelte.dev/docs/kit/types#app.d.ts
|
|
3
11
|
// for information about these interfaces
|
package/src/app.html
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
6
|
|
|
7
7
|
<!-- =====================================================================
|
|
8
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
8
9
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
9
10
|
This file is part of Network Pro.
|
|
10
11
|
====================================================================== -->
|
package/src/global.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
src/global.d.ts
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
package/src/hooks.client.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
src/hooks.client.ts
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/Badges.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/ContainerSection.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/FullWidthSection.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
8
|
-
<
|
|
9
|
+
<script>
|
|
10
|
+
export let centered = false; // this prop lets us control vertical centering
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<div class="full-width-section {centered ? 'centered' : ''}">
|
|
9
14
|
<div class="container">
|
|
10
15
|
<slot></slot>
|
|
11
16
|
<!-- Slot to allow child content -->
|
|
12
17
|
</div>
|
|
13
18
|
</div>
|
|
19
|
+
|
|
20
|
+
<style>
|
|
21
|
+
.full-width-section.centered {
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
min-height: 80vh;
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/LegalNav.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/Logo.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/MetaTags.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/PWAInstallButton.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/RedirectPage.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
8
9
|
<script>
|
|
9
10
|
import { onMount } from "svelte";
|
|
11
|
+
import FullWidthSection from "$lib/components/FullWidthSection.svelte";
|
|
10
12
|
|
|
11
13
|
export let to;
|
|
12
14
|
export let delay = 3;
|
|
@@ -30,14 +32,26 @@ This file is part of Network Pro.
|
|
|
30
32
|
<meta name="robots" content="noindex, nofollow" />
|
|
31
33
|
</svelte:head>
|
|
32
34
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<div class="
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
<!-- MAIN CONTENT -->
|
|
36
|
+
|
|
37
|
+
<FullWidthSection centered>
|
|
38
|
+
<div class="redirect-content">
|
|
39
|
+
<h1>Redirecting…</h1>
|
|
40
|
+
<p>You'll be taken to the destination in just a moment.</p>
|
|
41
|
+
<div class="loading-spinner" aria-hidden="true"></div>
|
|
42
|
+
<p>If nothing happens, <a href={to}>click here</a>.</p>
|
|
43
|
+
</div>
|
|
44
|
+
</FullWidthSection>
|
|
45
|
+
|
|
46
|
+
<!-- END MAIN CONTENT -->
|
|
39
47
|
|
|
40
48
|
<style>
|
|
49
|
+
.redirect-content {
|
|
50
|
+
text-align: center;
|
|
51
|
+
font-family: system-ui, sans-serif;
|
|
52
|
+
margin-top: 2rem; /* adjust as needed */
|
|
53
|
+
}
|
|
54
|
+
|
|
41
55
|
.loading-spinner {
|
|
42
56
|
width: 48px;
|
|
43
57
|
height: 48px;
|
|
@@ -53,10 +67,4 @@ This file is part of Network Pro.
|
|
|
53
67
|
transform: rotate(360deg);
|
|
54
68
|
}
|
|
55
69
|
}
|
|
56
|
-
|
|
57
|
-
.container {
|
|
58
|
-
text-align: center;
|
|
59
|
-
font-family: system-ui, sans-serif;
|
|
60
|
-
margin-top: 5rem;
|
|
61
|
-
}
|
|
62
70
|
</style>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/SocialMedia.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/foss/FossFeatures.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/foss/FossItemContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/layout/Footer.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
9
|
+
<!-- cspell:ignore ccby gnugpl -->
|
|
10
|
+
|
|
8
11
|
<script>
|
|
9
12
|
import { base } from "$app/paths";
|
|
10
13
|
// Import icons for licenses
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/layout/HeaderDefault.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/components/layout/HeaderHome.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
package/src/lib/images.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
src/lib/images.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
7
8
|
|
|
9
|
+
// cspell:ignore lsheet tosdr
|
|
10
|
+
|
|
8
11
|
/**
|
|
9
12
|
* Image import utility
|
|
10
13
|
* Provides convenient access to images in the src/lib/img directory
|
|
11
14
|
*
|
|
12
15
|
* @module src/lib
|
|
13
16
|
* @author SunDevil311
|
|
14
|
-
* @updated 2025-05-
|
|
17
|
+
* @updated 2025-05-24
|
|
15
18
|
*/
|
|
16
19
|
|
|
17
20
|
// Import favicon images
|
package/src/lib/img/logo-web.png
CHANGED
|
Binary file
|
|
Binary file
|
package/src/lib/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
src/lib/index.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
package/src/lib/meta.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* ==========================================================================
|
|
2
2
|
src/lib/meta.js
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/AboutContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/FossContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/HomeContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/LicenseContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
9
|
+
<!-- cspell:ignore lmaterial lterms dlnotes -->
|
|
10
|
+
|
|
8
11
|
<script>
|
|
9
12
|
import { base } from "$app/paths";
|
|
13
|
+
import { ccSvg, bySvg } from "$lib";
|
|
10
14
|
|
|
11
15
|
// Log the base path to verify its value
|
|
12
16
|
//console.log("Base path:", base);
|
|
@@ -18,6 +22,13 @@ This file is part of Network Pro.
|
|
|
18
22
|
const homeLink = base || "/";
|
|
19
23
|
const contactLink = `${base}/contact`;
|
|
20
24
|
|
|
25
|
+
/**
|
|
26
|
+
* Icons for Creative Commons
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
29
|
+
const ccSrc = ccSvg;
|
|
30
|
+
const bySrc = bySvg;
|
|
31
|
+
|
|
21
32
|
/**
|
|
22
33
|
* URL to the internal MkDocs documentation
|
|
23
34
|
* @type {string}
|
|
@@ -42,6 +53,7 @@ This file is part of Network Pro.
|
|
|
42
53
|
{ id: "disclaimer", text: "Modifications and Liability Disclaimer" },
|
|
43
54
|
{ id: "contact", text: "Contact" },
|
|
44
55
|
{ id: "revisions", text: "Revisions" },
|
|
56
|
+
{ id: "authoritative", text: "Authoritative Version Clause" },
|
|
45
57
|
];
|
|
46
58
|
|
|
47
59
|
/**
|
|
@@ -50,7 +62,7 @@ This file is part of Network Pro.
|
|
|
50
62
|
*/
|
|
51
63
|
const constants = {
|
|
52
64
|
company: "Network Pro Strategies",
|
|
53
|
-
effectiveDate: "May
|
|
65
|
+
effectiveDate: "May 24, 2025",
|
|
54
66
|
classSmall: "small-text",
|
|
55
67
|
rel: "noopener noreferrer",
|
|
56
68
|
hrefTop: "#top",
|
|
@@ -254,7 +266,7 @@ This file is part of Network Pro.
|
|
|
254
266
|
text-decoration: none;
|
|
255
267
|
vertical-align: text-bottom;
|
|
256
268
|
"
|
|
257
|
-
src=
|
|
269
|
+
src={ccSrc}
|
|
258
270
|
alt="Creative Commons BY" />
|
|
259
271
|
</a>
|
|
260
272
|
<a
|
|
@@ -271,7 +283,7 @@ This file is part of Network Pro.
|
|
|
271
283
|
text-decoration: none;
|
|
272
284
|
vertical-align: text-bottom;
|
|
273
285
|
"
|
|
274
|
-
src=
|
|
286
|
+
src={bySrc}
|
|
275
287
|
alt="Creative Commons BY" />
|
|
276
288
|
</a>.
|
|
277
289
|
</p>
|
|
@@ -475,6 +487,24 @@ This file is part of Network Pro.
|
|
|
475
487
|
changes. The current effective date is listed at the top of this
|
|
476
488
|
document.
|
|
477
489
|
</p>
|
|
490
|
+
{:else if link.id === "authoritative"}
|
|
491
|
+
<p>
|
|
492
|
+
In the event of any discrepancy between different versions, formats, or
|
|
493
|
+
distributions of any legal document issued by the Company—including but
|
|
494
|
+
not limited to license terms, policies, notices, or agreements—the
|
|
495
|
+
version published on the Company's primary website at <a
|
|
496
|
+
rel={constants.rel}
|
|
497
|
+
href={homeLink}
|
|
498
|
+
target={constants.targetSelf}>https://netwk.pro</a>
|
|
499
|
+
shall be deemed the official and controlling version.
|
|
500
|
+
</p>
|
|
501
|
+
|
|
502
|
+
<p>
|
|
503
|
+
It is your responsibility to review the most current version of any
|
|
504
|
+
applicable legal document before relying on its contents. Continued use
|
|
505
|
+
of the Company's materials, services, or Licensed Material constitutes
|
|
506
|
+
acceptance of the most current version then in effect.
|
|
507
|
+
</p>
|
|
478
508
|
{/if}
|
|
479
509
|
|
|
480
510
|
<span class={constants.classSmall}>
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/PrivacyContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
9
|
+
<!-- cspell:ignore prights -->
|
|
10
|
+
|
|
8
11
|
<script>
|
|
9
12
|
import { base } from "$app/paths";
|
|
10
13
|
|
|
@@ -13,9 +16,11 @@ This file is part of Network Pro.
|
|
|
13
16
|
|
|
14
17
|
/**
|
|
15
18
|
* URL to the Privacy Rights Request Form redirect route, using the base path
|
|
19
|
+
* URL to the Contact Form redirect route, using the base path
|
|
16
20
|
* @type {string}
|
|
17
21
|
*/
|
|
18
22
|
const prightsLink = `${base}/privacy-rights`;
|
|
23
|
+
const contactLink = `${base}/contact`;
|
|
19
24
|
|
|
20
25
|
/**
|
|
21
26
|
* URL to the privacy policy in Markdown format
|
|
@@ -50,7 +55,7 @@ This file is part of Network Pro.
|
|
|
50
55
|
email: "support (at) neteng.pro",
|
|
51
56
|
secure: "contact (at) s.neteng.pro",
|
|
52
57
|
phone: "(623) 252-4350",
|
|
53
|
-
effectiveDate: "May
|
|
58
|
+
effectiveDate: "May 23, 2025",
|
|
54
59
|
};
|
|
55
60
|
|
|
56
61
|
/**
|
|
@@ -179,14 +184,23 @@ This file is part of Network Pro.
|
|
|
179
184
|
</p>
|
|
180
185
|
<ul>
|
|
181
186
|
<li
|
|
182
|
-
><strong>With Service Providers:</strong>
|
|
183
|
-
third-party vendors
|
|
187
|
+
><strong>With Service Providers:</strong> We may share your
|
|
188
|
+
information with carefully selected third-party vendors under
|
|
189
|
+
enforceable, contractual agreements. These providers support essential
|
|
190
|
+
aspects of our operations—including, but not limited to, payment
|
|
191
|
+
processing, data analytics, and customer support services. All such
|
|
192
|
+
partnerships are structured to uphold our core principles of
|
|
193
|
+
<em>transparency, self-hosting, and prioritizing user privacy</em> across
|
|
194
|
+
all infrastructure and data flows.</li>
|
|
184
195
|
<li
|
|
185
|
-
><strong>Legal Compliance:</strong>
|
|
186
|
-
|
|
196
|
+
><strong>Legal Compliance:</strong> We may disclose information if required
|
|
197
|
+
to do so by applicable law, regulation, legal process, or enforceable governmental
|
|
198
|
+
request, including subpoenas or court orders.</li>
|
|
187
199
|
<li
|
|
188
|
-
><strong>Business Transfers:</strong>
|
|
189
|
-
|
|
200
|
+
><strong>Business Transfers:</strong> In connection with a merger, acquisition,
|
|
201
|
+
asset sale, or similar corporate transaction, we may disclose or transfer
|
|
202
|
+
personal information, provided that reasonable steps are taken to ensure
|
|
203
|
+
continued confidentiality and compliance with applicable privacy laws.</li>
|
|
190
204
|
</ul>
|
|
191
205
|
{:else if link.id === "security"}
|
|
192
206
|
<p>
|
|
@@ -201,9 +215,11 @@ This file is part of Network Pro.
|
|
|
201
215
|
<p><strong>Your Rights and Choices</strong></p>
|
|
202
216
|
<ul>
|
|
203
217
|
<li
|
|
204
|
-
><strong>Access, update, or delete</strong> your personal information
|
|
218
|
+
><strong>Access, update, or delete</strong> your personal information,
|
|
219
|
+
subject to legal and contractual limitations.</li>
|
|
205
220
|
<li
|
|
206
|
-
><strong>Restrict or object to processing</strong> under certain conditions
|
|
221
|
+
><strong>Restrict or object to processing</strong> under certain conditions,
|
|
222
|
+
as permitted by law.</li>
|
|
207
223
|
<li><strong>Opt out of direct marketing</strong></li>
|
|
208
224
|
</ul>
|
|
209
225
|
<p>
|
|
@@ -222,7 +238,8 @@ This file is part of Network Pro.
|
|
|
222
238
|
<p>
|
|
223
239
|
Network Pro Strategies offers informational content as a public service.
|
|
224
240
|
No warranties are made regarding the accuracy or completeness of such
|
|
225
|
-
content. Consulting services are governed by separate contracts.
|
|
241
|
+
content. Consulting services are governed by separate contracts. We
|
|
242
|
+
disclaim liability for third-party services integrated or referenced.
|
|
226
243
|
</p>
|
|
227
244
|
{:else if link.id === "changes"}
|
|
228
245
|
<p>
|
|
@@ -230,11 +247,15 @@ This file is part of Network Pro.
|
|
|
230
247
|
posting.
|
|
231
248
|
</p>
|
|
232
249
|
{:else if link.id === "contact"}
|
|
233
|
-
<p
|
|
250
|
+
<p
|
|
251
|
+
>For questions, please utilize our <a
|
|
252
|
+
rel={constants.rel}
|
|
253
|
+
href={contactLink}
|
|
254
|
+
target={constants.targetSelf}>Contact Form</a> or contact us directly:</p>
|
|
234
255
|
<p>
|
|
235
256
|
<strong>{contactInfo.company}</strong><br />
|
|
236
257
|
📧 General Inquiries: <code>{contactInfo.email}</code><br />
|
|
237
|
-
🔐 Secure
|
|
258
|
+
🔐 Secure Email: <code>{contactInfo.secure}</code><br />
|
|
238
259
|
📞 Phone: {contactInfo.phone}
|
|
239
260
|
</p>
|
|
240
261
|
{/if}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
<!-- ==========================================================================
|
|
2
2
|
src/lib/pages/TermsConditionsContent.svelte
|
|
3
3
|
|
|
4
|
+
Copyright © 2025 Network Pro Strategies (Network Pro™)
|
|
4
5
|
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
|
|
5
6
|
This file is part of Network Pro.
|
|
6
7
|
========================================================================== -->
|
|
7
8
|
|
|
9
|
+
<!-- cspell:ignore tandc -->
|
|
10
|
+
|
|
8
11
|
<script>
|
|
9
12
|
import { base } from "$app/paths";
|
|
10
13
|
|