mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-28 00:10:03 +03:00
Updates about docs
This commit is contained in:
1 parent
9638b1e182
commit
de5535190f
13 files changed
+168
-58
No files matched your search
@@ -1,4 +1,8 @@
|
||||
<section id="api">
|
||||
<h2>API</h2>
|
||||
<p>Yes, we have an API! It's free to use, doesn't require an API key nor CORS.</p>
|
||||
<p>
|
||||
Yes, we have an API! It's free to use, doesn't require an API key nor CORS.<br />
|
||||
Try calling <a href="/api"><code>GET https://networkingtoolbox.net/api</code></a>, or checkout the
|
||||
<a href="/api-docs.html">API Docs</a>.
|
||||
</p>
|
||||
</section>
|
||||
@@ -2,7 +2,7 @@
|
||||
</script>
|
||||
|
||||
<section id="building">
|
||||
<h2>Building from Source</h2>
|
||||
<h2>Building</h2>
|
||||
<h3>Prerequisites</h3>
|
||||
<p>
|
||||
Make sure you have <a href="https://nodejs.org/en/download/" target="_blank" rel="noopener noreferrer">Node.js</a>
|
||||
@@ -28,7 +28,7 @@
|
||||
<code>npm run tsc</code>
|
||||
<code>npm run lint</code>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<h3>Deploying</h3>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -46,7 +46,7 @@
|
||||
Build the Docker image, with <code>docker build -t networking-toolbox .</code>
|
||||
then run <code>docker run -p 8080:8080 networking-toolbox</code>
|
||||
</li>
|
||||
</ul>
|
||||
</ul> -->
|
||||
|
||||
<h3>Contributing</h3>
|
||||
<p>
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
<script>
|
||||
import '../../../../styles/page-specific/about-page.scss';
|
||||
</script>
|
||||
|
||||
<section id="deploying">
|
||||
<h2>Deploying</h2>
|
||||
<p>
|
||||
As well as our free hosted version, at <a href="https://networkingtoolbox.net">networkingtoolbox.net</a>, we've made
|
||||
it as quick and easy as possible for you to deploy your own instance. Either on your own infrastructure, or using
|
||||
one of our supported free hosting providers.
|
||||
</p>
|
||||
|
||||
<h3>Option #1 - Docker</h3>
|
||||
<p>With Docker installed, just run the following command:</p>
|
||||
<div class="code">
|
||||
<code>docker run -p 8080:8080 lissy93/networking-toolbox</code>
|
||||
</div>
|
||||
<p>
|
||||
You can also checkout our <a href="https://github.com/Lissy93/networking-toolbox/blob/main/docker-compose.yml"
|
||||
><code>docker-compose.yml</code></a
|
||||
>, using the
|
||||
<a href="https://hub.docker.com/r/lissy93/networking-toolbox"><code>lissy93/networking-toolbox</code></a> image from
|
||||
DockerHub.
|
||||
</p>
|
||||
|
||||
<h3>Option #2 - Free Hosting Provider</h3>
|
||||
<p>
|
||||
You can quickly and easily deploy your own instance for free, on any other our supported hosting providers! Just
|
||||
fork our repository, and then import it into your chosen provider.
|
||||
</p>
|
||||
|
||||
<p>Alternatively, just click one of the buttons below!</p>
|
||||
|
||||
<h3>Option #3 - GitHub Pages</h3>
|
||||
<ol>
|
||||
<li>Fork the repository (you'll need a free GitHub account)</li>
|
||||
<li>Go to your new repo's Settings → Pages → Source and select the <code>gh-pages</code> branch</li>
|
||||
<li>Then, head to the Actions tab, find the "Deploy to GitHub Pages" workflow, and trigger it</li>
|
||||
<li>Visit <code>https://[your-username].github.io/networking-toolbox/</code> to see your deployed app</li>
|
||||
</ol>
|
||||
|
||||
<h3>Option #4 - Source</h3>
|
||||
<p>
|
||||
If you want to make any changes before deploying, or want to host it on any other platform not already covered
|
||||
above, then you can easily do so, by compiling the app from source. We've dot detailed <a href="/about/building"
|
||||
>Building Instructions</a
|
||||
>, or you can check out the docs in the repo.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
ol {
|
||||
padding-left: 2rem;
|
||||
}
|
||||
h3 {
|
||||
margin-top: var(--spacing-lg);
|
||||
}
|
||||
</style>
|
||||
@@ -242,11 +242,12 @@ export const iconMap: Record<string, string> = {
|
||||
'ref-common-subnets': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M400 144L400 208L464 208L464 144L400 144zM400 368L400 496L528 496L528 368L400 368z"/><path d="M400 208L400 144L464 144L464 208L400 208zM352 208C352 234.5 373.5 256 400 256L464 256C490.5 256 512 234.5 512 208L512 144C512 117.5 490.5 96 464 96L400 96C373.5 96 352 117.5 352 144L352 208zM400 496L400 368L528 368L528 496L400 496zM352 496C352 522.5 373.5 544 400 544L528 544C554.5 544 576 522.5 576 496L576 368C576 341.5 554.5 320 528 320L400 320C373.5 320 352 341.5 352 368L352 496zM209 103C199.6 93.6 184.4 93.6 175.1 103L87 191C77.6 200.4 77.6 215.6 87 224.9C96.4 234.2 111.6 234.3 120.9 224.9L167.9 177.9L167.9 520C167.9 533.3 178.6 544 191.9 544C205.2 544 215.9 533.3 215.9 520L215.9 177.9L262.9 224.9C272.3 234.3 287.5 234.3 296.8 224.9C306.1 215.5 306.2 200.3 296.8 191L209 103z"/></svg>`,
|
||||
'ref-network-classes': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M297.5 449L209.5 537C200.1 546.4 184.9 546.4 175.6 537L87.6 449C78.2 439.6 78.2 424.4 87.6 415.1C97 405.8 112.2 405.7 121.5 415.1L168.5 462.1L168.5 120C168.5 106.7 179.2 96 192.5 96C205.8 96 216.5 106.7 216.5 120L216.5 462.1L263.5 415.1C272.9 405.7 288.1 405.7 297.4 415.1C306.7 424.5 306.8 439.7 297.4 449zM470 109.3L550 269.3C555.9 281.2 551.1 295.6 539.3 301.5C527.5 307.4 513 302.6 507 290.7L493.4 263.5C491.8 263.8 490.2 264 488.5 264L403.3 264L389.9 290.7C384 302.6 369.6 307.4 357.7 301.4C345.8 295.4 341 281.1 347 269.2L427 109.2C431.1 101.1 439.4 95.9 448.5 95.9C457.6 95.9 465.9 101 470 109.2zM448.5 173.7L427.3 216L469.6 216L448.4 173.7zM352.5 376C352.5 362.7 363.2 352 376.5 352L520.5 352C530.2 352 539 357.8 542.7 366.8C546.4 375.8 544.4 386.1 537.5 393L434.5 496L520.6 496C533.9 496 544.6 506.7 544.6 520C544.6 533.3 533.9 544 520.6 544L376.6 544C366.9 544 358.1 538.2 354.4 529.2C350.7 520.2 352.7 509.9 359.6 503L462.6 400L376.5 400C363.2 400 352.5 389.3 352.5 376z"/></svg>`,
|
||||
'ref-reserved-ranges': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M136.9 224L288.5 124.7L302.1 133.6C293.3 154 288.5 176.4 288.5 200C288.5 208.1 289.1 216.2 290.2 224L136.9 224zM144.5 272L208.5 272L208.5 432L144.5 432L144.5 272zM256.5 272L304.7 272C309.2 281.4 314.5 290.3 320.5 298.7L320.5 432L256.5 432L256.5 272zM368.5 343.1C387.6 354.9 409.3 362.9 432.5 366.3L432.5 432L368.5 432L368.5 343.1z"/><path d="M301.7 75.9L327.3 92.7C317 105 308.5 118.7 302.1 133.6L288.5 124.7L136.9 224L290.2 224C292.6 240.9 297.6 257.1 304.7 272L256.5 272L256.5 432L320.5 432L320.5 298.7C333.4 316.5 349.7 331.6 368.5 343.2L368.5 432.1L432.5 432.1L432.5 366.4C440.3 367.5 448.3 368.1 456.5 368.1C464.7 368.1 472.7 367.5 480.5 366.4L480.5 432.1L488.5 432.1C501.8 432.1 512.5 442.8 512.5 456.1C512.5 469.4 501.8 480.1 488.5 480.1L88.5 480.1C75.2 480.1 64.5 469.4 64.5 456.1C64.5 442.8 75.2 432.1 88.5 432.1L96.5 432.1L96.5 272.1L56.5 272.1C45.9 272.1 36.5 265.1 33.5 255C30.5 244.9 34.5 233.9 43.3 228.1L275.3 76.1C283.3 70.9 293.6 70.9 301.6 76.1zM144.5 432L208.5 432L208.5 272L144.5 272L144.5 432zM56.5 528L520.5 528C533.8 528 544.5 538.7 544.5 552C544.5 565.3 533.8 576 520.5 576L56.5 576C43.2 576 32.5 565.3 32.5 552C32.5 538.7 43.2 528 56.5 528zM456.5 272C496.3 272 528.5 239.8 528.5 200C528.5 160.2 496.3 128 456.5 128C416.7 128 384.5 160.2 384.5 200C384.5 239.8 416.7 272 456.5 272zM456.5 320C390.2 320 336.5 266.3 336.5 200C336.5 133.7 390.2 80 456.5 80C522.8 80 576.5 133.7 576.5 200C576.5 224.5 569.2 247.3 556.6 266.3L617.5 327.2C626.9 336.6 626.9 351.8 617.5 361.1C608.1 370.4 592.9 370.5 583.6 361.1L522.7 300.2C503.7 312.7 481 320 456.6 320z"/></svg>`,
|
||||
'terminal': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144 160L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 160C496 151.2 488.8 144 480 144L160 144C151.2 144 144 151.2 144 160zM199 223C208.4 213.6 223.6 213.6 232.9 223L312.9 303C322.3 312.4 322.3 327.6 312.9 336.9L232.9 416.9C223.5 426.3 208.3 426.3 199 416.9C189.7 407.5 189.6 392.3 199 383L262 320L199 257C189.6 247.6 189.6 232.4 199 223.1zM288 424C288 410.7 298.7 400 312 400L424 400C437.3 400 448 410.7 448 424C448 437.3 437.3 448 424 448L312 448C298.7 448 288 437.3 288 424z"/><path d="M480 144C488.8 144 496 151.2 496 160L496 480C496 488.8 488.8 496 480 496L160 496C151.2 496 144 488.8 144 480L144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 160C544 124.7 515.3 96 480 96L160 96zM199 223C189.6 232.4 189.6 247.6 199 256.9L262 319.9L199 382.9C189.6 392.3 189.6 407.5 199 416.8C208.4 426.1 223.6 426.2 232.9 416.8L312.9 336.8C322.3 327.4 322.3 312.2 312.9 302.9L232.9 222.9C223.5 213.5 208.3 213.5 199 222.9zM312 400C298.7 400 288 410.7 288 424C288 437.3 298.7 448 312 448L424 448C437.3 448 448 437.3 448 424C448 410.7 437.3 400 424 400L312 400z"/></svg>`,
|
||||
terminal: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144 160L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 160C496 151.2 488.8 144 480 144L160 144C151.2 144 144 151.2 144 160zM199 223C208.4 213.6 223.6 213.6 232.9 223L312.9 303C322.3 312.4 322.3 327.6 312.9 336.9L232.9 416.9C223.5 426.3 208.3 426.3 199 416.9C189.7 407.5 189.6 392.3 199 383L262 320L199 257C189.6 247.6 189.6 232.4 199 223.1zM288 424C288 410.7 298.7 400 312 400L424 400C437.3 400 448 410.7 448 424C448 437.3 437.3 448 424 448L312 448C298.7 448 288 437.3 288 424z"/><path d="M480 144C488.8 144 496 151.2 496 160L496 480C496 488.8 488.8 496 480 496L160 496C151.2 496 144 488.8 144 480L144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 160C544 124.7 515.3 96 480 96L160 96zM199 223C189.6 232.4 189.6 247.6 199 256.9L262 319.9L199 382.9C189.6 392.3 189.6 407.5 199 416.8C208.4 426.1 223.6 426.2 232.9 416.8L312.9 336.8C322.3 327.4 322.3 312.2 312.9 302.9L232.9 222.9C223.5 213.5 208.3 213.5 199 222.9zM312 400C298.7 400 288 410.7 288 424C288 437.3 298.7 448 312 448L424 448C437.3 448 448 437.3 448 424C448 410.7 437.3 400 424 400L312 400z"/></svg>`,
|
||||
'file-x': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M176 128L176 142.2L464 430.2L464 272L376 272C336.2 272 304 239.8 304 200L304 112L192 112C183.2 112 176 119.2 176 128z"/><path d="M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L511.9 478.2L511.9 250.6C511.9 233.6 505.2 217.3 493.2 205.3L370.7 82.7C358.7 70.7 342.5 64 325.5 64L192 64C166.5 64 144.6 78.9 134.2 100.4L73 39.1zM176 142.1L176 128C176 119.2 183.2 112 192 112L304 112L304 200C304 239.8 336.2 272 376 272L464 272L464 430.2L176 142.2zM176 512L176 277.8L128 229.8L128 512C128 547.3 156.7 576 192 576L448 576C455.8 576 463.3 574.6 470.2 572L426.2 528L192 528C183.2 528 176 520.8 176 512zM444.1 224L376 224C362.7 224 352 213.3 352 200L352 131.9L444.1 224z"/></svg>`,
|
||||
'folder': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 160L112 448C112 456.8 119.2 464 128 464L512 464C520.8 464 528 456.8 528 448L528 208C528 199.2 520.8 192 512 192L362.7 192C345.4 192 328.5 186.4 314.7 176L276.3 147.2C273.5 145.1 270.2 144 266.7 144L128 144C119.2 144 112 151.2 112 160z"/><path d="M128 464L512 464C520.8 464 528 456.8 528 448L528 208C528 199.2 520.8 192 512 192L362.7 192C345.4 192 328.5 186.4 314.7 176L276.3 147.2C273.5 145.1 270.2 144 266.7 144L128 144C119.2 144 112 151.2 112 160L112 448C112 456.8 119.2 464 128 464zM512 512L128 512C92.7 512 64 483.3 64 448L64 160C64 124.7 92.7 96 128 96L266.7 96C280.5 96 294 100.5 305.1 108.8L343.5 137.6C349 141.8 355.8 144 362.7 144L512 144C547.3 144 576 172.7 576 208L576 448C576 483.3 547.3 512 512 512z"/></svg>`,
|
||||
'package': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128 240.8L128 410.4C128 424.9 135.9 438.3 148.6 445.4L296 527.3L296 334.2L128 240.9zM146.2 196L320 292.5L367 266.4L194.3 169.3L146.2 196zM274.8 124.6L447.5 221.7L493.8 196L339.4 110.2C327.3 103.5 312.6 103.5 300.5 110.2L274.8 124.6zM344 334.1L344 527.2L491.4 445.3C504.1 438.2 512 424.9 512 410.3L512 240.7L480 258.5L480 352.7C480 364.3 473.8 374.9 463.7 380.6L423.9 403C413.2 409 400.1 401.3 400.1 389.1L400.1 303L344.1 334.1z"/><path d="M296 527.2L148.6 445.3C135.9 438.2 128 424.9 128 410.3L128 240.7L296 334L296 527.1zM367 266.4L320 292.5L146.2 196L194.3 169.3L367 266.4zM274.8 124.6L300.6 110.3C312.7 103.6 327.4 103.6 339.5 110.3L493.9 196.1L447.6 221.8L274.9 124.7zM400 303L400 389.1C400 401.3 413.2 409 423.8 403L463.6 380.6C473.7 374.9 479.9 364.3 479.9 352.7L479.9 258.5L511.9 240.7L511.9 410.3C511.9 424.8 504 438.2 491.3 445.3L344 527.2L344 334.1L400 303zM277.2 571.7C303.8 586.5 336.1 586.5 362.7 571.7L514.7 487.3C542.6 471.8 560 442.3 560 410.4L560 225C560 195.9 544.2 169.2 518.8 155.1L362.7 68.3C336.1 53.5 303.8 53.5 277.2 68.3L121.1 155C95.8 169.1 80 195.9 80 224.9L80 410.3C80 442.3 97.3 471.7 125.3 487.2L277.3 571.6z"/></svg>`,
|
||||
'tag': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128.1 152C128.1 138.7 138.8 128 152.1 128L308.2 128C314.6 128 320.7 130.5 325.2 135L533.2 343C539.1 348.9 541.3 357.1 539.8 364.7C538.3 368.8 535.9 372.7 532.6 376L452.9 457.2L377 533.1C367.6 542.5 352.4 542.5 343.1 533.1L135.1 325.1C130.6 320.6 128.1 314.5 128.1 308.1L128.1 152zM176.1 208C176.1 225.7 190.4 240 208.1 240C225.8 240 240.1 225.7 240.1 208C240.1 190.3 225.8 176 208.1 176C190.4 176 176.1 190.3 176.1 208z"/><path d="M128.1 152C128.1 138.7 138.8 128 152.1 128L308.2 128C314.6 128 320.7 130.5 325.2 135L533.2 343C542.6 352.4 542.6 367.6 533.2 376.9L377.1 533.1C367.7 542.5 352.5 542.5 343.2 533.1L135.2 325.1C130.7 320.6 128.2 314.5 128.2 308.1L128.1 152zM152.1 80C112.3 80 80.1 112.2 80.1 152L80.1 308.1C80.1 327.2 87.7 345.5 101.2 359L309.2 567C337.3 595.1 382.9 595.1 411 567L567.1 410.9C595.2 382.8 595.2 337.2 567.1 309.1L359.1 101.1C345.6 87.6 327.3 80 308.2 80L152.1 80zM208.1 240C225.8 240 240.1 225.7 240.1 208C240.1 190.3 225.8 176 208.1 176C190.4 176 176.1 190.3 176.1 208C176.1 225.7 190.4 240 208.1 240z"/></svg>`,
|
||||
'monitor': `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 160L112 336L528 336L528 160C528 151.2 520.8 144 512 144L128 144C119.2 144 112 151.2 112 160zM284.3 528L355.6 528L347.6 480L292.3 480L284.3 528z"/><path d="M512 144C520.8 144 528 151.2 528 160L528 336L112 336L112 160C112 151.2 119.2 144 128 144L512 144zM528 384L528 416C528 424.8 520.8 432 512 432L128 432C119.2 432 112 424.8 112 416L112 384L528 384zM128 96C92.7 96 64 124.7 64 160L64 416C64 451.3 92.7 480 128 480L243.7 480L235.7 528L184 528C170.7 528 160 538.7 160 552C160 565.3 170.7 576 184 576L456 576C469.3 576 480 565.3 480 552C480 538.7 469.3 528 456 528L404.3 528L396.3 480L512 480C547.3 480 576 451.3 576 416L576 160C576 124.7 547.3 96 512 96L128 96zM284.3 528L292.3 480L347.6 480L355.6 528L284.3 528z"/></svg>`,
|
||||
folder: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 160L112 448C112 456.8 119.2 464 128 464L512 464C520.8 464 528 456.8 528 448L528 208C528 199.2 520.8 192 512 192L362.7 192C345.4 192 328.5 186.4 314.7 176L276.3 147.2C273.5 145.1 270.2 144 266.7 144L128 144C119.2 144 112 151.2 112 160z"/><path d="M128 464L512 464C520.8 464 528 456.8 528 448L528 208C528 199.2 520.8 192 512 192L362.7 192C345.4 192 328.5 186.4 314.7 176L276.3 147.2C273.5 145.1 270.2 144 266.7 144L128 144C119.2 144 112 151.2 112 160L112 448C112 456.8 119.2 464 128 464zM512 512L128 512C92.7 512 64 483.3 64 448L64 160C64 124.7 92.7 96 128 96L266.7 96C280.5 96 294 100.5 305.1 108.8L343.5 137.6C349 141.8 355.8 144 362.7 144L512 144C547.3 144 576 172.7 576 208L576 448C576 483.3 547.3 512 512 512z"/></svg>`,
|
||||
package: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128 240.8L128 410.4C128 424.9 135.9 438.3 148.6 445.4L296 527.3L296 334.2L128 240.9zM146.2 196L320 292.5L367 266.4L194.3 169.3L146.2 196zM274.8 124.6L447.5 221.7L493.8 196L339.4 110.2C327.3 103.5 312.6 103.5 300.5 110.2L274.8 124.6zM344 334.1L344 527.2L491.4 445.3C504.1 438.2 512 424.9 512 410.3L512 240.7L480 258.5L480 352.7C480 364.3 473.8 374.9 463.7 380.6L423.9 403C413.2 409 400.1 401.3 400.1 389.1L400.1 303L344.1 334.1z"/><path d="M296 527.2L148.6 445.3C135.9 438.2 128 424.9 128 410.3L128 240.7L296 334L296 527.1zM367 266.4L320 292.5L146.2 196L194.3 169.3L367 266.4zM274.8 124.6L300.6 110.3C312.7 103.6 327.4 103.6 339.5 110.3L493.9 196.1L447.6 221.8L274.9 124.7zM400 303L400 389.1C400 401.3 413.2 409 423.8 403L463.6 380.6C473.7 374.9 479.9 364.3 479.9 352.7L479.9 258.5L511.9 240.7L511.9 410.3C511.9 424.8 504 438.2 491.3 445.3L344 527.2L344 334.1L400 303zM277.2 571.7C303.8 586.5 336.1 586.5 362.7 571.7L514.7 487.3C542.6 471.8 560 442.3 560 410.4L560 225C560 195.9 544.2 169.2 518.8 155.1L362.7 68.3C336.1 53.5 303.8 53.5 277.2 68.3L121.1 155C95.8 169.1 80 195.9 80 224.9L80 410.3C80 442.3 97.3 471.7 125.3 487.2L277.3 571.6z"/></svg>`,
|
||||
tag: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128.1 152C128.1 138.7 138.8 128 152.1 128L308.2 128C314.6 128 320.7 130.5 325.2 135L533.2 343C539.1 348.9 541.3 357.1 539.8 364.7C538.3 368.8 535.9 372.7 532.6 376L452.9 457.2L377 533.1C367.6 542.5 352.4 542.5 343.1 533.1L135.1 325.1C130.6 320.6 128.1 314.5 128.1 308.1L128.1 152zM176.1 208C176.1 225.7 190.4 240 208.1 240C225.8 240 240.1 225.7 240.1 208C240.1 190.3 225.8 176 208.1 176C190.4 176 176.1 190.3 176.1 208z"/><path d="M128.1 152C128.1 138.7 138.8 128 152.1 128L308.2 128C314.6 128 320.7 130.5 325.2 135L533.2 343C542.6 352.4 542.6 367.6 533.2 376.9L377.1 533.1C367.7 542.5 352.5 542.5 343.2 533.1L135.2 325.1C130.7 320.6 128.2 314.5 128.2 308.1L128.1 152zM152.1 80C112.3 80 80.1 112.2 80.1 152L80.1 308.1C80.1 327.2 87.7 345.5 101.2 359L309.2 567C337.3 595.1 382.9 595.1 411 567L567.1 410.9C595.2 382.8 595.2 337.2 567.1 309.1L359.1 101.1C345.6 87.6 327.3 80 308.2 80L152.1 80zM208.1 240C225.8 240 240.1 225.7 240.1 208C240.1 190.3 225.8 176 208.1 176C190.4 176 176.1 190.3 176.1 208C176.1 225.7 190.4 240 208.1 240z"/></svg>`,
|
||||
monitor: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 160L112 336L528 336L528 160C528 151.2 520.8 144 512 144L128 144C119.2 144 112 151.2 112 160zM284.3 528L355.6 528L347.6 480L292.3 480L284.3 528z"/><path d="M512 144C520.8 144 528 151.2 528 160L528 336L112 336L112 160C112 151.2 119.2 144 128 144L512 144zM528 384L528 416C528 424.8 520.8 432 512 432L128 432C119.2 432 112 424.8 112 416L112 384L528 384zM128 96C92.7 96 64 124.7 64 160L64 416C64 451.3 92.7 480 128 480L243.7 480L235.7 528L184 528C170.7 528 160 538.7 160 552C160 565.3 170.7 576 184 576L456 576C469.3 576 480 565.3 480 552C480 538.7 469.3 528 456 528L404.3 528L396.3 480L512 480C547.3 480 576 451.3 576 416L576 160C576 124.7 547.3 96 512 96L128 96zM284.3 528L292.3 480L347.6 480L355.6 528L284.3 528z"/></svg>`,
|
||||
lost: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M190.8 157C226.3 128.8 271.2 112 320 112C434.9 112 528 205.1 528 320C528 368.8 511.2 413.7 483 449.2L393.4 359.6L444.6 226.4C452.1 207 433 187.9 413.6 195.4L280.4 246.6L190.8 157z"/><path d="M73 39.1C63.6 29.7 48.4 29.7 39.1 39.1C29.8 48.5 29.7 63.7 39 73.1L567 601.1C576.4 610.5 591.6 610.5 600.9 601.1C610.2 591.7 610.3 576.5 600.9 567.2L517.1 483.4C553.9 439 576 382.1 576 320C576 178.6 461.4 64 320 64C257.9 64 201 86.1 156.7 122.8L73 39.1zM190.8 157C226.3 128.8 271.2 112 320 112C434.9 112 528 205.1 528 320C528 368.8 511.2 413.7 483 449.2L393.4 359.6L444.6 226.4C452.1 207 433 187.9 413.6 195.4L280.4 246.6L190.8 157zM407.1 509C380.6 521.2 351.1 528.1 320 528.1C205.1 528.1 112 435 112 320.1C112 289 118.8 259.5 131.1 233L95.3 197.2C75.3 233.7 64 275.5 64 320C64 461.4 178.6 576 320 576C364.5 576 406.4 564.6 442.8 544.7L407.1 509zM195.4 413.6C187.9 433 207 452.1 226.4 444.6L310.5 412.3L227.8 329.6L195.5 413.7z"/></svg>`,
|
||||
// '': ``,
|
||||
};
|
||||
+54
-28
@@ -25,13 +25,13 @@ export const STANDALONE_PAGES: NavItem[] = [
|
||||
{
|
||||
href: makePath('/bookmarks'),
|
||||
label: 'Bookmarks',
|
||||
description: 'Saved network calculations and frequently used tools',
|
||||
description: 'Save and organize network calculations and tool results',
|
||||
keywords: ['bookmarks', 'saved', 'favorites', 'shortcuts', 'calculations'],
|
||||
},
|
||||
{
|
||||
href: makePath('/offline'),
|
||||
label: 'Offline',
|
||||
description: 'Offline mode and cached calculations',
|
||||
description: 'Access cached tools and data offline',
|
||||
keywords: ['offline', 'cache', 'no-internet', 'local'],
|
||||
},
|
||||
];
|
||||
@@ -40,7 +40,7 @@ export const TOP_NAV: NavItem[] = [
|
||||
{
|
||||
href: makePath('/subnetting'),
|
||||
label: 'Subnetting',
|
||||
description: 'Subnet calculators and network planning tools for IPv4, IPv6, VLSM, and supernetting',
|
||||
description: 'Subnet calculators for IPv4, IPv6, VLSM, supernetting',
|
||||
keywords: [
|
||||
'subnet',
|
||||
'calculator',
|
||||
@@ -57,12 +57,14 @@ export const TOP_NAV: NavItem[] = [
|
||||
'hosts',
|
||||
'addressing',
|
||||
'allocation',
|
||||
'ip calculator',
|
||||
'subnet tool',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr'),
|
||||
label: 'CIDR',
|
||||
description: 'CIDR tools and converters for network analysis and optimization',
|
||||
description: 'CIDR notation tools, converters, and calculators',
|
||||
keywords: [
|
||||
'cidr',
|
||||
'subnet',
|
||||
@@ -84,7 +86,7 @@ export const TOP_NAV: NavItem[] = [
|
||||
{
|
||||
href: makePath('/ip-address-convertor'),
|
||||
label: 'IP Tools',
|
||||
description: 'IP address converters, validators, generators, and format transformation tools',
|
||||
description: 'IP address converters, validators, and generators',
|
||||
keywords: [
|
||||
'ip',
|
||||
'address',
|
||||
@@ -103,12 +105,14 @@ export const TOP_NAV: NavItem[] = [
|
||||
'enumerate',
|
||||
'validation',
|
||||
'transformation',
|
||||
'ip format',
|
||||
'address converter',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/dns'),
|
||||
label: 'DNS Tools',
|
||||
description: 'DNS record generators, validators, zone tools, and DNSSEC utilities',
|
||||
description: 'DNS record generators, validators, and DNSSEC tools',
|
||||
keywords: [
|
||||
'dns',
|
||||
'records',
|
||||
@@ -130,12 +134,14 @@ export const TOP_NAV: NavItem[] = [
|
||||
'dkim',
|
||||
'soa',
|
||||
'ns',
|
||||
'nameserver',
|
||||
'domain',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/diagnostics'),
|
||||
label: 'Lookups',
|
||||
description: 'Network diagnostics, DNS lookups, HTTP analysis, TLS testing, and connectivity checks',
|
||||
description: 'Network diagnostics and connectivity testing',
|
||||
keywords: [
|
||||
'diagnostics',
|
||||
'lookup',
|
||||
@@ -154,12 +160,14 @@ export const TOP_NAV: NavItem[] = [
|
||||
'rdap',
|
||||
'whois',
|
||||
'analysis',
|
||||
'dns checker',
|
||||
'ssl test',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/reference'),
|
||||
label: 'Ref',
|
||||
description: 'Networking reference guides, explanations, and quick lookup tables',
|
||||
description: 'Networking reference guides and lookup tables',
|
||||
keywords: [
|
||||
'reference',
|
||||
'guide',
|
||||
@@ -189,38 +197,57 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
{
|
||||
href: makePath('/subnetting/ipv4-subnet-calculator'),
|
||||
label: 'IPv4 Subnet Calculator',
|
||||
description:
|
||||
'Calculate subnet information, network addresses, broadcast addresses, and host ranges with visual network analysis',
|
||||
description: 'Calculate subnet masks, network addresses, broadcast addresses, and host ranges',
|
||||
icon: 'subnet-calculator',
|
||||
keywords: ['subnet', 'calculator', 'ipv4', 'network', 'broadcast', 'hosts', 'cidr', 'netmask'],
|
||||
keywords: [
|
||||
'subnet',
|
||||
'calculator',
|
||||
'ipv4',
|
||||
'network',
|
||||
'broadcast',
|
||||
'hosts',
|
||||
'cidr',
|
||||
'netmask',
|
||||
'wildcard',
|
||||
'gateway',
|
||||
'usable hosts',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/subnetting/ipv6-subnet-calculator'),
|
||||
label: 'IPv6 Subnet Calculator',
|
||||
description: 'Calculate IPv6 subnets with 128-bit addressing and modern network prefix planning',
|
||||
description: 'Calculate IPv6 subnets and network prefixes',
|
||||
icon: 'ipv6-subnet-calculator',
|
||||
keywords: ['subnet', 'calculator', 'ipv6', 'network', 'prefix', '128-bit', 'addressing'],
|
||||
},
|
||||
{
|
||||
href: makePath('/subnetting/vlsm-calculator'),
|
||||
label: 'VLSM Calculator',
|
||||
description:
|
||||
'Variable Length Subnet Mask calculator to break networks into multiple smaller subnets with optimal allocation',
|
||||
description: 'Variable Length Subnet Mask calculator for splitting networks into smaller subnets',
|
||||
icon: 'vlsm-calculator',
|
||||
keywords: ['vlsm', 'variable', 'length', 'subnet', 'mask', 'calculator', 'subnets', 'allocation'],
|
||||
keywords: [
|
||||
'vlsm',
|
||||
'variable',
|
||||
'length',
|
||||
'subnet',
|
||||
'mask',
|
||||
'calculator',
|
||||
'subnets',
|
||||
'allocation',
|
||||
'network design',
|
||||
],
|
||||
},
|
||||
{
|
||||
href: makePath('/subnetting/supernet-calculator'),
|
||||
label: 'Supernet Calculator',
|
||||
description:
|
||||
'Aggregate multiple networks into supernets for route summarization and efficient routing table management',
|
||||
description: 'Aggregate multiple networks into supernets for route summarization',
|
||||
icon: 'supernet-calculator',
|
||||
keywords: ['supernet', 'calculator', 'aggregate', 'route', 'summarization', 'routing', 'table'],
|
||||
},
|
||||
{
|
||||
href: makePath('/subnetting/planner'),
|
||||
label: 'Subnet Planner',
|
||||
description: 'Design VLSM networks with drag-and-drop subnet planning and optimize address allocation strategies',
|
||||
description: 'Design VLSM networks with drag-and-drop planning',
|
||||
icon: 'subnet-planner',
|
||||
keywords: ['subnet', 'planner', 'design', 'vlsm', 'networks', 'planning', 'allocation'],
|
||||
},
|
||||
@@ -264,43 +291,42 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
{
|
||||
href: makePath('/cidr/next-available'),
|
||||
label: 'Next Available Subnet',
|
||||
description: 'Find available subnets from pools minus allocations with first-fit or best-fit policies',
|
||||
description: 'Find available subnets in pools using first-fit or best-fit algorithms',
|
||||
icon: 'next-available-subnet',
|
||||
keywords: ['next', 'available', 'subnet', 'pools', 'allocations', 'first-fit', 'best-fit'],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr/gaps'),
|
||||
label: 'Free Space Finder',
|
||||
description: 'List all free blocks in pool CIDRs minus allocations, filterable by target prefix length',
|
||||
description: 'List unallocated IP blocks in CIDR pools by prefix length',
|
||||
icon: 'cidr-gaps',
|
||||
keywords: ['free', 'space', 'gaps', 'finder', 'blocks', 'pools', 'allocations', 'prefix'],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr/deaggregate'),
|
||||
label: 'CIDR Deaggregate',
|
||||
description: 'Decompose CIDR blocks and ranges into uniform target prefix subnets (e.g., break into /24s)',
|
||||
description: 'Break CIDR blocks into smaller uniform subnets (e.g., split into /24s)',
|
||||
icon: 'cidr-deaggregate',
|
||||
keywords: ['cidr', 'deaggregate', 'decompose', 'break', 'uniform', 'prefix', 'subnets', 'split'],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr/compare'),
|
||||
label: 'CIDR Compare',
|
||||
description:
|
||||
'Compare two lists of CIDR blocks to identify added, removed, and unchanged entries after normalization',
|
||||
description: 'Compare CIDR lists to show added, removed, and unchanged blocks',
|
||||
icon: 'cidr-compare',
|
||||
keywords: ['cidr', 'compare', 'diff', 'audit', 'added', 'removed', 'unchanged', 'normalization'],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr/allocator'),
|
||||
label: 'CIDR Allocator',
|
||||
description: 'Pack requested subnet sizes into network pools using bin-packing algorithms (first-fit, best-fit)',
|
||||
description: 'Allocate subnets into network pools using first-fit or best-fit algorithms',
|
||||
icon: 'cidr-allocator',
|
||||
keywords: ['cidr', 'allocator', 'bin-packing', 'first-fit', 'best-fit', 'subnet', 'allocation', 'packing'],
|
||||
},
|
||||
{
|
||||
href: makePath('/cidr/alignment'),
|
||||
label: 'CIDR Alignment',
|
||||
description: 'Check if IP addresses and ranges align to CIDR prefix boundaries with optimization suggestions',
|
||||
description: 'Check if IP addresses align to CIDR prefix boundaries',
|
||||
icon: 'cidr-alignment',
|
||||
keywords: [
|
||||
'cidr',
|
||||
@@ -347,7 +373,7 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
{
|
||||
href: makePath('/cidr/set-operations/diff'),
|
||||
label: 'Difference (A - B)',
|
||||
description: 'Compute A - B set operations on CIDR blocks, ranges, and IP addresses',
|
||||
description: 'Subtract CIDR blocks, ranges, and IPs from another set',
|
||||
icon: 'diff',
|
||||
keywords: [
|
||||
'set',
|
||||
@@ -369,7 +395,7 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
{
|
||||
href: makePath('/cidr/set-operations/overlap'),
|
||||
label: 'Overlap (A ∩ B)',
|
||||
description: 'Detect intersections between two sets of IP addresses and ranges',
|
||||
description: 'Find overlapping IPs and ranges between two sets',
|
||||
icon: 'intersection',
|
||||
keywords: [
|
||||
'set',
|
||||
@@ -390,7 +416,7 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
{
|
||||
href: makePath('/cidr/set-operations/contains'),
|
||||
label: 'Contains (A ⊆ B)',
|
||||
description: 'Check if one set fully contains another with detailed containment analysis',
|
||||
description: 'Check if one IP set contains another',
|
||||
icon: 'containment',
|
||||
keywords: [
|
||||
'set',
|
||||
|
||||
@@ -10,6 +10,8 @@ export const site = {
|
||||
url: 'https://networking-toolbox.as93.net',
|
||||
image: 'https://networking-toolbox.as93.net/og-image.png',
|
||||
repo: 'https://github.com/lissy93/networking-toolbox',
|
||||
mirror: 'https://codeberg.org/alicia/networking-toolbox',
|
||||
docker: 'https://hub.docker.com/r/lissy93/networking-toolbox',
|
||||
};
|
||||
|
||||
export const about = {
|
||||
|
||||
@@ -47,6 +47,16 @@
|
||||
// Dynamic favicon based on page icon
|
||||
const dynamicFavicon = $derived.by(() => {
|
||||
void faviconTrigger; // Include in order to force updates when theme changes
|
||||
|
||||
// Check if we're on an error page
|
||||
const isErrorPage = $page.status >= 400;
|
||||
if (isErrorPage) {
|
||||
const errorFaviconDataUri = generateFaviconDataUri('lost');
|
||||
if (errorFaviconDataUri) {
|
||||
return errorFaviconDataUri;
|
||||
}
|
||||
}
|
||||
|
||||
const currentPath = $page.url.pathname;
|
||||
const pageDetailsWithIcon = getPageDetailsWithIcon(currentPath);
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<script lang="ts">
|
||||
import DeployingSection from '$lib/components/page-specific/about/DeployingSection.svelte';
|
||||
</script>
|
||||
|
||||
<DeployingSection />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import '../../styles/pages.scss';
|
||||
import { site } from '$lib/constants/site';
|
||||
import { author, site } from '$lib/constants/site';
|
||||
import ToolsCarousel from '$lib/components/global/ToolsCarousel.svelte';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
|
||||
@@ -51,9 +51,9 @@
|
||||
<h3>External links</h3>
|
||||
<ul>
|
||||
<li><a href={site.repo}>Source on GitHub</a></li>
|
||||
<li><a href={site.repo}>CodeBerg mirror</a></li>
|
||||
<li><a href={site.repo}>DockerHub</a></li>
|
||||
<li><a href={site.repo}>More apps...</a></li>
|
||||
<li><a href={site.mirror}>CodeBerg mirror</a></li>
|
||||
<li><a href={site.docker}>DockerHub</a></li>
|
||||
<li><a href={author.portfolio}>More apps...</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -57,7 +57,8 @@
|
||||
if (!trimmedHost) return false;
|
||||
if (port === null || port < 1 || port > 65535) return false;
|
||||
// Basic hostname/IP validation
|
||||
const hostPattern = /^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$|^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$|^\[?[a-fA-F0-9:]+\]?$/;
|
||||
const hostPattern =
|
||||
/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?$|^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$|^\[?[a-fA-F0-9:]+\]?$/;
|
||||
return hostPattern.test(trimmedHost);
|
||||
});
|
||||
|
||||
@@ -104,7 +105,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
function loadExample(example: typeof examples[0], index: number) {
|
||||
function loadExample(example: (typeof examples)[0], index: number) {
|
||||
host = example.host;
|
||||
port = example.port;
|
||||
service = example.service;
|
||||
@@ -118,16 +119,22 @@
|
||||
|
||||
function getProtocolIcon(protocol: string): string {
|
||||
switch (protocol?.toLowerCase()) {
|
||||
case 'ssh': return 'terminal';
|
||||
case 'ssh':
|
||||
return 'terminal';
|
||||
case 'http':
|
||||
case 'https': return 'globe';
|
||||
case 'https':
|
||||
return 'globe';
|
||||
case 'smtp':
|
||||
case 'smtps':
|
||||
case 'submission': return 'mail';
|
||||
case 'ftp': return 'folder';
|
||||
case 'submission':
|
||||
return 'mail';
|
||||
case 'ftp':
|
||||
return 'folder';
|
||||
case 'tls':
|
||||
case 'ssl': return 'lock';
|
||||
default: return 'server';
|
||||
case 'ssl':
|
||||
return 'lock';
|
||||
default:
|
||||
return 'server';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -179,12 +186,7 @@
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label for="service">Service Type</label>
|
||||
<select
|
||||
id="service"
|
||||
bind:value={service}
|
||||
disabled={loading}
|
||||
onchange={() => clearExampleSelection()}
|
||||
>
|
||||
<select id="service" bind:value={service} disabled={loading} onchange={() => clearExampleSelection()}>
|
||||
{#each Object.entries(services) as [key, svc] (key)}
|
||||
<option value={key}>{svc.description} {svc.port ? `(${svc.port})` : ''}</option>
|
||||
{/each}
|
||||
|
||||
@@ -67,7 +67,9 @@
|
||||
{@const title = node.description || node.label}
|
||||
{@const ariaLabel = node.description ? `${node.label}: ${node.description}` : node.label}
|
||||
{#if node.href}
|
||||
{#if node.icon} <Icon name={node.icon} size="xs" /> {/if}
|
||||
{#if node.icon}
|
||||
<Icon name={node.icon} size="xs" />
|
||||
{/if}
|
||||
<a href={node.href} {title} aria-label={ariaLabel}>{node.label}</a>
|
||||
{:else}
|
||||
<span class={node.children.length ? 'section-title' : 'group-title'} {title} aria-label={ariaLabel}>
|
||||
|
||||
@@ -18,9 +18,9 @@ section:not(.row) {
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: var(--spacing-sm);
|
||||
opacity: 0.8;
|
||||
font-size: var(--font-size-md);
|
||||
margin: var(--spacing-md) 0 var(--spacing-sm) 0;
|
||||
}
|
||||
|
||||
a {
|
||||
|
||||
@@ -250,7 +250,7 @@
|
||||
<script src="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js"></script>
|
||||
<script>
|
||||
SwaggerUIBundle({
|
||||
url: "https://raw.githubusercontent.com/Lissy93/networking-toolbox/refs/heads/main/swagger.yaml?token=GHSAT0AAAAAAC4DRTQMEKVRUYJKMDSKHFHE2GXWK6Q",
|
||||
url: "https://raw.githubusercontent.com/Lissy93/networking-toolbox/refs/heads/main/swagger.yaml",
|
||||
dom_id: "#swagger",
|
||||
deepLinking: true,
|
||||
presets: [SwaggerUIBundle.presets.apis],
|
||||
|
||||
Reference in new issue
Block a user