@networkpro/web 0.13.1 → 1.0.0

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.
Files changed (282) hide show
  1. package/CODE_OF_CONDUCT.md +172 -0
  2. package/LICENSE.md +4 -4
  3. package/README.md +11 -10
  4. package/assets/bin/contact.vcf +13 -0
  5. package/assets/bin/contact@s.neteng.pro.aexpk +17 -0
  6. package/assets/bin/contact@s.neteng.pro.asc +17 -0
  7. package/assets/bin/github@sl.neteng.cc.aexpk +29 -0
  8. package/assets/bin/github@sl.neteng.cc.asc +29 -0
  9. package/assets/bin/linksheet.json +8 -0
  10. package/assets/bin/support@neteng.pro.aexpk +47 -0
  11. package/assets/bin/support@neteng.pro.asc +47 -0
  12. package/assets/consulting-terms.pdf +0 -0
  13. package/eslint.config.mjs +112 -0
  14. package/jsconfig.json +28 -0
  15. package/netlify.toml +13 -0
  16. package/package.json +64 -61
  17. package/playwright.config.js +79 -0
  18. package/postcss.config.mjs +14 -0
  19. package/scripts/bundleCss.js +40 -0
  20. package/src/app.d.ts +15 -0
  21. package/src/app.html +81 -0
  22. package/src/demo.spec.js +14 -0
  23. package/src/lib/components/Badges.svelte +74 -0
  24. package/src/lib/components/ContainerSection.svelte +19 -0
  25. package/src/lib/components/FullWidthSection.svelte +13 -0
  26. package/src/lib/components/LegalNav.svelte +75 -0
  27. package/src/lib/components/Logo.svelte +110 -0
  28. package/src/lib/components/SocialMedia.svelte +70 -0
  29. package/src/lib/components/foss/FossFeatures.svelte +24 -0
  30. package/src/lib/components/foss/FossItemContent.svelte +153 -0
  31. package/src/lib/components/layout/Footer.svelte +188 -0
  32. package/src/lib/components/layout/HeaderDefault.svelte +86 -0
  33. package/src/lib/components/layout/HeaderHome.svelte +84 -0
  34. package/src/lib/data/fossData.js +233 -0
  35. package/src/lib/images.js +77 -0
  36. package/src/lib/img/badges/cc-by-badge.png +0 -0
  37. package/src/lib/img/badges/gpl-badge.svg +1 -0
  38. package/src/lib/img/by.svg +1 -0
  39. package/src/lib/img/cc.svg +1 -0
  40. package/src/lib/img/logo-web.png +0 -0
  41. package/src/lib/img/logo-web.webp +0 -0
  42. package/src/lib/img/obtainium.webp +0 -0
  43. package/src/lib/img/posts/acode.png +0 -0
  44. package/src/lib/img/posts/acode.webp +0 -0
  45. package/src/lib/img/posts/linksheet.png +0 -0
  46. package/src/lib/img/posts/linksheet.webp +0 -0
  47. package/src/lib/img/posts/pmx.png +0 -0
  48. package/src/lib/img/posts/pmx.webp +0 -0
  49. package/src/lib/img/posts/tosdr.png +0 -0
  50. package/src/lib/img/posts/tosdr.webp +0 -0
  51. package/src/lib/img/posts/urlcheck.png +0 -0
  52. package/src/lib/img/posts/urlcheck.webp +0 -0
  53. package/src/lib/index.js +43 -0
  54. package/src/lib/pages/AboutContent.svelte +294 -0
  55. package/src/lib/pages/FossContent.svelte +109 -0
  56. package/src/lib/pages/HomeContent.svelte +120 -0
  57. package/src/lib/pages/LicenseContent.svelte +486 -0
  58. package/src/lib/pages/PrivacyContent.svelte +249 -0
  59. package/src/lib/pages/TermsConditionsContent.svelte +240 -0
  60. package/src/lib/pages/TermsUseContent.svelte +236 -0
  61. package/src/lib/registerServiceWorker.js +65 -0
  62. package/src/lib/styles/css/brands.css +76 -0
  63. package/src/lib/styles/css/brands.min.css +6 -0
  64. package/src/lib/styles/css/default.css +454 -0
  65. package/src/lib/styles/css/fontawesome.min.css +9 -0
  66. package/src/lib/styles/css/global.css +10 -0
  67. package/src/lib/styles/css/normalize.css +349 -0
  68. package/src/lib/styles/css/offline.css +120 -0
  69. package/src/lib/styles/css/solid.min.css +6 -0
  70. package/src/lib/styles/css/style.css +310 -0
  71. package/src/lib/styles/fa-global.css +10 -0
  72. package/src/lib/styles/global.min.css +9 -0
  73. package/src/lib/styles/index.js +11 -0
  74. package/src/lib/styles/webfonts/fa-brands-400.ttf +0 -0
  75. package/src/lib/styles/webfonts/fa-brands-400.woff2 +0 -0
  76. package/src/lib/styles/webfonts/fa-solid-900.ttf +0 -0
  77. package/src/lib/styles/webfonts/fa-solid-900.woff2 +0 -0
  78. package/src/routes/+error.svelte +43 -0
  79. package/src/routes/+layout.js +94 -0
  80. package/src/routes/+layout.svelte +110 -0
  81. package/src/routes/+page.svelte +77 -0
  82. package/src/routes/about/+page.svelte +61 -0
  83. package/src/routes/contact/+page.server.js +24 -0
  84. package/src/routes/example.svx +9 -0
  85. package/src/routes/foss-spotlight/+page.svelte +63 -0
  86. package/src/routes/license/+page.svelte +63 -0
  87. package/src/routes/page.svelte.test.js +18 -0
  88. package/src/routes/privacy-policy/+page.svelte +63 -0
  89. package/src/routes/privacy-rights/+page.server.js +24 -0
  90. package/src/routes/terms-conditions/+page.svelte +63 -0
  91. package/src/routes/terms-of-use/+page.svelte +63 -0
  92. package/src/service-worker.d.ts +4 -0
  93. package/src/service-worker.js +90 -0
  94. package/static/icon-512x512-maskable.png +0 -0
  95. package/static/icon-contact.png +0 -0
  96. package/static/icon-services.png +0 -0
  97. package/static/img/svelte.png +0 -0
  98. package/static/manifest.json +64 -0
  99. package/static/offline.html +79 -0
  100. package/static/offline.min.css +7 -0
  101. package/{robots.txt → static/robots.txt} +0 -2
  102. package/static/sitemap.xml +102 -0
  103. package/stylelint.config.js +118 -0
  104. package/svelte.config.js +56 -0
  105. package/tests/app.spec.js +67 -0
  106. package/tests/mobile.spec.js +58 -0
  107. package/tests-examples/demo-todo-app.spec.js +504 -0
  108. package/tsconfig.custom.json +39 -0
  109. package/vite.config.js +19 -0
  110. package/vitest-setup-client.js +33 -0
  111. package/vitest.config.client.js +34 -0
  112. package/vitest.config.server.js +30 -0
  113. package/404.html +0 -84
  114. package/about.html +0 -334
  115. package/about.html.br +0 -0
  116. package/about.html.gz +0 -0
  117. package/bundle-report.html +0 -39
  118. package/css/default.css +0 -1
  119. package/css/normalize.css +0 -1
  120. package/css/style.css +0 -1
  121. package/docs/404.html +0 -1187
  122. package/docs/assets/external/avatars.githubusercontent.com/u/170266279.png +0 -0
  123. package/docs/assets/external/img.shields.io/badge/GitHub_Package_Registry-white.ed8def48.svg +0 -1
  124. package/docs/assets/external/img.shields.io/badge/npmjs-white.681714c1.svg +0 -1
  125. package/docs/assets/external/mirrors.creativecommons.org/presskit/icons/by.svg +0 -20
  126. package/docs/assets/external/mirrors.creativecommons.org/presskit/icons/cc.svg +0 -27
  127. package/docs/assets/external/unpkg.com/mermaid@11/dist/mermaid.min.js +0 -2607
  128. package/docs/assets/images/favicon.png +0 -0
  129. package/docs/assets/javascripts/bundle.c8b220af.min.js +0 -16
  130. package/docs/assets/javascripts/bundle.c8b220af.min.js.map +0 -7
  131. package/docs/assets/javascripts/lunr/min/lunr.ar.min.js +0 -1
  132. package/docs/assets/javascripts/lunr/min/lunr.da.min.js +0 -18
  133. package/docs/assets/javascripts/lunr/min/lunr.de.min.js +0 -18
  134. package/docs/assets/javascripts/lunr/min/lunr.du.min.js +0 -18
  135. package/docs/assets/javascripts/lunr/min/lunr.el.min.js +0 -1
  136. package/docs/assets/javascripts/lunr/min/lunr.es.min.js +0 -18
  137. package/docs/assets/javascripts/lunr/min/lunr.fi.min.js +0 -18
  138. package/docs/assets/javascripts/lunr/min/lunr.fr.min.js +0 -18
  139. package/docs/assets/javascripts/lunr/min/lunr.he.min.js +0 -1
  140. package/docs/assets/javascripts/lunr/min/lunr.hi.min.js +0 -1
  141. package/docs/assets/javascripts/lunr/min/lunr.hu.min.js +0 -18
  142. package/docs/assets/javascripts/lunr/min/lunr.hy.min.js +0 -1
  143. package/docs/assets/javascripts/lunr/min/lunr.it.min.js +0 -18
  144. package/docs/assets/javascripts/lunr/min/lunr.ja.min.js +0 -1
  145. package/docs/assets/javascripts/lunr/min/lunr.jp.min.js +0 -1
  146. package/docs/assets/javascripts/lunr/min/lunr.kn.min.js +0 -1
  147. package/docs/assets/javascripts/lunr/min/lunr.ko.min.js +0 -1
  148. package/docs/assets/javascripts/lunr/min/lunr.multi.min.js +0 -1
  149. package/docs/assets/javascripts/lunr/min/lunr.nl.min.js +0 -18
  150. package/docs/assets/javascripts/lunr/min/lunr.no.min.js +0 -18
  151. package/docs/assets/javascripts/lunr/min/lunr.pt.min.js +0 -18
  152. package/docs/assets/javascripts/lunr/min/lunr.ro.min.js +0 -18
  153. package/docs/assets/javascripts/lunr/min/lunr.ru.min.js +0 -18
  154. package/docs/assets/javascripts/lunr/min/lunr.sa.min.js +0 -1
  155. package/docs/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +0 -1
  156. package/docs/assets/javascripts/lunr/min/lunr.sv.min.js +0 -18
  157. package/docs/assets/javascripts/lunr/min/lunr.ta.min.js +0 -1
  158. package/docs/assets/javascripts/lunr/min/lunr.te.min.js +0 -1
  159. package/docs/assets/javascripts/lunr/min/lunr.th.min.js +0 -1
  160. package/docs/assets/javascripts/lunr/min/lunr.tr.min.js +0 -18
  161. package/docs/assets/javascripts/lunr/min/lunr.vi.min.js +0 -1
  162. package/docs/assets/javascripts/lunr/min/lunr.zh.min.js +0 -1
  163. package/docs/assets/javascripts/lunr/tinyseg.js +0 -206
  164. package/docs/assets/javascripts/lunr/wordcut.js +0 -6708
  165. package/docs/assets/javascripts/workers/search.f8cc74c7.min.js +0 -42
  166. package/docs/assets/javascripts/workers/search.f8cc74c7.min.js.map +0 -7
  167. package/docs/assets/stylesheets/main.2afb09e1.min.css +0 -1
  168. package/docs/assets/stylesheets/main.2afb09e1.min.css.map +0 -1
  169. package/docs/assets/stylesheets/palette.06af60db.min.css +0 -1
  170. package/docs/assets/stylesheets/palette.06af60db.min.css.map +0 -1
  171. package/docs/blog/2015/01/04/secure-secure-shell/index.html +0 -1771
  172. package/docs/blog/2025/04/30/our-blog-is-live/index.html +0 -1436
  173. package/docs/blog/archive/2015/index.html +0 -1303
  174. package/docs/blog/archive/2025/index.html +0 -1291
  175. package/docs/blog/category/security/index.html +0 -1303
  176. package/docs/blog/index.html +0 -1350
  177. package/docs/conduct/index.html +0 -1509
  178. package/docs/feed_json_created.json +0 -1
  179. package/docs/feed_json_updated.json +0 -1
  180. package/docs/feed_rss_created.xml +0 -1
  181. package/docs/feed_rss_updated.xml +0 -1
  182. package/docs/fontawesome/LICENSE.txt +0 -165
  183. package/docs/fontawesome/brands/facebook.svg +0 -1
  184. package/docs/fontawesome/brands/instagram.svg +0 -1
  185. package/docs/fontawesome/brands/linkedin.svg +0 -1
  186. package/docs/fontawesome/brands/mastodon.svg +0 -1
  187. package/docs/fontawesome/solid/at.svg +0 -1
  188. package/docs/index.html +0 -1395
  189. package/docs/legal/index.html +0 -1740
  190. package/docs/privacy/index.html +0 -1615
  191. package/docs/search/search_index.json +0 -1
  192. package/docs/sitemap.xml +0 -55
  193. package/docs/sitemap.xml.gz +0 -0
  194. package/docs/tags/index.html +0 -2084
  195. package/docs/terms-conditions/index.html +0 -1655
  196. package/docs/terms-use/index.html +0 -1584
  197. package/favicon-192.png +0 -0
  198. package/favicon-512.png +0 -0
  199. package/favicon.svg.br +0 -0
  200. package/favicon.svg.gz +0 -0
  201. package/html/spotlight.html +0 -435
  202. package/html/spotlight.html.br +0 -0
  203. package/html/spotlight.html.gz +0 -0
  204. package/img/banner-1280x640.png +0 -0
  205. package/img/banner-1440.png +0 -0
  206. package/img/banner-og-1200x630.png +0 -0
  207. package/img/favicon-template.png +0 -0
  208. package/img/fb-cover.png +0 -0
  209. package/img/fb-cover2.png +0 -0
  210. package/img/fsf-member.png +0 -0
  211. package/img/gh-logo.png +0 -0
  212. package/img/gpl3-small.png +0 -0
  213. package/img/gpl3.png +0 -0
  214. package/img/linkedin-banner-new.png +0 -0
  215. package/img/linkedin-banner.png +0 -0
  216. package/img/linkedin-banner2.png +0 -0
  217. package/img/logo-1024x1024.png +0 -0
  218. package/img/logo-alt.png +0 -0
  219. package/img/logo-elevated.png +0 -0
  220. package/img/logo-light-elevated.png +0 -0
  221. package/img/logo-light-slogan.png +0 -0
  222. package/img/logo-light.png +0 -0
  223. package/img/logo-slogan.png +0 -0
  224. package/img/logo-transparent-black-small.png +0 -0
  225. package/img/logo-transparent-black.png +0 -0
  226. package/img/logo-transparent-elevated.png +0 -0
  227. package/img/logo-transparent-slogan.png +0 -0
  228. package/img/mastodon-banner.png +0 -0
  229. package/img/netpro-logo-transparent.png +0 -0
  230. package/img/posts/acode.png +0 -0
  231. package/img/posts/linksheet.png +0 -0
  232. package/img/posts/tosdr.png +0 -0
  233. package/img/posts/urlcheck.png +0 -0
  234. package/img/qr/pgp-github.png +0 -0
  235. package/img/qr/pgp-support.png +0 -0
  236. package/img/qr/vcard.png +0 -0
  237. package/img/sd311.png +0 -0
  238. package/img/shield.png +0 -0
  239. package/img/shield.svg +0 -1
  240. package/img/shield.svg.br +0 -0
  241. package/img/shield.svg.gz +0 -0
  242. package/img/shield2.png +0 -0
  243. package/img/shield3-2000x2000.png +0 -0
  244. package/img/shield3-black-1024x1024.png +0 -0
  245. package/img/shield3-black.png +0 -0
  246. package/img/shield3-white.png +0 -0
  247. package/img/trademark.jpg +0 -0
  248. package/index.html +0 -268
  249. package/index.html.br +0 -0
  250. package/index.html.gz +0 -0
  251. package/js/app.d544156ea2ba85a7d486.mjs +0 -1
  252. package/js/runtime.52b1ac291305b90de3df.mjs +0 -1
  253. package/js/vendor/.gitkeep +0 -0
  254. package/legal.html +0 -535
  255. package/legal.html.br +0 -0
  256. package/legal.html.gz +0 -0
  257. package/privacy.html +0 -404
  258. package/privacy.html.br +0 -0
  259. package/privacy.html.gz +0 -0
  260. package/site.webmanifest +0 -25
  261. package/sitemap.xml +0 -177
  262. package/terms-and-conditions.html +0 -409
  263. package/terms-and-conditions.html.br +0 -0
  264. package/terms-and-conditions.html.gz +0 -0
  265. package/terms-of-use.html +0 -380
  266. package/terms-of-use.html.br +0 -0
  267. package/terms-of-use.html.gz +0 -0
  268. /package/{docs/assets/external/raw.githubusercontent.com/netwk-pro/netwk-pro.github.io/refs/heads/master/assets → assets}/nsa-happy-dance.png +0 -0
  269. /package/{favicon.svg → src/lib/img/favicon.svg} +0 -0
  270. /package/{favicon-180.png → src/lib/img/icon-180x180.png} +0 -0
  271. /package/{img/badge_obtainium.png → src/lib/img/obtainium.png} +0 -0
  272. /package/{img → src/lib/img}/qr/pgp-contact.png +0 -0
  273. /package/{docs/assets/external/raw.githubusercontent.com/netwk-pro/netwk-pro.github.io/refs/heads/master → src/lib}/img/qr/pgp-github.png +0 -0
  274. /package/{docs/assets/external/raw.githubusercontent.com/netwk-pro/netwk-pro.github.io/refs/heads/master → src/lib}/img/qr/pgp-support.png +0 -0
  275. /package/{docs/assets/external/raw.githubusercontent.com/netwk-pro/netwk-pro.github.io/refs/heads/master → src/lib}/img/qr/vcard.png +0 -0
  276. /package/{CNAME → static/CNAME} +0 -0
  277. /package/{favicon.ico → static/favicon.ico} +0 -0
  278. /package/{docs/img/favicon.png → static/icon-192x192.png} +0 -0
  279. /package/{docs/img/logo.png → static/icon-512x512.png} +0 -0
  280. /package/{favicon-splash.png → static/icon-splash.png} +0 -0
  281. /package/{img → static/img}/logo-transparent.png +0 -0
  282. /package/{img → static/img}/logo.png +0 -0
