diff --git a/src/components/shared/Navbar.astro b/src/components/shared/Navbar.astro index c84cc9c..27f905a 100644 --- a/src/components/shared/Navbar.astro +++ b/src/components/shared/Navbar.astro @@ -1,12 +1,27 @@ --- // src/components/shared/Navbar.astro -const toolLinks = [ - { href: '/cron-to-systemd-converter', label: 'Crontab to Systemd' }, - { href: '/env-to-json', label: 'Env to JSON Object' }, - { href: '/json-to-env', label: 'JSON to Env Object' }, - { href: '/pii-masker-log-scrubber', label: 'PII Masker & Scrubber' }, - { href: '/cidr-subnet-calculator', label: 'CIDR Subnet Calculator' }, - { href: '/csv-to-json-schema', label: 'CSV to JSON Schema' } +const toolCategories = [ + { + label: 'Infrastructure & Config', + tools: [ + { href: '/cron-to-systemd-converter', label: 'Crontab to Systemd' }, + { href: '/env-to-json', label: 'Env to JSON' }, + { href: '/json-to-env', label: 'JSON to Env' }, + ] + }, + { + label: 'Security & DevSecOps', + tools: [ + { href: '/pii-masker-log-scrubber', label: 'PII Masker & Scrubber' }, + ] + }, + { + label: 'Networking & Data', + tools: [ + { href: '/cidr-subnet-calculator', label: 'CIDR Subnet Calculator' }, + { href: '/csv-to-json-schema', label: 'CSV to JSON Schema' }, + ] + } ]; --- @@ -51,16 +66,23 @@ const toolLinks = [ @@ -99,15 +121,24 @@ const toolLinks = [ Home
- Tools -
- {toolLinks.map(tool => ( - - {tool.label} - + Tools +
+ {toolCategories.map((category) => ( +
+ + {category.label} + +
+ {category.tools.map(tool => ( + + {tool.label} + + ))} +
+
))}
diff --git a/src/pages/index.astro b/src/pages/index.astro index 2fabe42..b3d9654 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -84,9 +84,9 @@ const stats = [ const categories = [ { id: 'all', label: 'All Utilities' }, - { id: 'config', label: 'Config Tools' }, - { id: 'privacy', label: 'Privacy & Masking' }, - { id: 'network', label: 'Network Engines' } + { id: 'config', label: 'Infrastructure & Config' }, + { id: 'privacy', label: 'Security & DevSecOps' }, + { id: 'network', label: 'Networking & Data' } ]; // Rich Structural JSON-LD Data for Search Graph Aggregations @@ -219,7 +219,7 @@ const jsonLd = {

- Configuration & Server Tools + Infrastructure & Config

{toolsConfig.map((tool) => ( @@ -245,7 +245,7 @@ const jsonLd = {

- Privacy & Identity Protections + Security & DevSecOps

{toolsPrivacy.map((tool) => ( @@ -271,7 +271,7 @@ const jsonLd = {

- Network & Data Architecture + Networking & Data

{toolsNetwork.map((tool) => (