Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# This file is part of Network Pro.

# Custom ignores

static/.well-known/dnt-policy.txt

# Claude Code
.claude
Expand Down
29 changes: 25 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@ version increments reflecting both user-visible and operational impact.

---

## [1.27.2] - 2026-04-25

### Added

- Added a site-wide W3C Do Not Track tracking status resource at `/.well-known/dnt`.
- Added the DNT tracking status resource to `sitemap.xml`.

### Changed

- Bumped project version to `v1.27.2`.
- Updated `npm run dev` and `npm run preview` so they start local servers without automatically opening a browser.
- Refreshed sitemap metadata for updated public pages and privacy well-known resources.
- Updated the HeliBoard FOSS Spotlight GitHub link to the current `HeliBorg/HeliBoard` repository.
- Excluded the human-readable DNT policy text file from Prettier formatting.

### Removed

- Removed stale commented debug logging from shared layout, metadata, legal, FOSS, PGP, services, terms, and home page components.
- Removed `/CNAME` from the service worker ignored-path list.

---

## [1.27.1] - 2026-04-25

### Changed
Expand Down Expand Up @@ -2779,11 +2801,10 @@ This enables analytics filtering and CSP hardening for the audit environment.

- Deprecated `shouldTrackUser()` logic and legacy cookie checks.

---

<!-- Link references -->

[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.27.1...HEAD
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.27.2...HEAD
[1.27.2]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.27.2
[1.27.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.27.1
[1.27.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.27.0
[1.26.22]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.26.22
Expand Down Expand Up @@ -2885,4 +2906,4 @@ This enables analytics filtering and CSP hardening for the audit environment.
[1.12.1]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.12.1
[1.12.0]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.12.0

<!-- cspell:ignore qrcode cryptom otphelp domcontentloaded -->
<!-- cspell:ignore qrcode cryptom otphelp domcontentloaded heli -->
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@networkpro/web",
"private": false,
"version": "1.27.1",
"version": "1.27.2",
"description": "Locking Down Networks, Unlocking Confidence™ | Security, Networking, Privacy — Network Pro Strategies",
"keywords": [
"advocacy",
Expand Down Expand Up @@ -36,7 +36,7 @@
"npm": ">=10.0.0 <12"
},
"scripts": {
"dev": "vite dev --open",
"dev": "vite dev",
"dev:audit": "vite --mode audit",
"start": "npm run dev",
"dev:vercel": "vercel dev",
Expand All @@ -45,7 +45,7 @@
"build:vercel": "vercel build",
"build:codex": "vite build --mode codex",
"dev:codex": "vite dev --mode codex",
"preview": "vite preview --open",
"preview": "vite preview",
"css:bundle": "node scripts/bundleCss.js",
"prepare": "svelte-kit sync && npx simple-git-hooks || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
Expand Down
5 changes: 0 additions & 5 deletions src/lib/components/Badges.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ This file is part of Network Pro.
import { ccBadge, gplBadge } from '$lib';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE } = CONSTANTS;

const ccbyLink = `${base}/legal#cc-by`;
Expand Down
5 changes: 0 additions & 5 deletions src/lib/components/LegalNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE } = CONSTANTS;

const termsLink = `${base}/terms-of-use`;
Expand Down
2 changes: 0 additions & 2 deletions src/lib/components/MetaTags.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ This file is part of Network Pro.

import { CONSTANTS } from '$lib';

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, LINKS } = CONSTANTS;

// Default fallbacks (for missing or undefined props)
Expand Down
2 changes: 0 additions & 2 deletions src/lib/components/foss/FossItemContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ This file is part of Network Pro.

import { CONSTANTS } from '$lib';

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE, NAV } = CONSTANTS;

/** @type {"async"} */
Expand Down
3 changes: 0 additions & 3 deletions src/lib/components/layout/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ This file is part of Network Pro.
import { bySvg, ccSvg } from '$lib';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

const { COMPANY_INFO, CONTACT, PAGE, NAV } = CONSTANTS;