@@ -0,0 +1,61 @@
1
+ <!-- ==========================================================================
2
+ src/routes/about/+page.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import AboutContent from "$lib/pages/AboutContent.svelte";
10
+ import Badges from "$lib/components/Badges.svelte";
11
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/about" />
29
+
30
+ <section id="about">
31
+ <FullWidthSection>
32
+ <!-- BEGIN MAIN CONTENT -->
33
+ <section id="main-content">
34
+ <AboutContent />
35
+ </section>
36
+ <!-- END MAIN CONTENT -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+
45
+ <hr class={hrStyle} />
46
+
47
+ <div class={spaceStyle}></div>
48
+
49
+ <!-- LEGAL NAVIGATION -->
50
+ <section id="legal-nav">
51
+ <LegalNav />
52
+ </section>
53
+
54
+ <div class={spaceStyle}></div>
55
+
56
+ <!-- BADGES -->
57
+ <section id="badges">
58
+ <Badges />
59
+ </section>
60
+ </FullWidthSection>
61
+ </section>
@@ -0,0 +1,24 @@
1
+ /* ==========================================================================
2
+ src/routes/contact/+page.server.js
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== */
7
+
8
+ import { redirect } from "@sveltejs/kit";
9
+
10
+ export const prerender = false;
11
+
12
+ /** @type {import('./$types').PageServerLoad} */
13
+ export function load({ url }) {
14
+ const utmSource = url.searchParams.get("utm_source");
15
+
16
+ // Set target to your actual contact page path
17
+ const target =
18
+ "https://cloud.neteng.pro/index.php/apps/forms/s/nyWEq9fdE7kWAjqMtMySLqJc";
19
+
20
+ // Preserve the tracking parameter
21
+ const redirectTo = utmSource ? `${target}?utm_source=${utmSource}` : target;
22
+
23
+ throw redirect(302, redirectTo);
24
+ }
@@ -0,0 +1,9 @@
1
+ # Welcome to My Page
2
+
3
+ This is an example of an `.svx` file with Markdown and Svelte.
4
+
5
+ <script>
6
+ let count = 0;
7
+ </script>
8
+
9
+ <button on:click={() => count++}>Clicked {count} times</button>
@@ -0,0 +1,63 @@
1
+ <!-- ==========================================================================
2
+ src/lib/pages/FossSpotlightContent.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import Badges from "$lib/components/Badges.svelte";
10
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
11
+ import FossContent from "$lib/pages/FossContent.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/foss-spotlight" />
29
+
30
+ <section id="license">
31
+ <FullWidthSection>
32
+ <!-- BEGIN FOSS SPOTLIGHT -->
33
+ <section id="main-content">
34
+ <FossContent />
35
+ </section>
36
+ <!-- END FOSS SPOTLIGHT -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- BEGIN SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+ <!-- END SOCIAL MEDIA -->
45
+
46
+ <hr class={hrStyle} />
47
+
48
+ <div class={spaceStyle}></div>
49
+
50
+ <!-- BEGIN LEGAL -->
51
+ <section id="legal-nav">
52
+ <LegalNav />
53
+ </section>
54
+ <!-- END LEGAL -->
55
+
56
+ <div class={spaceStyle}></div>
57
+
58
+ <!-- BEGIN BADGES -->
59
+ <section id="badges">
60
+ <Badges />
61
+ </section>
62
+ </FullWidthSection>
63
+ </section>
@@ -0,0 +1,63 @@
1
+ <!-- ==========================================================================
2
+ src/routes/license/+page.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import Badges from "$lib/components/Badges.svelte";
10
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
11
+ import LicenseContent from "$lib/pages/LicenseContent.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/license" />
29
+
30
+ <section id="license">
31
+ <FullWidthSection>
32
+ <!-- BEGIN LEGAL, COPYRIGHT, AND LICENSING -->
33
+ <section id="main-content">
34
+ <LicenseContent />
35
+ </section>
36
+ <!-- END LEGAL, COPYRIGHT, AND LICENSING -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- BEGIN SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+ <!-- END SOCIAL MEDIA -->
45
+
46
+ <hr class={hrStyle} />
47
+
48
+ <div class={spaceStyle}></div>
49
+
50
+ <!-- BEGIN LEGAL -->
51
+ <section id="legal-nav">
52
+ <LegalNav />
53
+ </section>
54
+ <!-- END LEGAL -->
55
+
56
+ <div class={spaceStyle}></div>
57
+
58
+ <!-- BEGIN BADGES -->
59
+ <section id="badges">
60
+ <Badges />
61
+ </section>
62
+ </FullWidthSection>
63
+ </section>
@@ -0,0 +1,18 @@
1
+ /* ==========================================================================
2
+ src/lib/page.svelte.test.js
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== */
7
+
8
+ import "@testing-library/jest-dom/vitest";
9
+ import { render, screen } from "@testing-library/svelte";
10
+ import { describe, expect, test } from "vitest";
11
+ import Page from "./+page.svelte";
12
+
13
+ describe("/+page.svelte", () => {
14
+ test("should render the home page section", () => {
15
+ render(Page);
16
+ expect(screen.getByTestId("home-page")).toBeInTheDocument();
17
+ });
18
+ });
@@ -0,0 +1,63 @@
1
+ <!-- ==========================================================================
2
+ src/routes/privacy-policy/+page.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import Badges from "$lib/components/Badges.svelte";
10
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
11
+ import PrivacyContent from "$lib/pages/PrivacyContent.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/privacy-policy" />
29
+
30
+ <section id="privacy-policy">
31
+ <FullWidthSection>
32
+ <!-- BEGIN PRIVACY POLICY -->
33
+ <section id="main-content">
34
+ <PrivacyContent />
35
+ </section>
36
+ <!-- END PRIVACY POLICY -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- BEGIN SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+ <!-- END SOCIAL MEDIA -->
45
+
46
+ <hr class={hrStyle} />
47
+
48
+ <div class={spaceStyle}></div>
49
+
50
+ <!-- BEGIN LEGAL -->
51
+ <section id="legal-nav">
52
+ <LegalNav />
53
+ </section>
54
+ <!-- END LEGAL -->
55
+
56
+ <div class={spaceStyle}></div>
57
+
58
+ <!-- BEGIN BADGES -->
59
+ <section id="badges">
60
+ <Badges />
61
+ </section>
62
+ </FullWidthSection>
63
+ </section>
@@ -0,0 +1,24 @@
1
+ /* ==========================================================================
2
+ src/routes/privacy-rights/+page.server.js
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== */
7
+
8
+ import { redirect } from "@sveltejs/kit";
9
+
10
+ export const prerender = false;
11
+
12
+ /** @type {import('./$types').PageServerLoad} */
13
+ export function load({ url }) {
14
+ const utmSource = url.searchParams.get("utm_source");
15
+
16
+ // Set target to your actual privacy rights form path
17
+ const target =
18
+ "https://cloud.neteng.pro/index.php/apps/forms/s/6HpZKZCaLwb6TXYL99nLQM8t";
19
+
20
+ // Preserve the tracking parameter
21
+ const redirectTo = utmSource ? `${target}?utm_source=${utmSource}` : target;
22
+
23
+ throw redirect(302, redirectTo);
24
+ }
@@ -0,0 +1,63 @@
1
+ <!-- ==========================================================================
2
+ src/routes/terms-conditions/+page.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import Badges from "$lib/components/Badges.svelte";
10
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
11
+ import TermsConditionsContent from "$lib/pages/TermsConditionsContent.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/terms-conditions" />
29
+
30
+ <section id="terms-conditions">
31
+ <FullWidthSection>
32
+ <!-- BEGIN TERMS AND CONDITIONS -->
33
+ <section id="main-content">
34
+ <TermsConditionsContent />
35
+ </section>
36
+ <!-- END TERMS AND CONDITIONS -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- BEGIN SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+ <!-- END SOCIAL MEDIA -->
45
+
46
+ <hr class={hrStyle} />
47
+
48
+ <div class={spaceStyle}></div>
49
+
50
+ <!-- BEGIN LEGAL -->
51
+ <section id="legal-nav">
52
+ <LegalNav />
53
+ </section>
54
+ <!-- END LEGAL -->
55
+
56
+ <div class={spaceStyle}></div>
57
+
58
+ <!-- BEGIN BADGES -->
59
+ <section id="badges">
60
+ <Badges />
61
+ </section>
62
+ </FullWidthSection>
63
+ </section>
@@ -0,0 +1,63 @@
1
+ <!-- ==========================================================================
2
+ src/routes/terms-of-use/+page.svelte
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== -->
7
+
8
+ <script>
9
+ import Badges from "$lib/components/Badges.svelte";
10
+ import FullWidthSection from "$lib/components/FullWidthSection.svelte";
11
+ import TermsUseContent from "$lib/pages/TermsUseContent.svelte";
12
+ import LegalNav from "$lib/components/LegalNav.svelte";
13
+ import SocialMedia from "$lib/components/SocialMedia.svelte";
14
+
15
+ /**
16
+ * @type {string}
17
+ * Style class for the horizontal rule element.
18
+ */
19
+ const hrStyle = "hr-styled";
20
+
21
+ /**
22
+ * @type {string}
23
+ * Style class for the div element.
24
+ */
25
+ const spaceStyle = "spacer";
26
+ </script>
27
+
28
+ <link rel="canonical" href="https://netwk.pro/terms-of-use" />
29
+
30
+ <section id="terms-of-use">
31
+ <FullWidthSection>
32
+ <!-- BEGIN TERMS OF USE -->
33
+ <section id="main-content">
34
+ <TermsUseContent />
35
+ </section>
36
+ <!-- END TERMS OF USE -->
37
+
38
+ <div class={spaceStyle}></div>
39
+
40
+ <!-- BEGIN SOCIAL MEDIA -->
41
+ <section id="social-media">
42
+ <SocialMedia />
43
+ </section>
44
+ <!-- END SOCIAL MEDIA -->
45
+
46
+ <hr class={hrStyle} />
47
+
48
+ <div class={spaceStyle}></div>
49
+
50
+ <!-- BEGIN LEGAL -->
51
+ <section id="legal-nav">
52
+ <LegalNav />
53
+ </section>
54
+ <!-- END LEGAL -->
55
+
56
+ <div class={spaceStyle}></div>
57
+
58
+ <!-- BEGIN BADGES -->
59
+ <section id="badges">
60
+ <Badges />
61
+ </section>
62
+ </FullWidthSection>
63
+ </section>
@@ -0,0 +1,4 @@
1
+ /// <reference lib="webworker" />
2
+
3
+ // Give access to ServiceWorkerGlobalScope when using JSDoc
4
+ export { }; // ensures this file is treated as a module
@@ -0,0 +1,90 @@
1
+ /* ==========================================================================
2
+ src/service-worker.js
3
+
4
+ SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5
+ This file is part of Network Pro.
6
+ ========================================================================== */
7
+
8
+ /** @type {ServiceWorkerGlobalScope} */
9
+ const sw = self;
10
+
11
+ import { build, files, version } from "$service-worker";
12
+
13
+ /** @type {string} */
14
+ const CACHE = `cache-${version}`;
15
+
16
+ /** @type {string[]} */
17
+ const ASSETS = Array.from(new Set([...build, ...files, "/offline.html"]));
18
+
19
+ console.log("[SW] Assets to cache:", ASSETS); // Helps debug duplicates
20
+
21
+ /**
22
+ * @param {ExtendableEvent} event
23
+ */
24
+ sw.addEventListener("install", (event) => {
25
+ /** @type {ExtendableEvent} */ (event).waitUntil(
26
+ caches
27
+ .open(CACHE)
28
+ .then((cache) => cache.addAll(ASSETS))
29
+ .then(() => sw.skipWaiting()),
30
+ );
31
+ });
32
+
33
+ /**
34
+ * @param {ExtendableEvent} event
35
+ */
36
+ sw.addEventListener("activate", (event) => {
37
+ /** @type {ExtendableEvent} */ (event).waitUntil(
38
+ (async () => {
39
+ const tasks = [];
40
+
41
+ if (sw.registration.navigationPreload) {
42
+ tasks.push(sw.registration.navigationPreload.enable());
43
+ }
44
+
45
+ tasks.push(
46
+ caches.keys().then((keys) =>
47
+ Promise.all(
48
+ keys.map((key) => {
49
+ if (key !== CACHE) return caches.delete(key);
50
+ }),
51
+ ),
52
+ ),
53
+ );
54
+
55
+ await Promise.all(tasks);
56
+ await sw.clients.claim();
57
+ })(),
58
+ );
59
+ });
60
+
61
+ /**
62
+ * @param {FetchEvent} event
63
+ */
64
+ sw.addEventListener("fetch", (event) => {
65
+ /** @type {FetchEvent} */ (event).respondWith(
66
+ (async () => {
67
+ const cached = await caches.match(event.request);
68
+ if (cached) return cached;
69
+
70
+ try {
71
+ if (event.request.mode === "navigate") {
72
+ const preloadResponse = await event.preloadResponse;
73
+ if (preloadResponse) return preloadResponse;
74
+ }
75
+
76
+ return await fetch(event.request);
77
+ } catch {
78
+ if (event.request.mode === "navigate") {
79
+ const offline = await caches.match("/offline.html");
80
+ if (offline) return offline;
81
+ return new Response("<h1>Offline</h1>", {
82
+ headers: { "Content-Type": "text/html" },
83
+ });
84
+ }
85
+
86
+ return Response.error();
87
+ }
88
+ })(),
89
+ );
90
+ });
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "Network Pro Strategies",
3
+ "short_name": "Network Pro",
4
+ "description": "Access our expert cybersecurity services anytime, anywhere with our streamlined Progressive Web App. Optimized for speed, security, and mobile use, this app offers a seamless experience to explore our solutions, view project highlights, and get in touch—all in one place.",
5
+ "start_url": "/?utm_source=homescreen",
6
+ "display": "standalone",
7
+ "display_override": ["window-controls-overlay", "minimal-ui"],
8
+ "background_color": "#191919",
9
+ "theme_color": "#ffc627",
10
+ "icons": [
11
+ {
12
+ "src": "/icon-192x192.png",
13
+ "type": "image/png",
14
+ "sizes": "192x192"
15
+ },
16
+ {
17
+ "src": "/icon-512x512.png",
18
+ "type": "image/png",
19
+ "sizes": "512x512"
20
+ },
21
+ {
22
+ "src": "/icon-512x512-maskable.png",
23
+ "type": "image/png",
24
+ "sizes": "512x512",
25
+ "purpose": "maskable"
26
+ },
27
+ {
28
+ "src": "/icon-splash.png",
29
+ "type": "image/png",
30
+ "sizes": "512x512"
31
+ }
32
+ ],
33
+ "orientation": "any",
34
+ "scope": "/",
35
+ "categories": ["business", "security", "technology", "network", "privacy"],
36
+ "shortcuts": [
37
+ {
38
+ "name": "Consulting Services",
39
+ "short_name": "Services",
40
+ "description": "Explore our cybersecurity services",
41
+ "url": "/about?utm_source=shortcut",
42
+ "icons": [
43
+ {
44
+ "src": "/icon-services.png",
45
+ "sizes": "96x96",
46
+ "type": "image/png"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "name": "Contact Us",
52
+ "short_name": "Contact",
53
+ "description": "Connect with a cybersecurity specialist",
54
+ "url": "/contact?utm_source=shortcut",
55
+ "icons": [
56
+ {
57
+ "src": "/icon-contact.png",
58
+ "sizes": "96x96",
59
+ "type": "image/png"
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }