diff --git a/src/lib/constants/nav.ts b/src/lib/constants/nav.ts index 175e7ae..0b5a900 100644 --- a/src/lib/constants/nav.ts +++ b/src/lib/constants/nav.ts @@ -10,12 +10,10 @@ export type NavItem = { export type NavGroup = { title: string; + description?: string; items: NavItem[]; }; -export const aboutPages: NavItem[] = [ - { href: '/about', label: 'About', description: `About and its mission` }, -]; // Individual standalone pages export const STANDALONE_PAGES: NavItem[] = []; @@ -996,6 +994,51 @@ export const SUB_NAV: Record = { ], }; +export const aboutPages: NavItem[] = [ + { + href: '/about', + label: 'About', + description: `About and its mission`, + keywords: ['about', 'mission', 'team', 'project', 'information'], + }, + { + href: '/about/api', + label: 'API Usage', + description: 'Using our free public REST API for network calculations and IP tools', + keywords: ['api', 'networking', 'ipv4', 'ipv6', 'network', 'tools', 'dns', 'cidr', 'subnet'], + }, + { + href: '/about/attributions', + label: 'Attributions', + description: 'Shout outs to sponsors, contributors and other authors who made Networking Toolbox possible', + keywords: ['attributions', 'credits', 'thanks', 'sponsors', 'contributors', 'libraries'], + }, + { + href: '/about/author', + label: 'Author', + description: 'About Alicia Sykes, and how and why she built Networking Toolbox', + keywords: ['author', 'about', 'bio', 'Alicia Sykes', 'github'], + }, + { + href: '/about/building', + label: 'Building', + description: 'Build Networking Toolbox from source, self-host, edit, or contribute to the project', + keywords: ['building', 'sveltekit', 'github', 'npm', 'svelte', 'typescript', 'developing documentation'], + }, + { + href: '/about/license', + label: 'MIT License', + description: `Networking Toolbox's MIT license, summary, and what it means for you`, + keywords: ['license', 'mit', 'opensource', 'permissions', 'limitations', 'conditions'], + }, + { + href: '/about/self-hosting', + label: 'Self-Hosting', + description: 'Guide to self-hosting Networking Toolbox on your own server or infrastructure', + keywords: ['self-hosting', 'deployment', 'docker', 'portainer', 'vercel', 'node', 'nginx'], + }, +]; + export const footerLinks: NavItem[] = [ { href: '/about', label: 'About' }, { href: site.repo, label: 'GitHub' }, diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index fb3cb46..77ff5cd 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,6 @@ - - {pages.home.title} - - - - - - - - -
diff --git a/src/routes/about/(sections)/api/+page.svelte b/src/routes/about/(sections)/api/+page.svelte index e2d2a11..97f75f0 100644 --- a/src/routes/about/(sections)/api/+page.svelte +++ b/src/routes/about/(sections)/api/+page.svelte @@ -2,9 +2,4 @@ import ApiSection from '$lib/components/page-specific/about/ApiSection.svelte'; - - API - Networking Toolbox - - - diff --git a/src/routes/about/(sections)/attributions/+page.svelte b/src/routes/about/(sections)/attributions/+page.svelte index efe1dd9..58e704f 100644 --- a/src/routes/about/(sections)/attributions/+page.svelte +++ b/src/routes/about/(sections)/attributions/+page.svelte @@ -2,9 +2,4 @@ import AttributionsSection from '$lib/components/page-specific/about/AttributionsSection.svelte'; - - Attributions - Networking Toolbox - - - diff --git a/src/routes/about/(sections)/author/+page.svelte b/src/routes/about/(sections)/author/+page.svelte index 43b6fb0..3eb9722 100644 --- a/src/routes/about/(sections)/author/+page.svelte +++ b/src/routes/about/(sections)/author/+page.svelte @@ -2,9 +2,4 @@ import AuthorSection from '$lib/components/page-specific/about/AuthorSection.svelte'; - - Author - Networking Toolbox - - - diff --git a/src/routes/about/(sections)/building/+page.svelte b/src/routes/about/(sections)/building/+page.svelte index 4ced44d..15c9868 100644 --- a/src/routes/about/(sections)/building/+page.svelte +++ b/src/routes/about/(sections)/building/+page.svelte @@ -2,9 +2,4 @@ import BuildingSection from '$lib/components/page-specific/about/BuildingSection.svelte'; - - Building from Source - Networking Toolbox - - - diff --git a/src/routes/about/(sections)/license/+page.svelte b/src/routes/about/(sections)/license/+page.svelte index 18b3a29..11b2d14 100644 --- a/src/routes/about/(sections)/license/+page.svelte +++ b/src/routes/about/(sections)/license/+page.svelte @@ -2,9 +2,4 @@ import LicenseSection from '$lib/components/page-specific/about/LicenseSection.svelte'; - - License - Networking Toolbox - - - diff --git a/src/routes/about/(sections)/self-hosting/+page.svelte b/src/routes/about/(sections)/self-hosting/+page.svelte index 44521d4..3d442ad 100644 --- a/src/routes/about/(sections)/self-hosting/+page.svelte +++ b/src/routes/about/(sections)/self-hosting/+page.svelte @@ -2,9 +2,4 @@ import SelfHostingSection from '$lib/components/page-specific/about/SelfHostingSection.svelte'; - - Self-Hosting - Networking Toolbox - - - diff --git a/src/routes/bookmarks/+page.svelte b/src/routes/bookmarks/+page.svelte index eca54b6..8b4f399 100644 --- a/src/routes/bookmarks/+page.svelte +++ b/src/routes/bookmarks/+page.svelte @@ -1,6 +1,6 @@ - - {pages.home.title} - - - - - - - - @@ -43,7 +32,6 @@ $: showAll = false; \ No newline at end of file diff --git a/src/routes/diagnostics/dns/+page.svelte b/src/routes/diagnostics/dns/+page.svelte index bdc4b50..6a39b25 100644 --- a/src/routes/diagnostics/dns/+page.svelte +++ b/src/routes/diagnostics/dns/+page.svelte @@ -1,5 +1,5 @@ - - DNS Diagnostics Tools | {site.title} - - - - - - -
- {#if results && results.hasRecord}
@@ -704,7 +703,6 @@ gap: var(--spacing-sm); } - .issue-content { display: flex; flex-direction: column; @@ -722,7 +720,6 @@ line-height: 1.4; } - .policy-explanations, .alignment-explanations { display: flex; flex-direction: column; @@ -739,6 +736,5 @@ } } - // Page-specific styles (shared styles moved to diagnostics-pages.scss) diff --git a/src/routes/diagnostics/dns/ns-soa-check/+page.svelte b/src/routes/diagnostics/dns/ns-soa-check/+page.svelte index a72add6..7f31676 100644 --- a/src/routes/diagnostics/dns/ns-soa-check/+page.svelte +++ b/src/routes/diagnostics/dns/ns-soa-check/+page.svelte @@ -507,7 +507,6 @@ // Page-specific styles - shared styles removed // Use shared .lookup-btn instead of .check-btn - .action-section { display: flex; justify-content: center; @@ -698,6 +697,5 @@ font-family: var(--font-mono); } - // Page-specific styles only (common utilities moved to diagnostics-pages.scss) diff --git a/src/routes/diagnostics/dns/propagation/+page.svelte b/src/routes/diagnostics/dns/propagation/+page.svelte index bd9a847..b7a4df4 100644 --- a/src/routes/diagnostics/dns/propagation/+page.svelte +++ b/src/routes/diagnostics/dns/propagation/+page.svelte @@ -365,7 +365,6 @@ diff --git a/src/routes/diagnostics/dns/spf-evaluator/+page.svelte b/src/routes/diagnostics/dns/spf-evaluator/+page.svelte index a5c4c5b..cf193d8 100644 --- a/src/routes/diagnostics/dns/spf-evaluator/+page.svelte +++ b/src/routes/diagnostics/dns/spf-evaluator/+page.svelte @@ -436,8 +436,6 @@ margin-top: var(--spacing-xl); } - - // SPF-specific mechanism styles .mechanisms-section { margin-bottom: var(--spacing-lg); diff --git a/src/routes/diagnostics/http/headers/+page.svelte b/src/routes/diagnostics/http/headers/+page.svelte index 93852e5..87618d0 100644 --- a/src/routes/diagnostics/http/headers/+page.svelte +++ b/src/routes/diagnostics/http/headers/+page.svelte @@ -410,6 +410,5 @@ margin-top: var(--spacing-xs); } - // Page-specific styles only (common utilities moved to diagnostics-pages.scss) diff --git a/src/routes/dns/+page.svelte b/src/routes/dns/+page.svelte index 0a8f033..785c53e 100644 --- a/src/routes/dns/+page.svelte +++ b/src/routes/dns/+page.svelte @@ -1,5 +1,5 @@ - - DNS Tools & Record Generators | {site.title} - - - - - - -