// Dynamic links for licensing and trademark
Expand Down
5 changes: 0 additions & 5 deletions src/lib/components/layout/HeaderDefault.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE, LINKS } = CONSTANTS;

const homeLink = base || '/';
Expand Down
5 changes: 0 additions & 5 deletions src/lib/components/layout/HeaderHome.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE, LINKS } = CONSTANTS;

const aboutLink = `${base}/about`;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/data/fossData.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This file is part of Network Pro.
* @description Data for FOSS Spotlight route
* @module src/lib/data
* @author Scott Lopez
* @updated 2025-10-20
* @updated 2026-04-25
*/

// Import FOSS images
Expand Down Expand Up @@ -315,7 +315,7 @@ export const fossData = [
links: [
{
label: "GitHub",
href: "https://github.com/Helium314/HeliBoard",
href: "https://github.com/HeliBorg/HeliBoard",
},
{
label: "F-Droid",
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/AboutContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { CONSTANTS, getQR, PGP_KEYS } from '$lib';
import { base } from '$app/paths';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, CONTACT, PAGE } = CONSTANTS;
const pgpKeys = PGP_KEYS.filter(
(k) => k.id === 'pgp-support' || k.id === 'pgp-contact',
Expand Down
2 changes: 0 additions & 2 deletions src/lib/pages/FossContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ This file is part of Network Pro.
import FossItemContent from '$lib/components/foss/FossItemContent.svelte';
import { CONSTANTS } from '$lib';

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { PAGE } = CONSTANTS;

/**
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/HomeContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, CONTACT, LINKS, PAGE, NAV } = CONSTANTS;

/**
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/PGPContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ This file is part of Network Pro.
import { CodeBlock } from '$lib/components';
import { base } from '$app/paths';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { CONTACT, PAGE } = CONSTANTS;

/**
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/ServicesContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ This file is part of Network Pro.
import { CONSTANTS } from '$lib';
import { ServiceSummaryTable } from '$lib/components';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, CONTACT, PAGE, LINKS, NAV } = CONSTANTS;

/**
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/TermsConditionsContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, PAGE, NAV } = CONSTANTS;

/**
Expand Down
5 changes: 0 additions & 5 deletions src/lib/pages/TermsUseContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ This file is part of Network Pro.
import { base } from '$app/paths';
import { CONSTANTS } from '$lib';

// Log the base path to verify its value
//console.log("Base path:", base);

//console.log(CONSTANTS.COMPANY_INFO.APP_NAME);

const { COMPANY_INFO, PAGE, NAV } = CONSTANTS;

/**
Expand Down
37 changes: 37 additions & 0 deletions src/routes/.well-known/dnt/+server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* ==========================================================================
src/routes/.well-known/dnt/+server.js

Copyright © 2025-2026 Network Pro Strategies (Network Pro™)
SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
This file is part of Network Pro.
========================================================================== */

/**
* @file +server.js
* @description Site-wide W3C Do Not Track tracking status resource.
* @see https://w3c.github.io/dnt/drafts/tracking-dnt.html#status-representation
* @module src/routes/.well-known/dnt
* @author Scott Lopez
* @updated 2026-04-25
*/

/**
* @type {import('./$types').RequestHandler}
*/
export function GET() {
return new Response(
// `N` signals that data collected by this origin is not used for tracking.
JSON.stringify({
tracking: 'N',
policy: '/.well-known/dnt-policy.txt',
config: '/privacy#tracking',
}),
{
headers: {
'Content-Type': 'application/tracking-status+json',
// W3C TSR clients may cache stable site-wide status for preflight checks.
'Cache-Control': 'public, max-age=86400',
},
},
);
}
1 change: 0 additions & 1 deletion src/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const IGNORE_PATHS = new Set([
'/b173de6c44c144c1b186841b88d51c67.txt',
'/robots.txt',
'/sitemap.xml',
'/CNAME',
]);

/** @type {string[]} */
Expand Down
Loading
Loading