Burger menu, sub-page navigation

This commit is contained in:
Alicia Sykes committed 2025-09-02 05:12:08 +01:00
1 parent 2be10a048d
commit 6d779f5e2f
17 files changed
+1107 -396

No files matched your search

+510
View File
@@ -0,0 +1,510 @@
<script lang="ts">
import { onMount } from 'svelte';
import { SUB_NAV } from '$lib/constants/nav';
import Icon from './Icon.svelte';
import { type NavItem, type NavGroup, footerLinks } from '$lib/constants/nav';
import { site, author, license } from '$lib/constants/site';
export let isOpen = false;
let menuElement: HTMLElement;
// Close menu when clicking outside
function handleClickOutside(event: MouseEvent) {
if (isOpen && menuElement && !menuElement.contains(event.target as Node)) {
isOpen = false;
}
}
// Close menu on escape key
function handleKeydown(event: KeyboardEvent) {
if (event.key === 'Escape' && isOpen) {
isOpen = false;
}
}
// Toggle menu
function toggleMenu() {
isOpen = !isOpen;
}
// Close menu when clicking a link
function handleLinkClick() {
isOpen = false;
}
// Get nav groups for organized display
function getNavGroups(items: (NavItem | NavGroup)[]): { title: string; items: NavItem[] }[] {
const groups: { title: string; items: NavItem[] }[] = [];
let standaloneItems: NavItem[] = [];
for (const item of items) {
if ('href' in item) {
standaloneItems.push(item);
} else if ('title' in item && 'items' in item) {
groups.push({ title: item.title, items: item.items });
}
}
if (standaloneItems.length > 0) {
groups.push({ title: 'More', items: standaloneItems });
}
return groups;
}
onMount(() => {
document.addEventListener('click', handleClickOutside);
document.addEventListener('keydown', handleKeydown);
return () => {
document.removeEventListener('click', handleClickOutside);
document.removeEventListener('keydown', handleKeydown);
};
});
// Prevent body scroll when menu is open
$: if (typeof document !== 'undefined') {
if (isOpen) {
document.body.style.overflow = 'hidden';
} else {
document.body.style.overflow = '';
}
}
</script>
<div class="burger-menu" bind:this={menuElement}>
<!-- Burger Button -->
<button
class="burger-button"
class:active={isOpen}
on:click={toggleMenu}
aria-label={isOpen ? 'Close menu' : 'Open menu'}
aria-expanded={isOpen}
aria-controls="mobile-menu"
>
<span class="burger-line"></span>
<span class="burger-line"></span>
<span class="burger-line"></span>
</button>
<!-- Menu Overlay -->
{#if isOpen}
<div class="menu-overlay" aria-hidden="true"></div>
{/if}
<!-- Menu Content -->
<nav
class="menu-content"
class:open={isOpen}
id="mobile-menu"
aria-label="Mobile navigation"
>
<div class="menu-header">
<a href="/" class="home-link" on:click={handleLinkClick} aria-label="Home">
<Icon name="networking" size="lg" />
<h2>{site.title}</h2>
</a>
<button
class="close-button"
on:click={() => isOpen = false}
aria-label="Close menu"
>
<Icon name="x" size="md" />
</button>
</div>
<div class="menu-sections">
{#each Object.entries(SUB_NAV) as [sectionKey, sectionItems]}
{@const groups = getNavGroups(sectionItems)}
<div class="menu-section">
<a href={sectionKey} class="section-title" on:click={handleLinkClick}>
<h3>
<!-- <Icon name={getSectionIcon(sectionKey)} size="sm" /> -->
{getSectionTitle(sectionKey)}
</h3>
</a>
{#each groups as group}
{#if groups.length > 1}
<div class="menu-group">
<h4 class="group-title">{group.title}</h4>
<ul class="group-items">
{#each group.items as item}
<li>
<a
href={item.href}
class="menu-item"
on:click={handleLinkClick}
title={item.description}
aria-label={`${item.label}: ${item.description}`}
>
<Icon name={item.icon || 'default'} size="sm" />
<span class="item-label">{item.label}</span>
</a>
</li>
{/each}
</ul>
</div>
{:else}
<ul class="section-items">
{#each group.items as item}
<li>
<a
href={item.href}
class="menu-item"
on:click={handleLinkClick}
title={item.description}
aria-label={`${item.label}: ${item.description}`}
>
<Icon name={item.icon || 'default'} size="sm" />
<span class="item-label">{item.label}</span>
</a>
</li>
{/each}
</ul>
{/if}
{/each}
</div>
{/each}
</div>
<div class="external-links">
<div class="about-links">
{#each footerLinks as link, index}
<a
href={link.href}
target="_blank"
rel="noopener noreferrer"
on:click={handleLinkClick}
>
{link.label}
</a>{index < footerLinks.length - 1 ? ' • ' : ''}
{/each}
</div>
<p class="license">
<a href="{site.url}" target="_blank" rel="noopener noreferrer">{site.title}</a>
is licensed under
<a href="{license.url}" target="_blank" rel="noopener noreferrer">{license.name}</a>
©
<a href="{author.githubUrl}" target="_blank" rel="noopener noreferrer">{author.name}</a> {license.date}
</p>
</div>
</nav>
</div>
<style lang="scss">
.burger-menu {
position: relative;
display: block;
// @media (min-width: 768px) {
// display: none;
// }
}
.burger-button {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 2.5rem;
height: 2.5rem;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
border-radius: var(--radius-md);
transition: background-color var(--transition-fast);
&:hover {
background-color: var(--surface-hover);
}
&:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
}
.burger-line {
width: 1.5rem;
height: 2px;
background-color: var(--text-primary);
border-radius: 1px;
transition: all var(--transition-fast);
transform-origin: center;
&:nth-child(1) {
margin-bottom: 4px;
}
&:nth-child(2) {
margin-bottom: 4px;
}
}
.burger-button.active {
.burger-line:nth-child(1) {
transform: translateY(6px) rotate(45deg);
}
.burger-line:nth-child(2) {
opacity: 0;
}
.burger-line:nth-child(3) {
transform: translateY(-6px) rotate(-45deg);
}
}
.menu-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
z-index: 998;
animation: fadeIn var(--transition-fast) ease-out;
}
.menu-content {
position: fixed;
top: 0;
right: -100%;
width: min(90vw, 400px);
height: 100vh;
background-color: var(--bg-primary);
border-left: 1px solid var(--border-primary);
box-shadow: var(--shadow-xl);
z-index: 999;
overflow-y: auto;
transition: right var(--transition-medium) ease-out;
&.open {
right: 0;
}
}
.menu-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--spacing-lg);
border-bottom: 1px solid var(--border-primary);
.home-link {
display: flex;
align-items: center;
gap: var(--spacing-sm);
text-decoration: none;
:global(.icon) {
color: var(--text-primary);
}
h2 {
font-size: var(--font-size-lg);
font-weight: 600;
color: var(--text-primary);
margin: 0;
}
}
}
.close-button {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
background: none;
border: none;
cursor: pointer;
border-radius: var(--radius-md);
color: var(--text-secondary);
transition: all var(--transition-fast);
padding: 0;
&:hover {
background-color: var(--surface-hover);
color: var(--text-primary);
}
&:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
}
.menu-sections {
padding: var(--spacing-md);
}
.menu-section {
margin-bottom: var(--spacing-xl);
&:last-child {
margin-bottom: var(--spacing-lg);
}
}
.section-title {
text-decoration: none;
h3 {
display: flex;
align-items: center;
gap: var(--spacing-xs);
font-size: var(--font-size-md);
font-weight: 600;
color: var(--color-primary);
margin: 0 0 var(--spacing-md) 0;
padding-bottom: var(--spacing-xs);
border-bottom: 1px solid var(--border-secondary);
}
}
.menu-group {
margin-bottom: var(--spacing-lg);
&:last-child {
margin-bottom: 0;
}
}
.group-title {
font-size: var(--font-size-sm);
font-weight: 500;
color: var(--text-secondary);
margin: 0 0 var(--spacing-sm) 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.group-items,
.section-items {
list-style: none;
padding: 0;
margin: 0;
}
.menu-item {
display: flex;
align-items: center;
gap: var(--spacing-sm);
padding: var(--spacing-sm) var(--spacing-md);
text-decoration: none;
color: var(--text-primary);
border-radius: var(--radius-md);
transition: all var(--transition-fast);
margin-bottom: var(--spacing-xs);
&:hover {
background-color: var(--surface-hover);
color: var(--color-primary);
transform: translateX(4px);
}
&:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
}
.item-label {
font-size: var(--font-size-sm);
font-weight: 500;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Smooth scroll behavior for menu */
.menu-content {
scroll-behavior: smooth;
}
/* Hide scrollbar but keep functionality */
.menu-content {
scrollbar-width: thin;
scrollbar-color: var(--border-secondary) transparent;
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-track {
background: transparent;
}
&::-webkit-scrollbar-thumb {
background-color: var(--border-secondary);
border-radius: 3px;
}
&::-webkit-scrollbar-thumb:hover {
background-color: var(--border-primary);
}
}
.external-links {
padding: var(--spacing-md);
border-top: 1px solid var(--border-primary);
font-size: var(--font-size-xs);
color: var(--text-secondary);
text-align: center;
background: var(--bg-secondary);
.license {
font-size: 0.6rem;
opacity: 0.5;
margin-top: 0.5rem;
a {
color: var(--color-primary);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
.about-links {
font-size: var(--font-size-sm);
a {
color: var(--color-primary);
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}
}
</style>
<script lang="ts" context="module">
// Helper functions for section titles and icons
function getSectionTitle(sectionKey: string): string {
const titleMap: Record<string, string> = {
'/subnetting': 'Subnetting',
'/cidr': 'CIDR Tools',
'/ip-address-convertor': 'IP Tools',
'/reference': 'Reference'
};
return titleMap[sectionKey] || sectionKey.replace('/', '').replace('-', ' ');
}
function getSectionIcon(sectionKey: string): string {
const iconMap: Record<string, string> = {
'/subnetting': 'network',
'/cidr': 'hash',
'/ip-address-convertor': 'tool',
'/reference': 'book-open'
};
return iconMap[sectionKey] || 'folder';
}
</script>
+3 -4
View File
@@ -1,5 +1,5 @@
<script>
import { TOP_NAV } from '$lib/constants/nav';
import { TOP_NAV, footerLinks } from '$lib/constants/nav';
import { site, author, license } from '$lib/constants/site';
</script>
@@ -17,10 +17,9 @@
<a href="{author.githubUrl}" target="_blank" rel="noopener noreferrer">{author.name}</a> {license.date}
</p>
<p class="footer-sub">
{#each TOP_NAV as item, i}
<a href="{item.href}">{item.label}</a>{i < TOP_NAV.length - 1 ? ' • ' : ''}
{#each footerLinks as item, i}
<a href="{item.href}">{item.label}</a>{i < footerLinks.length - 1 ? ' • ' : ''}
{/each}
• <a href="/about">About</a>
</p>
</footer>
+25 -20
View File
@@ -3,7 +3,8 @@
import { TOP_NAV, isActive } from '$lib/constants/nav';
import { site } from '$lib/constants/site';
import favicon from '$lib/assets/favicon.svg';
import Icon from '$lib/components/Icon.svelte';
import Icon from '$lib/components/Icon.svelte';
import BurgerMenu from '$lib/components/BurgerMenu.svelte';
// Props from +layout for theme state & toggler
export let darkMode: boolean;
@@ -43,25 +44,29 @@
{/each}
</nav>
<button
class="theme-toggle"
class:dark={darkMode}
onclick={toggleTheme}
aria-label={darkMode ? 'Switch to light mode' : 'Switch to dark mode'}
title={darkMode ? 'Switch to light mode' : 'Switch to dark mode'}
>
<div class="toggle-slider">
{#if darkMode}
<svg fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"/>
</svg>
{:else}
<svg fill="currentColor" viewBox="0 0 20 20">
<path d="M17.293 13.293A8 8 0 716.707 2.707a8.001 8.001 0 1010.586 10.586z"/>
</svg>
{/if}
</div>
</button>
<div class="header-buttons">
<button
class="theme-toggle"
class:dark={darkMode}
onclick={toggleTheme}
aria-label={darkMode ? 'Switch to light mode' : 'Switch to dark mode'}
title={darkMode ? 'Switch to light mode' : 'Switch to dark mode'}
>
<div class="toggle-slider">
{#if darkMode}
<svg fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z" clip-rule="evenodd"/>
</svg>
{:else}
<svg fill="currentColor" viewBox="0 0 20 20">
<path d="M17.293 13.293A8 8 0 716.707 2.707a8.001 8.001 0 1010.586 10.586z"/>
</svg>
{/if}
</div>
</button>
<BurgerMenu />
</div>
</div>
</div>
</div>
+86 -32
View File
@@ -56,28 +56,28 @@
{:else if name === 'networking'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 304L112 464L152 464L152 408C152 394.7 162.7 384 176 384C189.3 384 200 394.7 200 408L200 464L248 464L248 408C248 394.7 258.7 384 272 384C285.3 384 296 394.7 296 408L296 464L344 464L344 408C344 394.7 354.7 384 368 384C381.3 384 392 394.7 392 408L392 464L440 464L440 408C440 394.7 450.7 384 464 384C477.3 384 488 394.7 488 408L488 464L528 464L528 304L488 304C474.7 304 464 293.3 464 280L464 240L424 240C410.7 240 400 229.3 400 216L400 176L240 176L240 216C240 229.3 229.3 240 216 240L176 240L176 280C176 293.3 165.3 304 152 304L112 304z"/><path d="M192 160C192 142.3 206.3 128 224 128L416 128C433.7 128 448 142.3 448 160L448 192L480 192C497.7 192 512 206.3 512 224L512 256L544 256C561.7 256 576 270.3 576 288L576 480C576 497.7 561.7 512 544 512L96 512C78.3 512 64 497.7 64 480L64 288C64 270.3 78.3 256 96 256L128 256L128 224C128 206.3 142.3 192 160 192L192 192L192 160zM240 176L240 216C240 229.3 229.3 240 216 240L176 240L176 280C176 293.3 165.3 304 152 304L112 304L112 464L152 464L152 408C152 394.7 162.7 384 176 384C189.3 384 200 394.7 200 408L200 464L248 464L248 408C248 394.7 258.7 384 272 384C285.3 384 296 394.7 296 408L296 464L344 464L344 408C344 394.7 354.7 384 368 384C381.3 384 392 394.7 392 408L392 464L440 464L440 408C440 394.7 450.7 384 464 384C477.3 384 488 394.7 488 408L488 464L528 464L528 304L488 304C474.7 304 464 293.3 464 280L464 240L424 240C410.7 240 400 229.3 400 216L400 176L240 176z"/></svg>
{:else if name === 'ip-convertor'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M80 400C80 453 123 496 176 496L480 496C524.2 496 560 460.2 560 416C560 378.6 534.3 347.1 499.5 338.4C492 336.5 485.9 331.2 483 324.1C480.1 317 480.9 308.9 485 302.4C492 291.3 496 278.2 496 264.1C496 224.3 463.8 192.1 424 192.1C412.9 192.1 402.5 194.6 393.2 199C382.7 204 370.1 200.7 363.4 191.2C343.1 162.6 309.7 144.1 272.1 144.1C210.2 144.1 160.1 194.2 160.1 256.1C160.1 264.5 161 272.7 162.8 280.6C165.5 292.7 158.5 304.9 146.7 308.7C108 321.1 80.1 357.4 80.1 400.1zM224 280C224 257.9 241.9 240 264 240L280 240C302.1 240 320 257.9 320 280L320 296C320 318.1 302.1 336 280 336L264 336C241.9 336 224 318.1 224 296L224 280zM240 384C240 375.2 247.2 368 256 368L272 368C280.8 368 288 375.2 288 384L288 448C288 456.8 280.8 464 272 464C263.2 464 256 456.8 256 448L256 400C247.2 400 240 392.8 240 384zM256 280L256 296C256 300.4 259.6 304 264 304L280 304C284.4 304 288 300.4 288 296L288 280C288 275.6 284.4 272 280 272L264 272C259.6 272 256 275.6 256 280zM320 408C320 385.9 337.9 368 360 368L376 368C398.1 368 416 385.9 416 408L416 424C416 446.1 398.1 464 376 464L360 464C337.9 464 320 446.1 320 424L320 408zM336 256C336 247.2 343.2 240 352 240L368 240C376.8 240 384 247.2 384 256L384 320C384 328.8 376.8 336 368 336C359.2 336 352 328.8 352 320L352 272C343.2 272 336 264.8 336 256zM352 408L352 424C352 428.4 355.6 432 360 432L376 432C380.4 432 384 428.4 384 424L384 408C384 403.6 380.4 400 376 400L360 400C355.6 400 352 403.6 352 408z"/><path d="M272 96C183.6 96 112 167.6 112 256C112 260.9 112.2 265.8 112.7 270.6C64.9 294 32 343.1 32 400C32 479.5 96.5 544 176 544L480 544C550.7 544 608 486.7 608 416C608 366.1 579.5 323 537.9 301.8C541.9 289.9 544 277.2 544 264C544 197.7 490.3 144 424 144C412.5 144 401.3 145.6 390.7 148.7C361.4 116.4 319.1 96 272 96zM160 256C160 194.1 210.1 144 272 144C309.7 144 343 162.6 363.3 191.1C370 200.6 382.6 203.9 393.1 198.9C402.4 194.5 412.8 192 423.9 192C463.7 192 495.9 224.2 495.9 264C495.9 278.1 491.9 291.2 484.9 302.3C480.8 308.8 480.1 316.9 482.9 324C485.7 331.1 491.9 336.5 499.4 338.3C534.2 347 559.9 378.5 559.9 415.9C559.9 460.1 524.1 495.9 479.9 495.9L175.9 495.9C122.9 495.9 79.9 452.9 79.9 399.9C79.9 357.2 107.8 320.9 146.5 308.5C158.3 304.7 165.3 292.5 162.6 280.4C160.8 272.5 159.9 264.3 159.9 255.9zM224 280L224 296C224 318.1 241.9 336 264 336L280 336C302.1 336 320 318.1 320 296L320 280C320 257.9 302.1 240 280 240L264 240C241.9 240 224 257.9 224 280zM264 272L280 272C284.4 272 288 275.6 288 280L288 296C288 300.4 284.4 304 280 304L264 304C259.6 304 256 300.4 256 296L256 280C256 275.6 259.6 272 264 272zM336 256C336 264.8 343.2 272 352 272L352 320C352 328.8 359.2 336 368 336C376.8 336 384 328.8 384 320L384 256C384 247.2 376.8 240 368 240L352 240C343.2 240 336 247.2 336 256zM256 368C247.2 368 240 375.2 240 384C240 392.8 247.2 400 256 400L256 448C256 456.8 263.2 464 272 464C280.8 464 288 456.8 288 448L288 384C288 375.2 280.8 368 272 368L256 368zM320 408L320 424C320 446.1 337.9 464 360 464L376 464C398.1 464 416 446.1 416 424L416 408C416 385.9 398.1 368 376 368L360 368C337.9 368 320 385.9 320 408zM360 400L376 400C380.4 400 384 403.6 384 408L384 424C384 428.4 380.4 432 376 432L360 432C355.6 432 352 428.4 352 424L352 408C352 403.6 355.6 400 360 400z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M80 400C80 453 123 496 176 496L480 496C524.2 496 560 460.2 560 416C560 378.6 534.3 347.1 499.5 338.4C492 336.5 485.9 331.2 483 324.1C480.1 317 480.9 308.9 485 302.4C492 291.3 496 278.2 496 264.1C496 224.3 463.8 192.1 424 192.1C412.9 192.1 402.5 194.6 393.2 199C382.7 204 370.1 200.7 363.4 191.2C343.1 162.6 309.7 144.1 272.1 144.1C210.2 144.1 160.1 194.2 160.1 256.1C160.1 264.5 161 272.7 162.8 280.6C165.5 292.7 158.5 304.9 146.7 308.7C108 321.1 80.1 357.4 80.1 400.1zM224 280C224 257.9 241.9 240 264 240L280 240C302.1 240 320 257.9 320 280L320 296C320 318.1 302.1 336 280 336L264 336C241.9 336 224 318.1 224 296L224 280zM240 384C240 375.2 247.2 368 256 368L272 368C280.8 368 288 375.2 288 384L288 448C288 456.8 280.8 464 272 464C263.2 464 256 456.8 256 448L256 400C247.2 400 240 392.8 240 384zM256 280L256 296C256 300.4 259.6 304 264 304L280 304C284.4 304 288 300.4 288 296L288 280C288 275.6 284.4 272 280 272L264 272C259.6 272 256 275.6 256 280zM320 408C320 385.9 337.9 368 360 368L376 368C398.1 368 416 385.9 416 408L416 424C416 446.1 398.1 464 376 464L360 464C337.9 464 320 446.1 320 424L320 408zM336 256C336 247.2 343.2 240 352 240L368 240C376.8 240 384 247.2 384 256L384 320C384 328.8 376.8 336 368 336C359.2 336 352 328.8 352 320L352 272C343.2 272 336 264.8 336 256zM352 408L352 424C352 428.4 355.6 432 360 432L376 432C380.4 432 384 428.4 384 424L384 408C384 403.6 380.4 400 376 400L360 400C355.6 400 352 403.6 352 408z"/><path d="M272 96C183.6 96 112 167.6 112 256C112 260.9 112.2 265.8 112.7 270.6C64.9 294 32 343.1 32 400C32 479.5 96.5 544 176 544L480 544C550.7 544 608 486.7 608 416C608 366.1 579.5 323 537.9 301.8C541.9 289.9 544 277.2 544 264C544 197.7 490.3 144 424 144C412.5 144 401.3 145.6 390.7 148.7C361.4 116.4 319.1 96 272 96zM160 256C160 194.1 210.1 144 272 144C309.7 144 343 162.6 363.3 191.1C370 200.6 382.6 203.9 393.1 198.9C402.4 194.5 412.8 192 423.9 192C463.7 192 495.9 224.2 495.9 264C495.9 278.1 491.9 291.2 484.9 302.3C480.8 308.8 480.1 316.9 482.9 324C485.7 331.1 491.9 336.5 499.4 338.3C534.2 347 559.9 378.5 559.9 415.9C559.9 460.1 524.1 495.9 479.9 495.9L175.9 495.9C122.9 495.9 79.9 452.9 79.9 399.9C79.9 357.2 107.8 320.9 146.5 308.5C158.3 304.7 165.3 292.5 162.6 280.4C160.8 272.5 159.9 264.3 159.9 255.9zM224 280L224 296C224 318.1 241.9 336 264 336L280 336C302.1 336 320 318.1 320 296L320 280C320 257.9 302.1 240 280 240L264 240C241.9 240 224 257.9 224 280zM264 272L280 272C284.4 272 288 275.6 288 280L288 296C288 300.4 284.4 304 280 304L264 304C259.6 304 256 300.4 256 296L256 280C256 275.6 259.6 272 264 272zM336 256C336 264.8 343.2 272 352 272L352 320C352 328.8 359.2 336 368 336C376.8 336 384 328.8 384 320L384 256C384 247.2 376.8 240 368 240L352 240C343.2 240 336 247.2 336 256zM256 368C247.2 368 240 375.2 240 384C240 392.8 247.2 400 256 400L256 448C256 456.8 263.2 464 272 464C280.8 464 288 456.8 288 448L288 384C288 375.2 280.8 368 272 368L256 368zM320 408L320 424C320 446.1 337.9 464 360 464L376 464C398.1 464 416 446.1 416 424L416 408C416 385.9 398.1 368 376 368L360 368C337.9 368 320 385.9 320 408zM360 400L376 400C380.4 400 384 403.6 384 408L384 424C384 428.4 380.4 432 376 432L360 432C355.6 432 352 428.4 352 424L352 408C352 403.6 355.6 400 360 400z"/></svg>
<!-- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 272C112 289.7 126.3 304 144 304C161.7 304 176 289.7 176 272C176 254.3 161.7 240 144 240C126.3 240 112 254.3 112 272zM368 496C368 513.7 382.3 528 400 528C417.7 528 432 513.7 432 496C432 478.3 417.7 464 400 464C382.3 464 368 478.3 368 496zM432 144C432 161.7 446.3 176 464 176C481.7 176 496 161.7 496 144C496 126.3 481.7 112 464 112C446.3 112 432 126.3 432 144z"/><path d="M432 144C432 126.3 446.3 112 464 112C481.7 112 496 126.3 496 144C496 161.7 481.7 176 464 176C446.3 176 432 161.7 432 144zM402.1 194.6C408.9 202.9 417.3 209.8 426.8 214.8L390 416.6C378.5 418 367.8 421.9 358.3 427.7L217.3 304.2C221.6 294.3 224 283.5 224 272C224 270 223.9 267.9 223.8 265.9L402.1 194.6zM474 223.4C513.5 218.5 544 184.8 544 144C544 99.8 508.2 64 464 64C419.8 64 384 99.8 384 144C384 146 384.1 148.1 384.2 150.1L205.9 221.4C191.3 203.4 169 192 144 192C99.8 192 64 227.8 64 272C64 316.2 99.8 352 144 352C159.3 352 173.5 347.7 185.6 340.3L326.7 463.8C322.4 473.7 320 484.5 320 496C320 540.2 355.8 576 400 576C444.2 576 480 540.2 480 496C480 465.3 462.7 438.6 437.3 425.2L474 223.4zM368 496C368 478.3 382.3 464 400 464C417.7 464 432 478.3 432 496C432 513.7 417.7 528 400 528C382.3 528 368 513.7 368 496zM144 240C161.7 240 176 254.3 176 272C176 289.7 161.7 304 144 304C126.3 304 112 289.7 112 272C112 254.3 126.3 240 144 240z"/></svg> -->
{:else if name === 'cidr-summarize'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M112 112C85.5 112 64 133.5 64 160C64 177.8 73.7 193.3 88 201.6L88 448C88 478.9 113.1 504 144 504L198.4 504C206.7 518.3 222.2 528 240 528C266.5 528 288 506.5 288 480C288 453.5 266.5 432 240 432C222.2 432 206.7 441.7 198.4 456L144 456C139.6 456 136 452.4 136 448L136 344L198.4 344C206.7 358.3 222.2 368 240 368C266.5 368 288 346.5 288 320C288 293.5 266.5 272 240 272C222.2 272 206.7 281.7 198.4 296L136 296L136 201.6C150.3 193.3 160 177.8 160 160C160 133.5 138.5 112 112 112zM224 160C224 173.3 234.7 184 248 184L552 184C565.3 184 576 173.3 576 160C576 146.7 565.3 136 552 136L248 136C234.7 136 224 146.7 224 160zM352 320C352 333.3 362.7 344 376 344L552 344C565.3 344 576 333.3 576 320C576 306.7 565.3 296 552 296L376 296C362.7 296 352 306.7 352 320zM352 480C352 493.3 362.7 504 376 504L552 504C565.3 504 576 493.3 576 480C576 466.7 565.3 456 552 456L376 456C362.7 456 352 466.7 352 480z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M112 112C85.5 112 64 133.5 64 160C64 177.8 73.7 193.3 88 201.6L88 448C88 478.9 113.1 504 144 504L198.4 504C206.7 518.3 222.2 528 240 528C266.5 528 288 506.5 288 480C288 453.5 266.5 432 240 432C222.2 432 206.7 441.7 198.4 456L144 456C139.6 456 136 452.4 136 448L136 344L198.4 344C206.7 358.3 222.2 368 240 368C266.5 368 288 346.5 288 320C288 293.5 266.5 272 240 272C222.2 272 206.7 281.7 198.4 296L136 296L136 201.6C150.3 193.3 160 177.8 160 160C160 133.5 138.5 112 112 112zM224 160C224 173.3 234.7 184 248 184L552 184C565.3 184 576 173.3 576 160C576 146.7 565.3 136 552 136L248 136C234.7 136 224 146.7 224 160zM352 320C352 333.3 362.7 344 376 344L552 344C565.3 344 576 333.3 576 320C576 306.7 565.3 296 552 296L376 296C362.7 296 352 306.7 352 320zM352 480C352 493.3 362.7 504 376 504L552 504C565.3 504 576 493.3 576 480C576 466.7 565.3 456 552 456L376 456C362.7 456 352 466.7 352 480z"/></svg>
{:else if name === 'subnet-calculator'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 464L112 496L144 496L144 464L112 464zM144 160C144 168.8 151.2 176 160 176L480 176C488.8 176 496 168.8 496 160C496 151.2 488.8 144 480 144L160 144C151.2 144 144 151.2 144 160zM291.9 312L320 340.1L348.1 312L320 283.9L291.9 312zM304 464L304 496L336 496L336 464L304 464zM496 464L496 496L528 496L528 464L496 464z"/><path d="M480 144C488.8 144 496 151.2 496 160C496 168.8 488.8 176 480 176L160 176C151.2 176 144 168.8 144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160C96 195.3 124.7 224 160 224L296 224L296 240C292.4 243.6 279.7 256.3 257.9 278.1L248 288L192 288C143.4 288 104 327.4 104 376L104 416L96 416C78.3 416 64 430.3 64 448L64 512C64 529.7 78.3 544 96 544L160 544C177.7 544 192 529.7 192 512L192 448C192 430.3 177.7 416 160 416L152 416L152 376C152 353.9 169.9 336 192 336L248 336C251.6 339.6 264.3 352.3 286.1 374.1L296 384L296 416L288 416C270.3 416 256 430.3 256 448L256 512C256 529.7 270.3 544 288 544L352 544C369.7 544 384 529.7 384 512L384 448C384 430.3 369.7 416 352 416L344 416L344 384L392 336L448 336C470.1 336 488 353.9 488 376L488 416L480 416C462.3 416 448 430.3 448 448L448 512C448 529.7 462.3 544 480 544L544 544C561.7 544 576 529.7 576 512L576 448C576 430.3 561.7 416 544 416L536 416L536 376C536 327.4 496.6 288 448 288L392 288C388.4 284.4 375.7 271.7 353.9 249.9L344 240L344 224L480 224C515.3 224 544 195.3 544 160C544 124.7 515.3 96 480 96L160 96zM112 496L112 464L144 464L144 496L112 496zM304 496L304 464L336 464L336 496L304 496zM496 496L496 464L528 464L528 496L496 496zM291.9 312L320 283.9L348.1 312L320 340.1L291.9 312z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 464L112 496L144 496L144 464L112 464zM144 160C144 168.8 151.2 176 160 176L480 176C488.8 176 496 168.8 496 160C496 151.2 488.8 144 480 144L160 144C151.2 144 144 151.2 144 160zM291.9 312L320 340.1L348.1 312L320 283.9L291.9 312zM304 464L304 496L336 496L336 464L304 464zM496 464L496 496L528 496L528 464L496 464z"/><path d="M480 144C488.8 144 496 151.2 496 160C496 168.8 488.8 176 480 176L160 176C151.2 176 144 168.8 144 160C144 151.2 151.2 144 160 144L480 144zM160 96C124.7 96 96 124.7 96 160C96 195.3 124.7 224 160 224L296 224L296 240C292.4 243.6 279.7 256.3 257.9 278.1L248 288L192 288C143.4 288 104 327.4 104 376L104 416L96 416C78.3 416 64 430.3 64 448L64 512C64 529.7 78.3 544 96 544L160 544C177.7 544 192 529.7 192 512L192 448C192 430.3 177.7 416 160 416L152 416L152 376C152 353.9 169.9 336 192 336L248 336C251.6 339.6 264.3 352.3 286.1 374.1L296 384L296 416L288 416C270.3 416 256 430.3 256 448L256 512C256 529.7 270.3 544 288 544L352 544C369.7 544 384 529.7 384 512L384 448C384 430.3 369.7 416 352 416L344 416L344 384L392 336L448 336C470.1 336 488 353.9 488 376L488 416L480 416C462.3 416 448 430.3 448 448L448 512C448 529.7 462.3 544 480 544L544 544C561.7 544 576 529.7 576 512L576 448C576 430.3 561.7 416 544 416L536 416L536 376C536 327.4 496.6 288 448 288L392 288C388.4 284.4 375.7 271.7 353.9 249.9L344 240L344 224L480 224C515.3 224 544 195.3 544 160C544 124.7 515.3 96 480 96L160 96zM112 496L112 464L144 464L144 496L112 496zM304 496L304 464L336 464L336 496L304 496zM496 496L496 464L528 464L528 496L496 496zM291.9 312L320 283.9L348.1 312L320 340.1L291.9 312z"/></svg>
{:else if name === 'vlsm-calculator'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M121.9 192L192 262.1L192 121.9L121.9 192zM448 377.9L448 518L518.1 447.9L448 377.8z"/><path d="M199 64C221.6 64 240 82.3 240 105L240 168L552 168C565.3 168 576 178.7 576 192C576 205.3 565.3 216 552 216L240 216L240 279C240 301.6 221.7 320 199 320C188.1 320 177.7 315.7 170 308L71 209C66.5 204.5 64 198.4 64 192C64 185.6 66.5 179.5 71 175L170 76C177.7 68.3 188.1 64 199 64zM192 121.9L121.9 192L192 262.1L192 121.9zM400 361C400 338.4 418.3 320 441 320C451.9 320 462.3 324.3 470 332L569 431C573.5 435.5 576 441.6 576 448C576 454.4 573.5 460.5 569 465L470 564C462.3 571.7 451.9 576 441 576C418.4 576 400 557.7 400 535L400 472L88 472C74.7 472 64 461.3 64 448C64 434.7 74.7 424 88 424L400 424L400 361zM518.1 448L448 377.9L448 518L518.1 447.9z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M121.9 192L192 262.1L192 121.9L121.9 192zM448 377.9L448 518L518.1 447.9L448 377.8z"/><path d="M199 64C221.6 64 240 82.3 240 105L240 168L552 168C565.3 168 576 178.7 576 192C576 205.3 565.3 216 552 216L240 216L240 279C240 301.6 221.7 320 199 320C188.1 320 177.7 315.7 170 308L71 209C66.5 204.5 64 198.4 64 192C64 185.6 66.5 179.5 71 175L170 76C177.7 68.3 188.1 64 199 64zM192 121.9L121.9 192L192 262.1L192 121.9zM400 361C400 338.4 418.3 320 441 320C451.9 320 462.3 324.3 470 332L569 431C573.5 435.5 576 441.6 576 448C576 454.4 573.5 460.5 569 465L470 564C462.3 571.7 451.9 576 441 576C418.4 576 400 557.7 400 535L400 472L88 472C74.7 472 64 461.3 64 448C64 434.7 74.7 424 88 424L400 424L400 361zM518.1 448L448 377.9L448 518L518.1 447.9z"/></svg>
{:else if name === 'ipv6-subnet-calculator'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 464L112 496L144 496L144 464L112 464zM304 144L304 176L336 176L336 144L304 144zM304 464L304 496L336 496L336 464L304 464zM496 464L496 496L528 496L528 464L496 464z"/><path d="M304 144L336 144L336 176L304 176L304 144zM288 96C270.3 96 256 110.3 256 128L256 192C256 209.7 270.3 224 288 224L296 224L296 288L176 288C136.2 288 104 320.2 104 360L104 416L96 416C78.3 416 64 430.3 64 448L64 512C64 529.7 78.3 544 96 544L160 544C177.7 544 192 529.7 192 512L192 448C192 430.3 177.7 416 160 416L152 416L152 360C152 346.7 162.7 336 176 336L296 336L296 416L288 416C270.3 416 256 430.3 256 448L256 512C256 529.7 270.3 544 288 544L352 544C369.7 544 384 529.7 384 512L384 448C384 430.3 369.7 416 352 416L344 416L344 336L464 336C477.3 336 488 346.7 488 360L488 416L480 416C462.3 416 448 430.3 448 448L448 512C448 529.7 462.3 544 480 544L544 544C561.7 544 576 529.7 576 512L576 448C576 430.3 561.7 416 544 416L536 416L536 360C536 320.2 503.8 288 464 288L344 288L344 224L352 224C369.7 224 384 209.7 384 192L384 128C384 110.3 369.7 96 352 96L288 96zM112 496L112 464L144 464L144 496L112 496zM304 496L304 464L336 464L336 496L304 496zM496 496L496 464L528 464L528 496L496 496z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 464L112 496L144 496L144 464L112 464zM304 144L304 176L336 176L336 144L304 144zM304 464L304 496L336 496L336 464L304 464zM496 464L496 496L528 496L528 464L496 464z"/><path d="M304 144L336 144L336 176L304 176L304 144zM288 96C270.3 96 256 110.3 256 128L256 192C256 209.7 270.3 224 288 224L296 224L296 288L176 288C136.2 288 104 320.2 104 360L104 416L96 416C78.3 416 64 430.3 64 448L64 512C64 529.7 78.3 544 96 544L160 544C177.7 544 192 529.7 192 512L192 448C192 430.3 177.7 416 160 416L152 416L152 360C152 346.7 162.7 336 176 336L296 336L296 416L288 416C270.3 416 256 430.3 256 448L256 512C256 529.7 270.3 544 288 544L352 544C369.7 544 384 529.7 384 512L384 448C384 430.3 369.7 416 352 416L344 416L344 336L464 336C477.3 336 488 346.7 488 360L488 416L480 416C462.3 416 448 430.3 448 448L448 512C448 529.7 462.3 544 480 544L544 544C561.7 544 576 529.7 576 512L576 448C576 430.3 561.7 416 544 416L536 416L536 360C536 320.2 503.8 288 464 288L344 288L344 224L352 224C369.7 224 384 209.7 384 192L384 128C384 110.3 369.7 96 352 96L288 96zM112 496L112 464L144 464L144 496L112 496zM304 496L304 464L336 464L336 496L304 496zM496 496L496 464L528 464L528 496L496 496z"/></svg>
{:else if name === 'supernet-calculator'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M139.2 212C132.6 223.5 136.5 238.2 148 244.8C159.5 251.4 174.2 247.5 180.8 236C187.4 224.5 183.5 209.8 172 203.2C160.5 196.6 145.8 200.5 139.2 212zM139.2 428C145.8 439.5 160.5 443.4 172 436.8C183.5 430.2 187.4 415.5 180.8 404C174.2 392.5 159.5 388.6 148 395.2C136.5 401.8 132.6 416.5 139.2 428zM296 128C296 141.3 306.7 152 320 152C333.3 152 344 141.3 344 128C344 114.7 333.3 104 320 104C306.7 104 296 114.7 296 128zM296 320C296 333.3 306.7 344 320 344C333.3 344 344 333.3 344 320C344 306.7 333.3 296 320 296C306.7 296 296 306.7 296 320zM296 512C296 525.3 306.7 536 320 536C333.3 536 344 525.3 344 512C344 498.7 333.3 488 320 488C306.7 488 296 498.7 296 512zM459.2 236C465.8 247.5 480.5 251.4 492 244.8C503.5 238.2 507.4 223.5 500.8 212C494.2 200.5 479.5 196.6 468 203.2C456.5 209.8 452.6 224.5 459.2 236zM459.2 404C452.6 415.5 456.5 430.2 468 436.8C479.5 443.4 494.2 439.5 500.8 428C507.4 416.5 503.5 401.8 492 395.2C480.5 388.6 465.8 392.5 459.2 404z"/><path d="M320 152C333.3 152 344 141.3 344 128C344 114.7 333.3 104 320 104C306.7 104 296 114.7 296 128C296 141.3 306.7 152 320 152zM384 128C384 154.9 367.5 177.9 344 187.3L344 260.6C367.5 270.1 384 293.1 384 319.9C384 323.3 383.7 326.6 383.2 329.9L441.4 364.8C445.9 361.4 450.8 358.7 455.9 356.6L455.9 283.3C450.7 281.2 445.9 278.5 441.4 275.1L412 292.7C407.3 276.9 398.7 262.8 387.3 251.6L416.7 234C412.7 208.6 424.4 182.3 447.9 168.6C478.5 150.9 517.7 161.4 535.3 192C552.9 222.6 542.5 261.8 511.9 279.4C509.3 280.9 506.6 282.2 503.9 283.3L503.9 356.6C506.6 357.7 509.3 359 511.9 360.5C542.5 378.2 553 417.3 535.3 447.9C517.6 478.5 478.5 489 447.9 471.3C424.3 457.7 412.7 431.3 416.7 405.9L358.5 371C354.1 374.3 349.2 377.1 344 379.2L344 452.5C367.5 462 384 485 384 511.8C384 547.1 355.3 575.8 320 575.8C284.7 575.8 256 547.1 256 511.8C256 484.9 272.5 461.9 296 452.5L296 379.2C272.5 369.7 256 346.7 256 319.9C256 316.5 256.3 313.2 256.8 309.9L198.6 275C194.1 278.4 189.2 281.1 184 283.2L184 356.5C189.1 358.6 194 361.3 198.5 364.7L227.9 347.1C232.6 362.9 241.2 377 252.6 388.2L223.2 406C227.2 431.4 215.6 457.8 192 471.4C161.4 489.1 122.3 478.6 104.6 448C86.9 417.4 97.4 378.3 128 360.6C130.6 359.1 133.3 357.8 136 356.7L136 283.4C133.3 282.3 130.6 281 128 279.5C97.4 261.8 86.9 222.6 104.6 192C122.3 161.4 161.4 150.9 192 168.6C215.6 182.2 227.2 208.6 223.2 234L281.4 268.9C285.8 265.6 290.7 262.8 295.9 260.7L295.9 187.4C272.4 177.9 255.9 154.9 255.9 128.1C255.9 92.8 284.6 64.1 319.9 64.1C355.2 64.1 383.9 92.8 383.9 128.1zM320 344C333.3 344 344 333.3 344 320C344 306.7 333.3 296 320 296C306.7 296 296 306.7 296 320C296 333.3 306.7 344 320 344zM492 244.8C503.5 238.2 507.4 223.5 500.8 212C494.2 200.5 479.5 196.6 468 203.2C456.5 209.8 452.6 224.5 459.2 236C465.8 247.5 480.5 251.4 492 244.8zM180.8 236C187.4 224.5 183.5 209.8 172 203.2C160.5 196.6 145.8 200.5 139.2 212C132.6 223.5 136.5 238.2 148 244.8C159.5 251.4 174.2 247.5 180.8 236zM344 512C344 498.7 333.3 488 320 488C306.7 488 296 498.7 296 512C296 525.3 306.7 536 320 536C333.3 536 344 525.3 344 512zM139.2 428C145.8 439.5 160.5 443.4 172 436.8C183.5 430.2 187.4 415.5 180.8 404C174.2 392.5 159.5 388.6 148 395.2C136.5 401.8 132.6 416.5 139.2 428zM492 395.2C480.5 388.6 465.8 392.5 459.2 404C452.6 415.5 456.5 430.2 468 436.8C479.5 443.4 494.2 439.5 500.8 428C507.4 416.5 503.5 401.8 492 395.2z"/></svg>
{:else if name === 'cidr-convertor-mask'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144 400L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 400C496 391.2 488.8 384 480 384L160 384C151.2 384 144 391.2 144 400zM192 440C192 431.2 199.2 424 208 424L432 424C440.8 424 448 431.2 448 440C448 448.8 440.8 456 432 456L208 456C199.2 456 192 448.8 192 440z"/><path d="M391 191C400.4 181.6 415.6 181.6 424.9 191L439.9 206L439.9 167.9C439.9 154.6 429.2 143.9 415.9 143.9L317.9 143.9C319.2 149 319.9 154.4 319.9 159.9L319.9 223.9C319.9 259.2 291.2 287.9 255.9 287.9L159.9 287.9C124.6 287.9 95.9 259.2 95.9 223.9L96 160C96 124.7 124.7 96 160 96L416 96C455.8 96 488 128.2 488 168L488 206.1L503 191.1C512.4 181.7 527.6 181.7 536.9 191.1C546.2 200.5 546.3 215.7 536.9 225L480.9 281C471.5 290.4 456.3 290.4 447 281L391 225C381.6 215.6 381.6 200.4 391 191.1zM496 400C496 391.2 488.8 384 480 384L160 384C151.2 384 144 391.2 144 400L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 400zM544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 400C96 364.7 124.7 336 160 336L480 336C515.3 336 544 364.7 544 400L544 480zM272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160L144 224C144 232.8 151.2 240 160 240L256 240C264.8 240 272 232.8 272 224L272 160zM208 424L432 424C440.8 424 448 431.2 448 440C448 448.8 440.8 456 432 456L208 456C199.2 456 192 448.8 192 440C192 431.2 199.2 424 208 424z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M144 400L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 400C496 391.2 488.8 384 480 384L160 384C151.2 384 144 391.2 144 400zM192 440C192 431.2 199.2 424 208 424L432 424C440.8 424 448 431.2 448 440C448 448.8 440.8 456 432 456L208 456C199.2 456 192 448.8 192 440z"/><path d="M391 191C400.4 181.6 415.6 181.6 424.9 191L439.9 206L439.9 167.9C439.9 154.6 429.2 143.9 415.9 143.9L317.9 143.9C319.2 149 319.9 154.4 319.9 159.9L319.9 223.9C319.9 259.2 291.2 287.9 255.9 287.9L159.9 287.9C124.6 287.9 95.9 259.2 95.9 223.9L96 160C96 124.7 124.7 96 160 96L416 96C455.8 96 488 128.2 488 168L488 206.1L503 191.1C512.4 181.7 527.6 181.7 536.9 191.1C546.2 200.5 546.3 215.7 536.9 225L480.9 281C471.5 290.4 456.3 290.4 447 281L391 225C381.6 215.6 381.6 200.4 391 191.1zM496 400C496 391.2 488.8 384 480 384L160 384C151.2 384 144 391.2 144 400L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 400zM544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 400C96 364.7 124.7 336 160 336L480 336C515.3 336 544 364.7 544 400L544 480zM272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160L144 224C144 232.8 151.2 240 160 240L256 240C264.8 240 272 232.8 272 224L272 160zM208 424L432 424C440.8 424 448 431.2 448 440C448 448.8 440.8 456 432 456L208 456C199.2 456 192 448.8 192 440C192 431.2 199.2 424 208 424z"/></svg>
{:else if name === 'cidr-convertor'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144 160L144 240C144 248.8 151.2 256 160 256L256 256C264.8 256 272 248.8 272 240L272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160zM176 200C176 191.2 183.2 184 192 184L224 184C232.8 184 240 191.2 240 200C240 208.8 232.8 216 224 216L192 216C183.2 216 176 208.8 176 200z"/><path d="M391 191C400.4 181.6 415.6 181.6 424.9 191L439.9 206L439.9 167.9C439.9 154.6 429.2 143.9 415.9 143.9L317.9 143.9C319.2 149 319.9 154.4 319.9 159.9L319.9 239.9C319.9 275.2 291.2 303.9 255.9 303.9L159.9 303.9C124.6 303.9 95.9 275.2 95.9 239.9L96 160C96 124.7 124.7 96 160 96L416 96C455.8 96 488 128.2 488 168L488 206.1L503 191.1C512.4 181.7 527.6 181.7 536.9 191.1C546.2 200.5 546.3 215.7 536.9 225L480.9 281C471.5 290.4 456.3 290.4 447 281L391 225C381.6 215.6 381.6 200.4 391 191.1zM496 416C496 407.2 488.8 400 480 400L160 400C151.2 400 144 407.2 144 416L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 416zM544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 416C96 380.7 124.7 352 160 352L480 352C515.3 352 544 380.7 544 416L544 480zM272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160L144 240C144 248.8 151.2 256 160 256L256 256C264.8 256 272 248.8 272 240L272 160zM192 184L224 184C232.8 184 240 191.2 240 200C240 208.8 232.8 216 224 216L192 216C183.2 216 176 208.8 176 200C176 191.2 183.2 184 192 184z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M144 160L144 240C144 248.8 151.2 256 160 256L256 256C264.8 256 272 248.8 272 240L272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160zM176 200C176 191.2 183.2 184 192 184L224 184C232.8 184 240 191.2 240 200C240 208.8 232.8 216 224 216L192 216C183.2 216 176 208.8 176 200z"/><path d="M391 191C400.4 181.6 415.6 181.6 424.9 191L439.9 206L439.9 167.9C439.9 154.6 429.2 143.9 415.9 143.9L317.9 143.9C319.2 149 319.9 154.4 319.9 159.9L319.9 239.9C319.9 275.2 291.2 303.9 255.9 303.9L159.9 303.9C124.6 303.9 95.9 275.2 95.9 239.9L96 160C96 124.7 124.7 96 160 96L416 96C455.8 96 488 128.2 488 168L488 206.1L503 191.1C512.4 181.7 527.6 181.7 536.9 191.1C546.2 200.5 546.3 215.7 536.9 225L480.9 281C471.5 290.4 456.3 290.4 447 281L391 225C381.6 215.6 381.6 200.4 391 191.1zM496 416C496 407.2 488.8 400 480 400L160 400C151.2 400 144 407.2 144 416L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 416zM544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 416C96 380.7 124.7 352 160 352L480 352C515.3 352 544 380.7 544 416L544 480zM272 160C272 151.2 264.8 144 256 144L160 144C151.2 144 144 151.2 144 160L144 240C144 248.8 151.2 256 160 256L256 256C264.8 256 272 248.8 272 240L272 160zM192 184L224 184C232.8 184 240 191.2 240 200C240 208.8 232.8 216 224 216L192 216C183.2 216 176 208.8 176 200C176 191.2 183.2 184 192 184z"/></svg>
{:else if name === 'ipv6-compress'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M114 496L144.1 526.1L215.1 455.1C224.5 445.7 239.7 445.7 249 455.1L272 478.1L272 368L161.9 368L184.9 391C194.3 400.4 194.3 415.6 184.9 424.9L114 496zM368.1 161.9L368.1 272L478.2 272L455.2 249C445.8 239.6 445.8 224.4 455.2 215.1L526.2 144.1L496.1 114L425.1 185C415.7 194.4 400.5 194.4 391.2 185L368.2 162z"/><path d="M360.1 320L508.8 320C528.3 320 544.1 304.2 544.1 284.7C544.1 275.3 540.4 266.4 533.8 259.7L506 232L560.1 177.9C578.8 159.2 578.8 128.8 560.1 110L530 80C511.3 61.3 480.9 61.3 462.1 80L408 134.1L380.3 106.4C373.7 99.8 364.7 96.1 355.3 96.1C335.8 96.1 320 111.9 320 131.4L320 280.1C320 302.2 337.9 320.1 360 320.1zM455.1 249L478.1 272L368 272L368 161.9L391 184.9C400.4 194.3 415.6 194.3 424.9 184.9L495.9 113.9L526 144L455 215C445.6 224.4 445.6 239.6 455 248.9zM131.4 320C111.9 320 96.1 335.8 96.1 355.3C96.1 364.7 99.8 373.6 106.4 380.3L134.1 408L80.1 462.1C61.4 480.8 61.4 511.2 80.1 530L110.1 560C128.8 578.7 159.2 578.7 178 560L232.1 505.9L259.8 533.6C266.4 540.2 275.4 543.9 284.8 543.9C304.3 543.9 320.1 528.1 320.1 508.6L320.1 359.9C320.1 337.8 302.2 319.9 280.1 319.9L131.4 320zM185 391L162 368L272.1 368L272.1 478.1L249.1 455.1C239.7 445.7 224.5 445.7 215.2 455.1L144.2 526.1L114.1 496L185.1 425C194.5 415.6 194.5 400.4 185.1 391.1z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M114 496L144.1 526.1L215.1 455.1C224.5 445.7 239.7 445.7 249 455.1L272 478.1L272 368L161.9 368L184.9 391C194.3 400.4 194.3 415.6 184.9 424.9L114 496zM368.1 161.9L368.1 272L478.2 272L455.2 249C445.8 239.6 445.8 224.4 455.2 215.1L526.2 144.1L496.1 114L425.1 185C415.7 194.4 400.5 194.4 391.2 185L368.2 162z"/><path d="M360.1 320L508.8 320C528.3 320 544.1 304.2 544.1 284.7C544.1 275.3 540.4 266.4 533.8 259.7L506 232L560.1 177.9C578.8 159.2 578.8 128.8 560.1 110L530 80C511.3 61.3 480.9 61.3 462.1 80L408 134.1L380.3 106.4C373.7 99.8 364.7 96.1 355.3 96.1C335.8 96.1 320 111.9 320 131.4L320 280.1C320 302.2 337.9 320.1 360 320.1zM455.1 249L478.1 272L368 272L368 161.9L391 184.9C400.4 194.3 415.6 194.3 424.9 184.9L495.9 113.9L526 144L455 215C445.6 224.4 445.6 239.6 455 248.9zM131.4 320C111.9 320 96.1 335.8 96.1 355.3C96.1 364.7 99.8 373.6 106.4 380.3L134.1 408L80.1 462.1C61.4 480.8 61.4 511.2 80.1 530L110.1 560C128.8 578.7 159.2 578.7 178 560L232.1 505.9L259.8 533.6C266.4 540.2 275.4 543.9 284.8 543.9C304.3 543.9 320.1 528.1 320.1 508.6L320.1 359.9C320.1 337.8 302.2 319.9 280.1 319.9L131.4 320zM185 391L162 368L272.1 368L272.1 478.1L249.1 455.1C239.7 445.7 224.5 445.7 215.2 455.1L144.2 526.1L114.1 496L185.1 425C194.5 415.6 194.5 400.4 185.1 391.1z"/></svg>
{:else if name === 'subnet-splitter'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112.2 338.6C112.5 347.4 119.9 354.3 128.7 354L290.2 348.4C300 348.1 308.9 353.7 312.9 362.6C316.9 371.5 315.1 381.9 308.4 389C305.6 391.9 304 395.7 304 400C304 408.8 311.2 416 320 416C329.1 416 337.4 421.1 341.5 429.3C345.6 437.5 344.7 447.2 339.2 454.4C337.2 457.1 336 460.4 336 464C336 472.8 343.2 480 352 480L456 480C495.8 480 528 447.8 528 408L528 282.6C528 264.2 523.1 246.1 513.8 230.2L512.3 227.6C493.7 195.6 459.5 176 422.5 176L412.3 176C401 176 390.3 180.8 382.7 189.1L364.3 209.4C363.7 210 363.2 210.7 362.6 211.3L419.6 224.5C428.2 226.5 433.6 235.1 431.6 243.7C429.6 252.3 421 257.7 412.4 255.7L326.8 235.8L138.3 194C129.7 192.1 121.1 197.5 119.2 206.2C117.3 214.9 122.7 223.4 131.4 225.3L318.9 266.9C329.1 269.2 336.7 277.8 337.6 288.3L337.7 289.3C338.3 295.9 336.2 302.4 331.9 307.4C327.6 312.4 321.3 315.3 314.7 315.6L127.6 322.1C118.8 322.4 111.9 329.8 112.2 338.7z"/><path d="M64.2 340.3C63 305 90.6 275.3 125.9 274.1L129.2 274L121 272.2C86.5 264.5 64.7 230.3 72.3 195.8C79.9 161.3 114.2 139.5 148.7 147.2L321.7 185.5C324 182.6 326.3 179.8 328.8 177L347.2 156.7C363.9 138.5 387.5 128 412.3 128L422.5 128C476.6 128 526.6 156.7 553.8 203.4L555.3 206C534.6 218.1 534.6 218.1 555.3 206C568.9 229.2 576 255.7 576 282.6L576 408C576 474.3 522.3 528 456 528L352 528C316.7 528 288 499.3 288 464C288 461.2 288.2 458.4 288.5 455.7C269.1 444.7 256 423.9 256 400C256 399.2 256 398.4 256 397.6L130.4 402C95.1 403.2 65.4 375.6 64.2 340.3zM127.6 322.1C118.8 322.4 111.9 329.8 112.2 338.7C112.5 347.6 119.9 354.4 128.7 354.1L290.2 348.5C300 348.2 308.9 353.8 312.9 362.7C316.9 371.6 315.1 382 308.4 389.1C305.6 392 304 395.8 304 400.1C304 408.9 311.2 416.1 320 416.1C329.1 416.1 337.4 421.2 341.5 429.4C345.6 437.6 344.7 447.3 339.2 454.5C337.2 457.2 336 460.5 336 464.1C336 472.9 343.2 480.1 352 480.1L456 480.1C495.8 480.1 528 447.9 528 408.1L528 282.7C528 264.3 523.1 246.2 513.8 230.3L512.3 227.7L512.3 227.7C493.7 195.7 459.5 176.1 422.5 176.1L412.3 176.1C401 176.1 390.3 180.9 382.7 189.2L364.3 209.5C363.7 210.1 363.2 210.8 362.6 211.4L419.6 224.6C428.2 226.6 433.6 235.2 431.6 243.8C429.6 252.4 421 257.8 412.4 255.8L326.8 235.8L138.3 194C129.7 192.1 121.1 197.5 119.2 206.2C117.3 214.9 122.7 223.4 131.4 225.3L318.9 266.9C329.1 269.2 336.7 277.8 337.6 288.3L337.7 289.3C338.3 295.9 336.2 302.4 331.9 307.4C327.6 312.4 321.3 315.3 314.7 315.6L127.6 322.1z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112.2 338.6C112.5 347.4 119.9 354.3 128.7 354L290.2 348.4C300 348.1 308.9 353.7 312.9 362.6C316.9 371.5 315.1 381.9 308.4 389C305.6 391.9 304 395.7 304 400C304 408.8 311.2 416 320 416C329.1 416 337.4 421.1 341.5 429.3C345.6 437.5 344.7 447.2 339.2 454.4C337.2 457.1 336 460.4 336 464C336 472.8 343.2 480 352 480L456 480C495.8 480 528 447.8 528 408L528 282.6C528 264.2 523.1 246.1 513.8 230.2L512.3 227.6C493.7 195.6 459.5 176 422.5 176L412.3 176C401 176 390.3 180.8 382.7 189.1L364.3 209.4C363.7 210 363.2 210.7 362.6 211.3L419.6 224.5C428.2 226.5 433.6 235.1 431.6 243.7C429.6 252.3 421 257.7 412.4 255.7L326.8 235.8L138.3 194C129.7 192.1 121.1 197.5 119.2 206.2C117.3 214.9 122.7 223.4 131.4 225.3L318.9 266.9C329.1 269.2 336.7 277.8 337.6 288.3L337.7 289.3C338.3 295.9 336.2 302.4 331.9 307.4C327.6 312.4 321.3 315.3 314.7 315.6L127.6 322.1C118.8 322.4 111.9 329.8 112.2 338.7z"/><path d="M64.2 340.3C63 305 90.6 275.3 125.9 274.1L129.2 274L121 272.2C86.5 264.5 64.7 230.3 72.3 195.8C79.9 161.3 114.2 139.5 148.7 147.2L321.7 185.5C324 182.6 326.3 179.8 328.8 177L347.2 156.7C363.9 138.5 387.5 128 412.3 128L422.5 128C476.6 128 526.6 156.7 553.8 203.4L555.3 206C534.6 218.1 534.6 218.1 555.3 206C568.9 229.2 576 255.7 576 282.6L576 408C576 474.3 522.3 528 456 528L352 528C316.7 528 288 499.3 288 464C288 461.2 288.2 458.4 288.5 455.7C269.1 444.7 256 423.9 256 400C256 399.2 256 398.4 256 397.6L130.4 402C95.1 403.2 65.4 375.6 64.2 340.3zM127.6 322.1C118.8 322.4 111.9 329.8 112.2 338.7C112.5 347.6 119.9 354.4 128.7 354.1L290.2 348.5C300 348.2 308.9 353.8 312.9 362.7C316.9 371.6 315.1 382 308.4 389.1C305.6 392 304 395.8 304 400.1C304 408.9 311.2 416.1 320 416.1C329.1 416.1 337.4 421.2 341.5 429.4C345.6 437.6 344.7 447.3 339.2 454.5C337.2 457.2 336 460.5 336 464.1C336 472.9 343.2 480.1 352 480.1L456 480.1C495.8 480.1 528 447.9 528 408.1L528 282.7C528 264.3 523.1 246.2 513.8 230.3L512.3 227.7L512.3 227.7C493.7 195.7 459.5 176.1 422.5 176.1L412.3 176.1C401 176.1 390.3 180.9 382.7 189.2L364.3 209.5C363.7 210.1 363.2 210.8 362.6 211.4L419.6 224.6C428.2 226.6 433.6 235.2 431.6 243.8C429.6 252.4 421 257.8 412.4 255.8L326.8 235.8L138.3 194C129.7 192.1 121.1 197.5 119.2 206.2C117.3 214.9 122.7 223.4 131.4 225.3L318.9 266.9C329.1 269.2 336.7 277.8 337.6 288.3L337.7 289.3C338.3 295.9 336.2 302.4 331.9 307.4C327.6 312.4 321.3 315.3 314.7 315.6L127.6 322.1z"/></svg>
{:else if name === 'ipv6-expand'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 417.9L112 528L222.1 528L199.1 505C189.7 495.6 189.7 480.4 199.1 471.1L278.1 392.1L248 362L169 441C159.6 450.4 144.4 450.4 135.1 441L112.1 418zM361.9 248L392 278.1L471 199.1C480.4 189.7 495.6 189.7 504.9 199.1L527.9 222.1L527.9 112L417.8 112L440.8 135C450.2 144.4 450.2 159.6 440.8 168.9L361.8 247.9z"/><path d="M387.3 64C367.8 64 352 79.8 352 99.3C352 108.7 355.7 117.6 362.3 124.3L390.1 152L328 214.1C309.3 232.8 309.3 263.2 328 282L358.1 312C376.8 330.7 407.2 330.7 426 312L488.1 249.9L515.8 277.6C522.4 284.2 531.4 287.9 540.8 287.9C560.3 287.9 576.1 272.1 576.1 252.6L576 104C576 81.9 558.1 64 536 64L387.3 64zM441 135L418 112L528.1 112L528.1 222.1L505.1 199.1C495.7 189.7 480.5 189.7 471.2 199.1L392.2 278.1L362.1 248L441.1 169C450.5 159.6 450.5 144.4 441.1 135.1zM252.7 576C272.2 576 288 560.2 288 540.7C288 531.3 284.3 522.4 277.7 515.7L249.9 488L312 425.9C330.7 407.2 330.7 376.8 312 358L281.9 328C263.2 309.3 232.8 309.3 214 328L152 390.1L124.3 362.3C117.7 355.7 108.7 352 99.3 352C79.8 352 64 367.8 64 387.3L64 536C64 558.1 81.9 576 104 576L252.7 576zM199 505L222 528L111.9 528L111.9 417.9L134.9 440.9C144.3 450.3 159.5 450.3 168.8 440.9L247.8 361.9L277.9 392L198.9 471C189.5 480.4 189.5 495.6 198.9 504.9z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 417.9L112 528L222.1 528L199.1 505C189.7 495.6 189.7 480.4 199.1 471.1L278.1 392.1L248 362L169 441C159.6 450.4 144.4 450.4 135.1 441L112.1 418zM361.9 248L392 278.1L471 199.1C480.4 189.7 495.6 189.7 504.9 199.1L527.9 222.1L527.9 112L417.8 112L440.8 135C450.2 144.4 450.2 159.6 440.8 168.9L361.8 247.9z"/><path d="M387.3 64C367.8 64 352 79.8 352 99.3C352 108.7 355.7 117.6 362.3 124.3L390.1 152L328 214.1C309.3 232.8 309.3 263.2 328 282L358.1 312C376.8 330.7 407.2 330.7 426 312L488.1 249.9L515.8 277.6C522.4 284.2 531.4 287.9 540.8 287.9C560.3 287.9 576.1 272.1 576.1 252.6L576 104C576 81.9 558.1 64 536 64L387.3 64zM441 135L418 112L528.1 112L528.1 222.1L505.1 199.1C495.7 189.7 480.5 189.7 471.2 199.1L392.2 278.1L362.1 248L441.1 169C450.5 159.6 450.5 144.4 441.1 135.1zM252.7 576C272.2 576 288 560.2 288 540.7C288 531.3 284.3 522.4 277.7 515.7L249.9 488L312 425.9C330.7 407.2 330.7 376.8 312 358L281.9 328C263.2 309.3 232.8 309.3 214 328L152 390.1L124.3 362.3C117.7 355.7 108.7 352 99.3 352C79.8 352 64 367.8 64 387.3L64 536C64 558.1 81.9 576 104 576L252.7 576zM199 505L222 528L111.9 528L111.9 417.9L134.9 440.9C144.3 450.3 159.5 450.3 168.8 440.9L247.8 361.9L277.9 392L198.9 471C189.5 480.4 189.5 495.6 198.9 504.9z"/></svg>
{:else if name === 'network-classes'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M40 368C40 381.3 50.7 392 64 392C77.3 392 88 381.3 88 368C88 354.7 77.3 344 64 344C50.7 344 40 354.7 40 368zM200 128C200 141.3 210.7 152 224 152C237.3 152 248 141.3 248 128C248 114.7 237.3 104 224 104C210.7 104 200 114.7 200 128zM240 368C240 421 283 464 336 464C389 464 432 421 432 368C432 315 389 272 336 272C283 272 240 315 240 368zM552 192C552 205.3 562.7 216 576 216C589.3 216 600 205.3 600 192C600 178.7 589.3 168 576 168C562.7 168 552 178.7 552 192zM552 512C552 525.3 562.7 536 576 536C589.3 536 600 525.3 600 512C600 498.7 589.3 488 576 488C562.7 488 552 498.7 552 512z"/><path d="M224 104C237.3 104 248 114.7 248 128C248 141.3 237.3 152 224 152C210.7 152 200 141.3 200 128C200 114.7 210.7 104 224 104zM224 192C225.1 192 226.2 192 227.3 191.9L254.2 249.5C222.9 271.2 200.5 304.9 194 344L123.4 344C113.9 320.5 90.9 304 64.1 304C28.8 304 .1 332.7 .1 368C.1 403.3 28.8 432 64.1 432C91 432 114 415.5 123.4 392L194 392C205.4 460.1 264.7 512 336 512C379.8 512 419 492.5 445.4 461.6L512.8 502C512.3 505.2 512 508.6 512 511.9C512 547.2 540.7 575.9 576 575.9C611.3 575.9 640 547.2 640 511.9C640 476.6 611.3 447.9 576 447.9C561.5 447.9 548.2 452.7 537.5 460.8L470.2 420.4C476.6 404.1 480.1 386.4 480.1 367.9C480.1 344.7 474.6 322.7 464.8 303.3L542.4 246.4C552.2 252.5 563.7 256 576.1 256C611.4 256 640.1 227.3 640.1 192C640.1 156.7 611.4 128 576.1 128C540.8 128 512.1 156.7 512.1 192C512.1 197.4 512.8 202.7 514 207.7L436.4 264.6C410.5 239.4 375.1 223.9 336.1 223.9C322.8 223.9 310 225.7 297.8 229.1L270.9 171.6C281.5 160.2 288 144.9 288 128C288 92.7 259.3 64 224 64C188.7 64 160 92.7 160 128C160 163.3 188.7 192 224 192zM576 168C589.3 168 600 178.7 600 192C600 205.3 589.3 216 576 216C562.7 216 552 205.3 552 192C552 178.7 562.7 168 576 168zM552 512C552 498.7 562.7 488 576 488C589.3 488 600 498.7 600 512C600 525.3 589.3 536 576 536C562.7 536 552 525.3 552 512zM64 344C77.3 344 88 354.7 88 368C88 381.3 77.3 392 64 392C50.7 392 40 381.3 40 368C40 354.7 50.7 344 64 344zM336 272C389 272 432 315 432 368C432 421 389 464 336 464C283 464 240 421 240 368C240 315 283 272 336 272z"/></svg>
{:else if name === 'reserved-ranges'}
@@ -85,25 +85,67 @@
{:else if name === 'common-subnets'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 144L208 144L208 240L112 240L112 144zM304 400L400 400L400 496L304 496L304 400zM432 144L528 144L528 240L432 240L432 144z"/><path d="M112 144L112 240L208 240L208 144L112 144zM64 144C64 117.5 85.5 96 112 96L208 96C234.5 96 256 117.5 256 144L256 168L384 168L384 144C384 117.5 405.5 96 432 96L528 96C554.5 96 576 117.5 576 144L576 240C576 266.5 554.5 288 528 288L432 288C405.5 288 384 266.5 384 240L384 216L256 216L256 240C256 250.4 252.7 260.1 247 268L310 352L400 352C426.5 352 448 373.5 448 400L448 496C448 522.5 426.5 544 400 544L304 544C277.5 544 256 522.5 256 496L256 400C256 389.6 259.3 379.9 265 372L202 288L112 288C85.5 288 64 266.5 64 240L64 144zM304 400L304 496L400 496L400 400L304 400zM528 144L432 144L432 240L528 240L528 144z"/></svg>
{:else if name === 'subnet-planner'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M75.7 163.7C60.1 179.3 60.1 204.6 75.7 220.3L144.8 289.4L289.4 144.8L254.5 109.9L198.2 166.2C190.4 174 177.7 174 169.9 166.2C162.1 158.4 162.1 145.7 169.9 137.9L226.2 81.6L220.3 75.7C204.7 60.1 179.4 60.1 163.7 75.7L75.7 163.7zM350.6 495.2L419.7 564.3C435.3 579.9 460.6 579.9 476.3 564.3L564.3 476.3C579.9 460.7 579.9 435.4 564.3 419.7L558.4 413.8L502.1 470.1C494.3 477.9 481.6 477.9 473.8 470.1C466 462.3 466 449.6 473.8 441.8L530.1 385.5L495.2 350.6L350.6 495.2z"/><path d="M416.9 85.2L372 130.1L509.9 268L554.8 223.1C568.4 209.6 576 191.2 576 172C576 152.8 568.4 134.4 554.8 120.9L519.1 85.2C505.6 71.6 487.2 64 468 64C448.8 64 430.4 71.6 416.9 85.2zM338.1 164L122.9 379.1C112.2 389.8 104.4 403.2 100.3 417.8L64.9 545.6C62.6 553.9 64.9 562.9 71.1 569C77.3 575.1 86.2 577.5 94.5 575.2L222.3 539.7C236.9 535.6 250.2 527.9 261 517.1L476 301.9L338.1 164z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M75.7 163.7C60.1 179.3 60.1 204.6 75.7 220.3L144.8 289.4L289.4 144.8L254.5 109.9L198.2 166.2C190.4 174 177.7 174 169.9 166.2C162.1 158.4 162.1 145.7 169.9 137.9L226.2 81.6L220.3 75.7C204.7 60.1 179.4 60.1 163.7 75.7L75.7 163.7zM350.6 495.2L419.7 564.3C435.3 579.9 460.6 579.9 476.3 564.3L564.3 476.3C579.9 460.7 579.9 435.4 564.3 419.7L558.4 413.8L502.1 470.1C494.3 477.9 481.6 477.9 473.8 470.1C466 462.3 466 449.6 473.8 441.8L530.1 385.5L495.2 350.6L350.6 495.2z"/><path d="M416.9 85.2L372 130.1L509.9 268L554.8 223.1C568.4 209.6 576 191.2 576 172C576 152.8 568.4 134.4 554.8 120.9L519.1 85.2C505.6 71.6 487.2 64 468 64C448.8 64 430.4 71.6 416.9 85.2zM338.1 164L122.9 379.1C112.2 389.8 104.4 403.2 100.3 417.8L64.9 545.6C62.6 553.9 64.9 562.9 71.1 569C77.3 575.1 86.2 577.5 94.5 575.2L222.3 539.7C236.9 535.6 250.2 527.9 261 517.1L476 301.9L338.1 164z"/></svg>
{:else if name === 'cidr-alignment'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M96 128C96 145.7 110.3 160 128 160L512 160C529.7 160 544 145.7 544 128C544 110.3 529.7 96 512 96L128 96C110.3 96 96 110.3 96 128zM96 512C96 529.7 110.3 544 128 544L512 544C529.7 544 544 529.7 544 512C544 494.3 529.7 480 512 480L128 480C110.3 480 96 494.3 96 512zM288 256C288 273.7 302.3 288 320 288L512 288C529.7 288 544 273.7 544 256C544 238.3 529.7 224 512 224L320 224C302.3 224 288 238.3 288 256zM288 384C288 401.7 302.3 416 320 416L512 416C529.7 416 544 401.7 544 384C544 366.3 529.7 352 512 352L320 352C302.3 352 288 366.3 288 384z"/><path d="M223.8 307.4C232 313.8 232 326.3 223.8 332.7L121.8 411.9C111.3 420.1 96 412.6 96 399.3L96 240.7C96 227.4 111.3 219.9 121.8 228.1L223.7 307.4z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M96 128C96 145.7 110.3 160 128 160L512 160C529.7 160 544 145.7 544 128C544 110.3 529.7 96 512 96L128 96C110.3 96 96 110.3 96 128zM96 512C96 529.7 110.3 544 128 544L512 544C529.7 544 544 529.7 544 512C544 494.3 529.7 480 512 480L128 480C110.3 480 96 494.3 96 512zM288 256C288 273.7 302.3 288 320 288L512 288C529.7 288 544 273.7 544 256C544 238.3 529.7 224 512 224L320 224C302.3 224 288 238.3 288 256zM288 384C288 401.7 302.3 416 320 416L512 416C529.7 416 544 401.7 544 384C544 366.3 529.7 352 512 352L320 352C302.3 352 288 366.3 288 384z"/><path d="M223.8 307.4C232 313.8 232 326.3 223.8 332.7L121.8 411.9C111.3 420.1 96 412.6 96 399.3L96 240.7C96 227.4 111.3 219.9 121.8 228.1L223.7 307.4z"/></svg>
{:else if name === 'wildcard-mask'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M86.6 384L208 262.6L208 320C208 326.4 210.5 332.5 215 337C219.5 341.5 225.6 344 232 344L320 344L320 448C320 434.7 309.3 424 296 424L232 424C218.7 424 208 434.7 208 448L208 505.4L86.6 384zM320 192C320 205.3 330.7 216 344 216L408 216C421.3 216 432 205.3 432 192L432 134.6L553.4 256L432 377.4L432 320C432 313.6 429.5 307.5 425 303C420.5 298.5 414.4 296 408 296L320 296L320 192z"/><path d="M432 134.6L432 192C432 205.3 421.3 216 408 216L344 216C330.7 216 320 205.3 320 192C320 178.7 330.7 168 344 168L384 168L384 96C384 83.1 391.8 71.4 403.8 66.4L403.8 66.4C415.8 61.4 429.5 64.2 438.7 73.3L598.7 233.3C611.2 245.8 611.2 266.1 598.7 278.6L438.7 438.6C429.5 447.8 415.8 450.5 403.8 445.5C391.8 440.5 384 428.9 384 416L384 344L232 344C225.6 344 219.5 341.5 215 337C210.5 332.5 208 326.4 208 320L208 262.6L86.6 384L208 505.4L208 448C208 434.7 218.7 424 232 424L296 424C309.3 424 320 434.7 320 448C320 461.3 309.3 472 296 472L256 472L256 544C256 556.9 248.2 568.6 236.2 573.6L236.2 573.6C224.2 578.6 210.5 575.8 201.3 566.7L41.3 406.7C28.8 394.2 28.8 373.9 41.3 361.4L201.3 201.4C210.5 192.2 224.2 189.5 236.2 194.5C248.2 199.5 256 211.1 256 224L256 296L408 296C414.4 296 420.5 298.5 425 303C429.5 307.5 432 313.6 432 320L432 377.4L553.4 256L432 134.6zM404.7 404.7L404.7 404.7zM235.3 532.7L235.3 532.7C235.3 532.7 235.3 532.7 235.3 532.7zM75.3 372.7C75.3 372.7 75.3 372.7 75.3 372.7L75.3 372.7L75.3 372.7z"/></svg>
{:else if name === 'ip-distance'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M160 576L480 576C533 576 576 533 576 480C576 427 533 384 480 384L384 384C366.3 384 352 369.7 352 352C352 334.3 366.3 320 384 320L480 320C474.9 320 470.1 317.9 466.7 314C458 303.9 439.7 282 422.6 256C409.7 256 396.9 256 384 256C331 256 288 299 288 352C288 405 331 448 384 448L480 448C497.7 448 512 462.3 512 480C512 497.7 497.7 512 480 512L217.4 512C200.3 538 182 560 173.3 570C170 573.9 165.1 576 160 576z"/><path d="M384 160C384 214.5 447.8 292.1 466.7 314C470 317.9 474.9 320 480 320C485.1 320 489.9 317.9 493.3 314C512.3 292.1 576 214.4 576 160C576 107 533 64 480 64C427 64 384 107 384 160zM448 160C448 142.3 462.3 128 480 128C497.7 128 512 142.3 512 160C512 177.7 497.7 192 480 192C462.3 192 448 177.7 448 160zM64 416C64 470.5 127.8 548.1 146.7 570C150 573.9 154.9 576 160 576C165.1 576 169.9 573.9 173.3 570C192.3 548.1 256 470.4 256 416C256 363 213 320 160 320C107 320 64 363 64 416zM128 416C128 398.3 142.3 384 160 384C177.7 384 192 398.3 192 416C192 433.7 177.7 448 160 448C142.3 448 128 433.7 128 416z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M160 576L480 576C533 576 576 533 576 480C576 427 533 384 480 384L384 384C366.3 384 352 369.7 352 352C352 334.3 366.3 320 384 320L480 320C474.9 320 470.1 317.9 466.7 314C458 303.9 439.7 282 422.6 256C409.7 256 396.9 256 384 256C331 256 288 299 288 352C288 405 331 448 384 448L480 448C497.7 448 512 462.3 512 480C512 497.7 497.7 512 480 512L217.4 512C200.3 538 182 560 173.3 570C170 573.9 165.1 576 160 576z"/><path d="M384 160C384 214.5 447.8 292.1 466.7 314C470 317.9 474.9 320 480 320C485.1 320 489.9 317.9 493.3 314C512.3 292.1 576 214.4 576 160C576 107 533 64 480 64C427 64 384 107 384 160zM448 160C448 142.3 462.3 128 480 128C497.7 128 512 142.3 512 160C512 177.7 497.7 192 480 192C462.3 192 448 177.7 448 160zM64 416C64 470.5 127.8 548.1 146.7 570C150 573.9 154.9 576 160 576C165.1 576 169.9 573.9 173.3 570C192.3 548.1 256 470.4 256 416C256 363 213 320 160 320C107 320 64 363 64 416zM128 416C128 398.3 142.3 384 160 384C177.7 384 192 398.3 192 416C192 433.7 177.7 448 160 448C142.3 448 128 433.7 128 416z"/></svg>
{:else if name === 'nth-ip'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M32 240L32 400C32 426.5 53.5 448 80 448L560 448C586.5 448 608 426.5 608 400L608 240C608 213.5 586.5 192 560 192L536 192L536 296C536 309.3 525.3 320 512 320C498.7 320 488 309.3 488 296L488 192L440 192L440 264C440 277.3 429.3 288 416 288C402.7 288 392 277.3 392 264L392 192L344 192L344 296C344 309.3 333.3 320 320 320C306.7 320 296 309.3 296 296L296 192L248 192L248 264C248 277.3 237.3 288 224 288C210.7 288 200 277.3 200 264L200 192L152 192L152 296C152 309.3 141.3 320 128 320C114.7 320 104 309.3 104 296L104 192L80 192C53.5 192 32 213.5 32 240z"/><path d="M488 192L536 192L536 296C536 309.3 525.3 320 512 320C498.7 320 488 309.3 488 296L488 192zM392 192L440 192L440 264C440 277.3 429.3 288 416 288C402.7 288 392 277.3 392 264L392 192zM296 192L344 192L344 296C344 309.3 333.3 320 320 320C306.7 320 296 309.3 296 296L296 192zM200 192L248 192L248 264C248 277.3 237.3 288 224 288C210.7 288 200 277.3 200 264L200 192zM104 192L152 192L152 296C152 309.3 141.3 320 128 320C114.7 320 104 309.3 104 296L104 192z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M32 240L32 400C32 426.5 53.5 448 80 448L560 448C586.5 448 608 426.5 608 400L608 240C608 213.5 586.5 192 560 192L536 192L536 296C536 309.3 525.3 320 512 320C498.7 320 488 309.3 488 296L488 192L440 192L440 264C440 277.3 429.3 288 416 288C402.7 288 392 277.3 392 264L392 192L344 192L344 296C344 309.3 333.3 320 320 320C306.7 320 296 309.3 296 296L296 192L248 192L248 264C248 277.3 237.3 288 224 288C210.7 288 200 277.3 200 264L200 192L152 192L152 296C152 309.3 141.3 320 128 320C114.7 320 104 309.3 104 296L104 192L80 192C53.5 192 32 213.5 32 240z"/><path d="M488 192L536 192L536 296C536 309.3 525.3 320 512 320C498.7 320 488 309.3 488 296L488 192zM392 192L440 192L440 264C440 277.3 429.3 288 416 288C402.7 288 392 277.3 392 264L392 192zM296 192L344 192L344 296C344 309.3 333.3 320 320 320C306.7 320 296 309.3 296 296L296 192zM200 192L248 192L248 264C248 277.3 237.3 288 224 288C210.7 288 200 277.3 200 264L200 192zM104 192L152 192L152 296C152 309.3 141.3 320 128 320C114.7 320 104 309.3 104 296L104 192z"/></svg>
{:else if name === 'random-ip'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M66.5 306.7C56.2 345.1 79 384.6 117.4 394.9L306.9 445.7C345.3 456 384.8 433.2 395.1 394.8L445.9 205.3C455.5 169.3 436.1 132.4 402 119.4L395 117.1L205.5 66.3L198.3 64.8C164.6 59.3 131.6 78.4 119.5 110.2L117.2 117.2L66.4 306.7zM186.9 296C193 305.9 193.2 318.4 187.5 328.5C181.8 338.6 171 344.8 159.3 344.7C147.7 344.6 137.1 338.2 131.5 328C125.4 318.1 125.2 305.6 130.9 295.5C136.6 285.4 147.4 279.2 159.1 279.3C170.7 279.4 181.3 285.8 186.9 296zM227.9 143C234 152.9 234.2 165.4 228.5 175.5C222.8 185.6 212 191.8 200.3 191.7C188.7 191.6 178.1 185.2 172.5 175C166.4 165.1 166.2 152.6 171.9 142.5C177.6 132.4 188.4 126.2 200.1 126.3C211.7 126.4 222.3 132.8 227.9 143zM283.9 240C290 249.9 290.2 262.4 284.5 272.5C278.8 282.6 268 288.8 256.3 288.7C244.7 288.6 234.1 282.2 228.5 272C222.4 262.1 222.2 249.6 227.9 239.5C233.6 229.4 244.4 223.2 256.1 223.3C267.7 223.4 278.3 229.8 283.9 240zM339.9 337C346 346.9 346.2 359.4 340.5 369.5C334.8 379.6 324 385.8 312.3 385.7C300.7 385.6 290.1 379.2 284.5 369C278.4 359.1 278.2 346.6 283.9 336.5C289.6 326.4 300.4 320.2 312.1 320.3C323.7 320.4 334.3 326.8 339.9 337zM380.9 184C387 193.9 387.2 206.4 381.5 216.5C375.8 226.6 365 232.8 353.3 232.7C341.7 232.6 331.1 226.2 325.5 216C319.4 206.1 319.2 193.6 324.9 183.5C330.6 173.4 341.4 167.2 353.1 167.3C364.7 167.4 375.3 173.8 380.9 184z"/><path d="M184.2 131.3C174 136.9 167.6 147.5 167.5 159.1C167.4 170.8 173.6 181.6 183.7 187.3C193.8 193 206.3 192.8 216.2 186.7C226.4 181.1 232.8 170.5 232.9 158.9C233 147.2 226.8 136.4 216.7 130.7C206.6 125 194.1 125.2 184.2 131.3zM369.2 227.7C379.4 222.1 385.8 211.5 385.9 199.9C386 188.2 379.8 177.4 369.7 171.7C359.6 166 347.1 166.2 337.2 172.3C327 177.9 320.6 188.5 320.5 200.1C320.4 211.8 326.6 222.6 336.7 228.3C346.8 234 359.3 233.8 369.2 227.7zM272.2 283.7C282.4 278.1 288.8 267.5 288.9 255.9C289 244.2 282.8 233.4 272.7 227.7C262.6 222 250.1 222.2 240.2 228.3C230 233.9 223.6 244.5 223.5 256.1C223.4 267.8 229.6 278.6 239.7 284.3C249.8 290 262.3 289.8 272.2 283.7zM175.2 339.7C185.4 334.1 191.8 323.5 191.9 311.9C192 300.2 185.8 289.4 175.7 283.7C165.6 278 153.1 278.2 143.2 284.3C133 289.9 126.6 300.5 126.5 312.1C126.4 323.8 132.6 334.6 142.7 340.3C152.8 346 165.3 345.8 175.2 339.7zM296.2 325.3C286 330.9 279.6 341.5 279.5 353.1C279.4 364.8 285.6 375.6 295.7 381.3C305.8 387 318.3 386.8 328.2 380.7C338.4 375.1 344.8 364.5 344.9 352.9C345 341.2 338.8 330.4 328.7 324.7C318.6 319 306.1 319.2 296.2 325.3zM256.2 481.8L256.2 512C256.2 547.3 284.9 576 320.2 576L512.2 576C547.5 576 576.2 547.3 576.2 512L576.2 320C576.2 284.7 547.5 256 512.2 256L482 256L441.5 407.2C424.9 469.2 362.6 506.8 300.5 493.5L294.5 492.1L256.2 481.8z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M66.5 306.7C56.2 345.1 79 384.6 117.4 394.9L306.9 445.7C345.3 456 384.8 433.2 395.1 394.8L445.9 205.3C455.5 169.3 436.1 132.4 402 119.4L395 117.1L205.5 66.3L198.3 64.8C164.6 59.3 131.6 78.4 119.5 110.2L117.2 117.2L66.4 306.7zM186.9 296C193 305.9 193.2 318.4 187.5 328.5C181.8 338.6 171 344.8 159.3 344.7C147.7 344.6 137.1 338.2 131.5 328C125.4 318.1 125.2 305.6 130.9 295.5C136.6 285.4 147.4 279.2 159.1 279.3C170.7 279.4 181.3 285.8 186.9 296zM227.9 143C234 152.9 234.2 165.4 228.5 175.5C222.8 185.6 212 191.8 200.3 191.7C188.7 191.6 178.1 185.2 172.5 175C166.4 165.1 166.2 152.6 171.9 142.5C177.6 132.4 188.4 126.2 200.1 126.3C211.7 126.4 222.3 132.8 227.9 143zM283.9 240C290 249.9 290.2 262.4 284.5 272.5C278.8 282.6 268 288.8 256.3 288.7C244.7 288.6 234.1 282.2 228.5 272C222.4 262.1 222.2 249.6 227.9 239.5C233.6 229.4 244.4 223.2 256.1 223.3C267.7 223.4 278.3 229.8 283.9 240zM339.9 337C346 346.9 346.2 359.4 340.5 369.5C334.8 379.6 324 385.8 312.3 385.7C300.7 385.6 290.1 379.2 284.5 369C278.4 359.1 278.2 346.6 283.9 336.5C289.6 326.4 300.4 320.2 312.1 320.3C323.7 320.4 334.3 326.8 339.9 337zM380.9 184C387 193.9 387.2 206.4 381.5 216.5C375.8 226.6 365 232.8 353.3 232.7C341.7 232.6 331.1 226.2 325.5 216C319.4 206.1 319.2 193.6 324.9 183.5C330.6 173.4 341.4 167.2 353.1 167.3C364.7 167.4 375.3 173.8 380.9 184z"/><path d="M184.2 131.3C174 136.9 167.6 147.5 167.5 159.1C167.4 170.8 173.6 181.6 183.7 187.3C193.8 193 206.3 192.8 216.2 186.7C226.4 181.1 232.8 170.5 232.9 158.9C233 147.2 226.8 136.4 216.7 130.7C206.6 125 194.1 125.2 184.2 131.3zM369.2 227.7C379.4 222.1 385.8 211.5 385.9 199.9C386 188.2 379.8 177.4 369.7 171.7C359.6 166 347.1 166.2 337.2 172.3C327 177.9 320.6 188.5 320.5 200.1C320.4 211.8 326.6 222.6 336.7 228.3C346.8 234 359.3 233.8 369.2 227.7zM272.2 283.7C282.4 278.1 288.8 267.5 288.9 255.9C289 244.2 282.8 233.4 272.7 227.7C262.6 222 250.1 222.2 240.2 228.3C230 233.9 223.6 244.5 223.5 256.1C223.4 267.8 229.6 278.6 239.7 284.3C249.8 290 262.3 289.8 272.2 283.7zM175.2 339.7C185.4 334.1 191.8 323.5 191.9 311.9C192 300.2 185.8 289.4 175.7 283.7C165.6 278 153.1 278.2 143.2 284.3C133 289.9 126.6 300.5 126.5 312.1C126.4 323.8 132.6 334.6 142.7 340.3C152.8 346 165.3 345.8 175.2 339.7zM296.2 325.3C286 330.9 279.6 341.5 279.5 353.1C279.4 364.8 285.6 375.6 295.7 381.3C305.8 387 318.3 386.8 328.2 380.7C338.4 375.1 344.8 364.5 344.9 352.9C345 341.2 338.8 330.4 328.7 324.7C318.6 319 306.1 319.2 296.2 325.3zM256.2 481.8L256.2 512C256.2 547.3 284.9 576 320.2 576L512.2 576C547.5 576 576.2 547.3 576.2 512L576.2 320C576.2 284.7 547.5 256 512.2 256L482 256L441.5 407.2C424.9 469.2 362.6 506.8 300.5 493.5L294.5 492.1L256.2 481.8z"/></svg>
{:else if name === 'ip-normalize'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M0 128C0 145.7 14.3 160 32 160L608 160C625.7 160 640 145.7 640 128C640 110.3 625.7 96 608 96L32 96C14.3 96 0 110.3 0 128zM0 512C0 529.7 14.3 544 32 544L608 544C625.7 544 640 529.7 640 512C640 494.3 625.7 480 608 480L32 480C14.3 480 0 494.3 0 512z"/><path d="M177 273C186.4 263.6 186.4 248.4 177 239.1C167.6 229.8 152.4 229.7 143.1 239.1L96.1 286.1L49.1 239.1C39.7 229.7 24.5 229.7 15.2 239.1C5.9 248.5 5.7 263.6 15 273L62 320L15 367C5.6 376.4 5.6 391.6 15 400.9C24.4 410.2 39.6 410.3 48.9 400.9L95.9 353.9L142.9 400.9C152.3 410.3 167.5 410.3 176.8 400.9C186.1 391.5 186.2 376.3 176.8 367L129.8 320L176.8 273zM273 239C263.6 229.6 248.4 229.6 239.1 239C229.8 248.4 229.7 263.6 239.1 272.9L286.1 319.9L239.1 366.9C229.7 376.3 229.7 391.5 239.1 400.8C248.5 410.1 263.7 410.2 273 400.8L320 353.8L367 400.8C376.4 410.2 391.6 410.2 400.9 400.8C410.2 391.4 410.3 376.2 400.9 366.9L353.9 319.9L400.9 272.9C410.3 263.5 410.3 248.3 400.9 239C391.5 229.7 376.3 229.6 367 239L320 286L273 239zM463 239C453.6 248.4 453.6 263.6 463 272.9L510 319.9L463 366.9C453.6 376.3 453.6 391.5 463 400.8C472.4 410.1 487.6 410.2 496.9 400.8L543.9 353.8L590.9 400.8C600.3 410.2 615.5 410.2 624.8 400.8C634.1 391.4 634.2 376.2 624.8 366.9L577.8 319.9L624.8 272.9C634.2 263.5 634.2 248.3 624.8 239C615.4 229.7 600.2 229.6 590.9 239L543.9 286L496.9 239C487.5 229.6 472.3 229.6 463 239z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M0 128C0 145.7 14.3 160 32 160L608 160C625.7 160 640 145.7 640 128C640 110.3 625.7 96 608 96L32 96C14.3 96 0 110.3 0 128zM0 512C0 529.7 14.3 544 32 544L608 544C625.7 544 640 529.7 640 512C640 494.3 625.7 480 608 480L32 480C14.3 480 0 494.3 0 512z"/><path d="M177 273C186.4 263.6 186.4 248.4 177 239.1C167.6 229.8 152.4 229.7 143.1 239.1L96.1 286.1L49.1 239.1C39.7 229.7 24.5 229.7 15.2 239.1C5.9 248.5 5.7 263.6 15 273L62 320L15 367C5.6 376.4 5.6 391.6 15 400.9C24.4 410.2 39.6 410.3 48.9 400.9L95.9 353.9L142.9 400.9C152.3 410.3 167.5 410.3 176.8 400.9C186.1 391.5 186.2 376.3 176.8 367L129.8 320L176.8 273zM273 239C263.6 229.6 248.4 229.6 239.1 239C229.8 248.4 229.7 263.6 239.1 272.9L286.1 319.9L239.1 366.9C229.7 376.3 229.7 391.5 239.1 400.8C248.5 410.1 263.7 410.2 273 400.8L320 353.8L367 400.8C376.4 410.2 391.6 410.2 400.9 400.8C410.2 391.4 410.3 376.2 400.9 366.9L353.9 319.9L400.9 272.9C410.3 263.5 410.3 248.3 400.9 239C391.5 229.7 376.3 229.6 367 239L320 286L273 239zM463 239C453.6 248.4 453.6 263.6 463 272.9L510 319.9L463 366.9C453.6 376.3 453.6 391.5 463 400.8C472.4 410.1 487.6 410.2 496.9 400.8L543.9 353.8L590.9 400.8C600.3 410.2 615.5 410.2 624.8 400.8C634.1 391.4 634.2 376.2 624.8 366.9L577.8 319.9L624.8 272.9C634.2 263.5 634.2 248.3 624.8 239C615.4 229.7 600.2 229.6 590.9 239L543.9 286L496.9 239C487.5 229.6 472.3 229.6 463 239z"/></svg>
{:else if name === 'zone-id-handler'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M192 320C192 302.3 206.3 288 224 288L416 288C433.7 288 448 302.3 448 320C448 337.7 433.7 352 416 352L224 352C206.3 352 192 337.7 192 320z"/><path d="M224 128C118 128 32 214 32 320C32 426 118 512 224 512L256 512C273.7 512 288 497.7 288 480C288 462.3 273.7 448 256 448L224 448C153.3 448 96 390.7 96 320C96 249.3 153.3 192 224 192L256 192C273.7 192 288 177.7 288 160C288 142.3 273.7 128 256 128L224 128zM416 128L384 128C366.3 128 352 142.3 352 160C352 177.7 366.3 192 384 192L416 192C486.7 192 544 249.3 544 320C544 390.7 486.7 448 416 448L384 448C366.3 448 352 462.3 352 480C352 497.7 366.3 512 384 512L416 512C522 512 608 426 608 320C608 214 522 128 416 128z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M192 320C192 302.3 206.3 288 224 288L416 288C433.7 288 448 302.3 448 320C448 337.7 433.7 352 416 352L224 352C206.3 352 192 337.7 192 320z"/><path d="M224 128C118 128 32 214 32 320C32 426 118 512 224 512L256 512C273.7 512 288 497.7 288 480C288 462.3 273.7 448 256 448L224 448C153.3 448 96 390.7 96 320C96 249.3 153.3 192 224 192L256 192C273.7 192 288 177.7 288 160C288 142.3 273.7 128 256 128L224 128zM416 128L384 128C366.3 128 352 142.3 352 160C352 177.7 366.3 192 384 192L416 192C486.7 192 544 249.3 544 320C544 390.7 486.7 448 416 448L384 448C366.3 448 352 462.3 352 480C352 497.7 366.3 512 384 512L416 512C522 512 608 426 608 320C608 214 522 128 416 128z"/></svg>
{:else if name === 'eui64-converter'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M105.4 105.4C92.9 117.9 92.9 138.1 105.4 150.6L274.7 320C289.8 304.9 304.9 289.8 320 274.7L150.6 105.4C138.1 92.9 117.8 92.9 105.3 105.4zM320 365.3L434.7 480L384 480C366.3 480 352 494.3 352 512C352 529.7 366.3 544 384 544L512 544C529.7 544 544 529.7 544 512L544 384C544 366.3 529.7 352 512 352C494.3 352 480 366.3 480 384L480 434.7L365.3 320L320 365.3z"/><path d="M352 128C352 110.3 366.3 96 384 96L512 96C529.7 96 544 110.3 544 128L544 256C544 273.7 529.7 288 512 288C494.3 288 480 273.7 480 256L480 205.3L150.6 534.7C138.1 547.2 117.8 547.2 105.3 534.7C92.8 522.2 92.8 501.9 105.3 489.4L434.7 160L384 160C366.3 160 352 145.7 352 128z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M105.4 105.4C92.9 117.9 92.9 138.1 105.4 150.6L274.7 320C289.8 304.9 304.9 289.8 320 274.7L150.6 105.4C138.1 92.9 117.8 92.9 105.3 105.4zM320 365.3L434.7 480L384 480C366.3 480 352 494.3 352 512C352 529.7 366.3 544 384 544L512 544C529.7 544 544 529.7 544 512L544 384C544 366.3 529.7 352 512 352C494.3 352 480 366.3 480 384L480 434.7L365.3 320L320 365.3z"/><path d="M352 128C352 110.3 366.3 96 384 96L512 96C529.7 96 544 110.3 544 128L544 256C544 273.7 529.7 288 512 288C494.3 288 480 273.7 480 256L480 205.3L150.6 534.7C138.1 547.2 117.8 547.2 105.3 534.7C92.8 522.2 92.8 501.9 105.3 489.4L434.7 160L384 160C366.3 160 352 145.7 352 128z"/></svg>
{:else if name === 'ula-generator'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 472L64 552C64 565.3 74.7 576 88 576L168 576C181.3 576 192 565.3 192 552L192 512L232 512C245.3 512 256 501.3 256 488L256 448L296 448C302.4 448 308.5 445.5 313 441L346.3 407.7L232.3 293.7L71 455C66.5 459.5 64 465.6 64 472z"/><path d="M232.3 293.7L346.3 407.7C363.2 413.1 381.3 416 400 416C497.2 416 576 337.2 576 240C576 142.8 497.2 64 400 64C302.8 64 224 142.8 224 240C224 258.7 226.9 276.8 232.3 293.7zM400 200C400 177.9 417.9 160 440 160C462.1 160 480 177.9 480 200C480 222.1 462.1 240 440 240C417.9 240 400 222.1 400 200z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M64 472L64 552C64 565.3 74.7 576 88 576L168 576C181.3 576 192 565.3 192 552L192 512L232 512C245.3 512 256 501.3 256 488L256 448L296 448C302.4 448 308.5 445.5 313 441L346.3 407.7L232.3 293.7L71 455C66.5 459.5 64 465.6 64 472z"/><path d="M232.3 293.7L346.3 407.7C363.2 413.1 381.3 416 400 416C497.2 416 576 337.2 576 240C576 142.8 497.2 64 400 64C302.8 64 224 142.8 224 240C224 258.7 226.9 276.8 232.3 293.7zM400 200C400 177.9 417.9 160 440 160C462.1 160 480 177.9 480 200C480 222.1 462.1 240 440 240C417.9 240 400 222.1 400 200z"/></svg>
<!-- Reference Guides -->
{:else if name === 'ref-cidr'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144.7 537.3C172.9 405.6 184.9 349.8 205 256L270.5 256C226.2 462.9 225.7 465.1 207.3 550.7C203.6 568 186.6 579 169.3 575.3C152 571.6 141 554.6 144.7 537.3zM218.7 192L240.7 89.3C244.4 72 261.4 61 278.7 64.7C296 68.4 307 85.4 303.3 102.7L284.2 192L218.7 192zM336.7 537.3L355.8 448L421.3 448L399.3 550.7C395.6 568 378.6 579 361.3 575.3C344 571.6 333 554.6 336.7 537.3zM369.6 384C413.9 177.1 414.4 174.9 432.7 89.3C436.4 72 453.4 61 470.7 64.7C488 68.4 499 85.4 495.3 102.7C467.1 234.4 455.1 290.2 435 384L369.5 384z"/><path d="M340.6 192L410.7 192L397 256L137.2 256C119.5 256 105.2 241.7 105.2 224C105.2 206.3 119.5 192 137.2 192L340.6 192zM544 256L462.4 256L476.1 192L543.9 192C561.6 192 575.9 206.3 575.9 224C575.9 241.7 561.6 256 543.9 256zM96 384L177.6 384L163.9 448L96.1 448C78.4 448 64.1 433.7 64.1 416C64.1 398.3 78.4 384 96.1 384zM299.4 448L229.3 448L243 384L502.8 384C520.5 384 534.8 398.3 534.8 416C534.8 433.7 520.5 448 502.8 448L299.4 448z"/></svg>
{:else if name === 'ref-vlsm'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 176C64 237.9 114.1 288 176 288C190.3 288 203.9 285.3 216.5 280.5L256 320L320 256L280.5 216.5C285.4 203.9 288 190.3 288 176C288 114.1 237.9 64 176 64C114.1 64 64 114.1 64 176zM224 176C224 202.5 202.5 224 176 224C149.5 224 128 202.5 128 176C128 149.5 149.5 128 176 128C202.5 128 224 149.5 224 176zM320 384L460.8 524.8C489.1 553.1 534.9 553.1 563.2 524.8C570.3 517.7 570.3 506.3 563.2 499.2L384 320L320 384z"/><path d="M280.5 423.5L563.2 140.8C570.3 133.7 570.3 122.3 563.2 115.2C534.9 86.9 489.1 86.9 460.8 115.2L216.5 359.5C203.9 354.6 190.3 352 176 352C114.1 352 64 402.1 64 464C64 525.9 114.1 576 176 576C237.9 576 288 525.9 288 464C288 449.7 285.3 436.1 280.5 423.5zM128 464C128 437.5 149.5 416 176 416C202.5 416 224 437.5 224 464C224 490.5 202.5 512 176 512C149.5 512 128 490.5 128 464z"/></svg>
{:else if name === 'ref-supernetting'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 320C64 329.4 69.4 337.9 77.9 341.8C132.8 367.2 205.7 400.9 296.5 442.8C311.4 449.7 328.6 449.7 343.5 442.8C434.3 400.8 507.2 367.2 562.1 341.8C570.6 337.9 576 329.4 576 320C576 310.6 570.6 302.1 562.1 298.2L470.7 256C428.3 275.6 385.9 295.2 343.5 314.8C328.6 321.7 311.4 321.7 296.5 314.8C254.1 295.2 211.7 275.6 169.3 256L77.9 298.2C69.4 302.1 64 310.6 64 320z"/><path d="M343.5 69.2C328.6 62.3 311.4 62.3 296.5 69.2L77.9 170.2C69.4 174.1 64 182.6 64 192C64 201.4 69.4 209.9 77.9 213.8L296.5 314.8C311.4 321.7 328.6 321.7 343.5 314.8L562.1 213.8C570.6 209.9 576 201.4 576 192C576 182.6 570.6 174.1 562.1 170.2L343.5 69.2zM77.9 426.2C69.4 430.1 64 438.6 64 448C64 457.4 69.4 465.9 77.9 469.8L296.5 570.8C311.4 577.7 328.6 577.7 343.5 570.8L562.1 469.8C570.6 465.9 576 457.4 576 448C576 438.6 570.6 430.1 562.1 426.2L470.7 384L343.5 442.8C328.6 449.7 311.4 449.7 296.5 442.8L169.3 384L77.9 426.2z"/></svg>
{:else if name === 'ref-ipv6-address-types'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M65.1 296C74.5 195.5 141.9 111.8 233.6 78.9C201.7 131.6 180 211 176.5 296L65.1 296zM65.1 344L176.5 344C180 429 201.7 508.4 233.6 561.1C141.9 528.2 74.5 444.5 65.1 344zM224.5 296C227.4 231.4 241.7 171.6 262 127.7C273.4 103 285.8 85.4 297.2 74.7C303.3 68.9 308.4 65.8 312.4 64.1C317.4 64 322.5 64 327.5 64.1C331.5 65.7 336.5 68.9 342.7 74.7C354.1 85.5 366.5 103 377.9 127.7C398.2 171.6 412.5 231.4 415.4 296L224.5 296zM224.5 344L415.4 344C412.5 408.6 398.2 468.4 377.9 512.3C366.5 537 354.1 554.6 342.7 565.3C336.6 571.1 331.5 574.2 327.5 575.9C322.5 576 317.4 576 312.4 575.9C308.4 574.2 303.4 571.1 297.2 565.3C285.8 554.5 273.4 537 262 512.3C241.7 468.4 227.4 408.6 224.5 344zM406.4 78.9C498.1 111.8 565.5 195.5 574.9 296L463.5 296C460 211 438.3 131.6 406.4 78.9zM406.4 561C438.3 508.4 460 429 463.5 344L574.9 344C565.6 444.5 498.1 528.2 406.4 561.1z"/><path d="M378 512.3C398.3 468.4 412.6 408.6 415.5 344L224.6 344C227.5 408.6 241.8 468.4 262.1 512.3C273.5 537 285.9 554.6 297.3 565.3C303.4 571.1 308.5 574.2 312.5 575.9C284.9 575.1 258.4 569.9 233.7 561.1C201.8 508.4 180.1 429 176.6 344L65.1 344C64.4 336.1 64 328.1 64 320C64 311.9 64.4 303.9 65.1 296L176.5 296C180 211 201.8 131.6 233.6 78.9C258.3 70 284.8 64.9 312.4 64.1C308.4 65.7 303.4 68.9 297.2 74.7C285.8 85.5 273.4 103 262 127.7C241.7 171.6 227.4 231.4 224.5 296L415.4 296C412.5 231.4 398.2 171.6 377.9 127.7C366.5 103 354.1 85.4 342.7 74.7C336.5 68.9 331.5 65.8 327.5 64.1C355.1 64.9 381.6 70.1 406.3 78.9C438.2 131.6 459.9 211 463.4 296L574.8 296C576.3 311.7 576.3 328.3 574.8 344L463.4 344C459.9 429 438.1 508.4 406.3 561.1C381.6 570 355.1 575.1 327.5 575.9C331.5 574.3 336.5 571.1 342.7 565.3C354.1 554.5 366.5 537 377.9 512.3z"/></svg>
{:else if name === 'ref-ipv6-prefix-lens'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M96 448C96 501 139 544 192 544C245 544 288 501 288 448C288 395 245 352 192 352C139 352 96 395 96 448zM352 192C352 245 395 288 448 288C501 288 544 245 544 192C544 139 501 96 448 96C395 96 352 139 352 192z"/><path d="M192 96C139 96 96 139 96 192C96 245 139 288 192 288C245 288 288 245 288 192C288 139 245 96 192 96zM448 352C395 352 352 395 352 448C352 501 395 544 448 544C501 544 544 501 544 448C544 395 501 352 448 352z"/></svg>
{:else if name === 'ref-ipv4-in-ipv6'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M96 183.4C105.4 188.8 116.3 192 128 192C139.7 192 150.6 188.9 160 183.4L160 288L288 288L288 183.4C297.4 188.8 308.3 192 320 192C331.7 192 342.6 188.9 352 183.4L352 288L480 288L480 183.4C489.4 188.8 500.3 192 512 192C523.7 192 534.6 188.9 544 183.4L544 320C544 337.7 529.7 352 512 352L352 352L352 456.6C342.6 451.2 331.7 448 320 448C308.3 448 297.4 451.1 288 456.6L288 352L160 352L160 456.6C150.6 451.2 139.7 448 128 448C116.3 448 105.4 451.1 96 456.6L96 183.5z"/><path d="M128 576C92.7 576 64 547.3 64 512C64 476.7 92.7 448 128 448C163.3 448 192 476.7 192 512C192 547.3 163.3 576 128 576zM320 576C284.7 576 256 547.3 256 512C256 476.7 284.7 448 320 448C355.3 448 384 476.7 384 512C384 547.3 355.3 576 320 576zM128 192C92.7 192 64 163.3 64 128C64 92.7 92.7 64 128 64C163.3 64 192 92.7 192 128C192 163.3 163.3 192 128 192zM320 192C284.7 192 256 163.3 256 128C256 92.7 284.7 64 320 64C355.3 64 384 92.7 384 128C384 163.3 355.3 192 320 192zM512 192C476.7 192 448 163.3 448 128C448 92.7 476.7 64 512 64C547.3 64 576 92.7 576 128C576 163.3 547.3 192 512 192z"/></svg>
{:else if name === 'ref-ipv6-privacy-address'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 320C64 337.7 78.3 352 96 352L160 352L160 466.7L134.6 441.3C122.1 428.8 101.8 428.8 89.3 441.3C76.8 453.8 76.8 474.1 89.3 486.6L169.3 566.6C181.8 579.1 202.1 579.1 214.6 566.6L294.6 486.6C307.1 474.1 307.1 453.8 294.6 441.3C282.1 428.8 261.8 428.8 249.3 441.3L223.9 466.7L223.9 352L368.9 352C373.1 318.1 390.6 288.4 415.9 268.1L415.9 173.3L441.3 198.7C453.8 211.2 474.1 211.2 486.6 198.7C499.1 186.2 499.1 165.9 486.6 153.4L406.6 73.4C394.1 60.9 373.8 60.9 361.3 73.4L281.3 153.4C268.8 165.9 268.8 186.2 281.3 198.7C293.8 211.2 314.1 211.2 326.6 198.7L352 173.3L352 288L96 288C78.3 288 64 302.3 64 320zM160 96L160 240L224 240L224 96C224 78.3 209.7 64 192 64C174.3 64 160 78.3 160 96z"/><path d="M464 416L464 368.1C464 350.4 478.3 336.1 496 336.1C513.7 336.1 528 350.4 528 368.1L528 416L464 416zM416 418.7C397.4 425.3 384 443.1 384 464L384 560C384 586.5 405.5 608 432 608L560 608C586.5 608 608 586.5 608 560L608 464C608 443.1 594.6 425.3 576 418.7L576 368.1C576 323.9 540.2 288.1 496 288.1C451.8 288.1 416 323.9 416 368.1L416 418.7z"/></svg>
{:else if name === 'ref-special-blocks'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M96 160C96 124.7 124.7 96 160 96L480 96C515.3 96 544 124.7 544 160L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 160zM144 168C144 181.3 154.7 192 168 192C181.3 192 192 181.3 192 168C192 154.7 181.3 144 168 144C154.7 144 144 154.7 144 168zM144 472C144 485.3 154.7 496 168 496C181.3 496 192 485.3 192 472C192 458.7 181.3 448 168 448C154.7 448 144 458.7 144 472zM448 168C448 181.3 458.7 192 472 192C485.3 192 496 181.3 496 168C496 154.7 485.3 144 472 144C458.7 144 448 154.7 448 168zM448 472C448 485.3 458.7 496 472 496C485.3 496 496 485.3 496 472C496 458.7 485.3 448 472 448C458.7 448 448 458.7 448 472z"/><path d="M168 192C181.3 192 192 181.3 192 168C192 154.7 181.3 144 168 144C154.7 144 144 154.7 144 168C144 181.3 154.7 192 168 192zM472 192C485.3 192 496 181.3 496 168C496 154.7 485.3 144 472 144C458.7 144 448 154.7 448 168C448 181.3 458.7 192 472 192zM192 472C192 458.7 181.3 448 168 448C154.7 448 144 458.7 144 472C144 485.3 154.7 496 168 496C181.3 496 192 485.3 192 472zM472 496C485.3 496 496 485.3 496 472C496 458.7 485.3 448 472 448C458.7 448 448 458.7 448 472C448 485.3 458.7 496 472 496z"/></svg>
{:else if name === 'ref-public-vs-private'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M0 448C0 518.7 57.3 576 128 576C187.6 576 237.8 535.2 252 480L448 480C465.7 480 480 465.7 480 448L480 384C480 366.3 465.7 352 448 352C430.3 352 416 366.3 416 384L416 416L384 416L384 384C384 366.3 369.7 352 352 352C334.3 352 320 366.3 320 384L320 416L252 416C237.8 360.8 187.7 320 128 320C57.3 320 0 377.3 0 448zM192 448C192 483.3 163.3 512 128 512C92.7 512 64 483.3 64 448C64 412.7 92.7 384 128 384C163.3 384 192 412.7 192 448z"/><path d="M512 128C547.3 128 576 156.7 576 192C576 227.3 547.3 256 512 256C476.7 256 448 227.3 448 192C448 156.7 476.7 128 512 128zM512 320C582.7 320 640 262.7 640 192C640 121.3 582.7 64 512 64C452.4 64 402.2 104.8 388 160L192 160C174.3 160 160 174.3 160 192L160 256C160 273.7 174.3 288 192 288C209.7 288 224 273.7 224 256L224 224L256 224L256 256C256 273.7 270.3 288 288 288C305.7 288 320 273.7 320 256L320 224L388 224C402.2 279.2 452.3 320 512 320z"/></svg>
{:else if name === 'ref-carrier-nat'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 320C64 302.3 78.3 288 96 288L544 288C561.7 288 576 302.3 576 320C576 337.7 561.7 352 544 352L96 352C78.3 352 64 337.7 64 320z"/><path d="M425.4 73.4L329.4 169.4C316.9 181.9 316.9 202.2 329.4 214.7C341.9 227.2 362.2 227.2 374.7 214.7L416.1 173.3L416.1 288L480.1 288L480.1 173.3L521.5 214.7C534 227.2 554.3 227.2 566.8 214.7C579.3 202.2 579.3 181.9 566.8 169.4L470.8 73.4C458.3 60.9 438 60.9 425.5 73.4zM480 544L480 352L416 352L416 544C416 561.7 430.3 576 448 576C465.7 576 480 561.7 480 544zM169.4 566.6C181.9 579.1 202.2 579.1 214.7 566.6L310.7 470.6C323.2 458.1 323.2 437.8 310.7 425.3C298.2 412.8 277.9 412.8 265.4 425.3L224 466.7L224 352L160 352L160 466.7L118.6 425.3C106.1 412.8 85.8 412.8 73.3 425.3C60.8 437.8 60.8 458.1 73.3 470.6L169.3 566.6zM160 288L224 288L224 96C224 78.3 209.7 64 192 64C174.3 64 160 78.3 160 96L160 288z"/></svg>
{:else if name === 'ref-link-local-apia'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M33.1 296L144.5 296C148 210.4 170.1 130.9 202.4 78.7C110.3 111.3 42.5 195.2 33.1 296zM33.1 344C42.5 444.8 110.3 528.7 202.4 561.3C170.1 509.1 148 429.6 144.5 344L33.1 344zM192.5 296L383.4 296C380.6 231.5 366.3 172.1 346 128.6C334.6 104.2 322.3 86.8 310.9 76.2C299.7 65.7 292 64 288 64C284 64 276.3 65.7 265.1 76.2C253.7 86.8 241.4 104.2 230 128.6C209.7 172.1 195.4 231.5 192.5 296zM192.5 344C195.4 408.5 209.7 467.9 230 511.4C241.4 535.9 253.7 553.2 265.1 563.8C276.3 574.3 284 576 288 576C292 576 299.7 574.3 310.9 563.8C315.1 559.9 319.5 555 323.9 549.2C311.2 523.5 304 494.6 304 464C304 418.6 319.8 376.9 346.1 344L192.5 344zM373.6 78.7C404.3 128.4 425.8 202.6 430.9 283.4C451.2 276.1 473.2 272.1 496.1 272.1C511.4 272.1 526.3 273.9 540.5 277.3C524.9 185 459.9 109.4 373.7 78.8z"/><path d="M496 608C575.5 608 640 543.5 640 464C640 384.5 575.5 320 496 320C416.5 320 352 384.5 352 464C352 543.5 416.5 608 496 608zM425.4 443.1C418.8 449 408.7 448.5 402.8 441.9C396.9 435.3 397.4 425.2 404 419.3C428.4 397.4 460.6 384 496 384C531.4 384 563.7 397.4 588 419.3C594.6 425.2 595.1 435.3 589.2 441.9C583.3 448.5 573.2 449 566.6 443.1C547.9 426.2 523.2 416 496 416C468.8 416 444.1 426.2 425.4 443.1zM496 508C507 508 516 517 516 528C516 539 507 548 496 548C485 548 476 539 476 528C476 517 485 508 496 508zM496 480C483.9 480 472.8 484.6 464.5 492.1C457.9 498 447.8 497.5 441.9 491C436 484.5 436.5 474.3 443 468.4C457 455.7 475.6 448 496 448C516.4 448 535 455.7 549 468.4C555.6 474.3 556.1 484.4 550.1 491C544.1 497.6 534.1 498.1 527.5 492.1C519.2 484.6 508.1 480 496 480z"/></svg>
{:else if name === 'ref-multicast-basics'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M48 224C48 275.3 62.2 323.4 87 364.4C93.9 375.7 108.6 379.4 120 372.5C131.4 365.6 135 350.9 128.1 339.5C107.7 305.9 96 266.3 96 224C96 181.7 107.7 142.1 128.1 108.4C135 97.1 131.3 82.3 120 75.4C108.7 68.5 93.8 72.2 87 83.6C62.2 124.6 48 172.7 48 224zM144 224C144 258.9 154.2 291.6 171.8 319C179 330.2 193.8 333.4 205 326.2C216.2 319 219.4 304.2 212.2 293C199.4 273.1 192 249.4 192 224C192 198.6 199.4 174.9 212.2 155C219.4 143.8 216.1 129 205 121.8C193.9 114.6 179 117.9 171.8 129C154.2 156.4 144 189 144 224zM427.8 155C440.6 174.9 448 198.6 448 224C448 249.4 440.6 273.1 427.8 293C420.6 304.2 423.9 319 435 326.2C446.1 333.4 461 330.1 468.2 319C485.8 291.6 496 259 496 224C496 189 485.8 156.4 468.2 129C461 117.8 446.2 114.6 435 121.8C423.8 129 420.6 143.8 427.8 155zM511.9 108.4C532.3 142.1 544 181.7 544 224C544 266.3 532.3 305.9 511.9 339.6C505 350.9 508.7 365.7 520 372.6C531.3 379.5 546.1 375.8 553 364.5C577.8 323.5 592 275.4 592 224.1C592 172.8 577.8 124.6 553 83.6C546.1 72.3 531.4 68.6 520 75.5C508.6 82.4 505 97.1 511.9 108.5z"/><path d="M352 279.4C371.1 268.3 384 247.7 384 224C384 188.7 355.3 160 320 160C284.7 160 256 188.7 256 224C256 247.7 268.9 268.4 288 279.4L288 544C288 561.7 302.3 576 320 576C337.7 576 352 561.7 352 544L352 279.4z"/></svg>
{:else if name === 'ref-reverse-dns'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128 128L128 192C128 209.7 142.3 224 160 224L368 224C412.2 224 448 259.8 448 304C448 348.2 412.2 384 368 384L240 384L240 512L368 512C482.9 512 576 418.9 576 304C576 189.1 482.9 96 368 96L160 96C142.3 96 128 110.3 128 128z"/><path d="M240 560C240 572.9 232.2 584.6 220.3 589.6C208.4 594.6 194.6 591.8 185.4 582.7L73.4 470.7L71.2 468.3C61 455.7 61.7 437.2 73.4 425.5L185.4 313.5C194.6 304.3 208.3 301.6 220.3 306.6C232.3 311.6 240 323.1 240 336L240 560z"/></svg>
{:else if name === 'ref-reverse-zones'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M256 224L256 384L384 384L384 224C384 206.3 398.3 192 416 192L480 192C497.7 192 512 177.7 512 160L512 96C512 78.3 497.7 64 480 64L416 64C327.6 64 256 135.6 256 224z"/><path d="M297.4 566.6C309.9 579.1 330.2 579.1 342.7 566.6L470.7 438.6C479.9 429.4 482.6 415.7 477.6 403.7C472.6 391.7 460.9 384 448 384L192 384C179.1 384 167.4 391.8 162.4 403.8C157.4 415.8 160.2 429.5 169.3 438.7L297.3 566.7z"/></svg>
{:else if name === 'ref-icmp'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M319.1 64C333.9 63.6 347 73.3 350.9 87.6L424.9 358.8L442.6 323.4C453.4 301.7 475.6 288 499.8 288L576 288C593.7 288 608 302.3 608 320C608 337.7 593.7 352 576 352L499.8 352L444.6 462.3C438.7 474.2 426 481.1 412.8 479.8C399.6 478.5 388.6 469.2 385.1 456.4L323.7 231.3L255.3 550.7C252.2 565.1 239.8 575.5 225.1 576C210.4 576.5 197.3 566.9 193.3 552.8L135.9 352L64 352C46.3 352 32 337.7 32 320C32 302.3 46.3 288 64 288L135.9 288C164.5 288 189.6 306.9 197.4 334.4L219.6 412L288.7 89.3C291.8 74.9 304.4 64.4 319.1 64z"/><path d=""/></svg>
{:else if name === 'ref-arp-vs-ndp'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M128 208L128 422.7C137.8 418.4 148.6 416 160 416C171.4 416 182.2 418.4 192 422.7L192 208C192 190.3 206.3 176 224 176L248 176L248 200C248 209.7 253.8 218.5 262.8 222.2C271.8 225.9 282.1 223.9 289 217L345 161C354.4 151.6 354.4 136.4 345 127.1L289 71C282.1 64.1 271.8 62.1 262.8 65.8C253.8 69.5 248 78.3 248 88L248 112L224 112C171 112 128 155 128 208zM295 479C285.6 488.4 285.6 503.6 295 512.9L351 568.9C357.9 575.8 368.2 577.8 377.2 574.1C386.2 570.4 392 561.7 392 552L392 528L416 528C469 528 512 485 512 432L512 217.3C502.2 221.6 491.4 224 480 224C468.6 224 457.8 221.6 448 217.3L448 432C448 449.7 433.7 464 416 464L392 464L392 440C392 430.3 386.2 421.5 377.2 417.8C368.2 414.1 357.9 416.1 351 423L295 479z"/><path d="M504 144C504 157.3 493.3 168 480 168C466.7 168 456 157.3 456 144C456 130.7 466.7 120 480 120C493.3 120 504 130.7 504 144zM400 144C400 188.2 435.8 224 480 224C524.2 224 560 188.2 560 144C560 99.8 524.2 64 480 64C435.8 64 400 99.8 400 144zM184 496C184 509.3 173.3 520 160 520C146.7 520 136 509.3 136 496C136 482.7 146.7 472 160 472C173.3 472 184 482.7 184 496zM80 496C80 540.2 115.8 576 160 576C204.2 576 240 540.2 240 496C240 451.8 204.2 416 160 416C115.8 416 80 451.8 80 496z"/></svg>
{:else if name === 'ref-asn'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 368C64 481.3 145.5 531.9 164.2 542.1C166.7 543.5 169.5 544 172.3 544C183.2 544 192 535.1 192 524.3C192 516.8 187.7 509.9 182.2 504.8C172.8 496 160 478.4 160 448.1C160 395.1 203 352.1 256 352.1L352 352.1L352 192.1L240 192.1C142.8 192 64 270.8 64 368z"/><path d="M352 112C352 99.1 359.8 87.4 371.8 82.4C383.8 77.4 397.5 80.2 406.7 89.3L566.7 249.3C579.2 261.8 579.2 282.1 566.7 294.6L406.7 454.6C397.5 463.8 383.8 466.5 371.8 461.5C359.8 456.5 352 444.9 352 432L352 112z"/></svg>
{:else if name === 'ref-ports'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M96 416L96 480C96 515.3 124.7 544 160 544L480 544C515.3 544 544 515.3 544 480L544 416C544 380.7 515.3 352 480 352L160 352C124.7 352 96 380.7 96 416zM400 448C400 461.3 389.3 472 376 472C362.7 472 352 461.3 352 448C352 434.7 362.7 424 376 424C389.3 424 400 434.7 400 448zM432 192C432 205.3 442.7 216 456 216C469.3 216 480 205.3 480 192C480 178.7 469.3 168 456 168C442.7 168 432 178.7 432 192zM480 448C480 461.3 469.3 472 456 472C442.7 472 432 461.3 432 448C432 434.7 442.7 424 456 424C469.3 424 480 434.7 480 448z"/><path d="M160 96C124.7 96 96 124.7 96 160L96 224C96 259.3 124.7 288 160 288L480 288C515.3 288 544 259.3 544 224L544 160C544 124.7 515.3 96 480 96L160 96zM376 168C389.3 168 400 178.7 400 192C400 205.3 389.3 216 376 216C362.7 216 352 205.3 352 192C352 178.7 362.7 168 376 168zM432 192C432 178.7 442.7 168 456 168C469.3 168 480 178.7 480 192C480 205.3 469.3 216 456 216C442.7 216 432 205.3 432 192zM456 472C469.3 472 480 461.3 480 448C480 434.7 469.3 424 456 424C442.7 424 432 434.7 432 448C432 461.3 442.7 472 456 472z"/></svg>
{:else if name === 'ref-wildcard-masks'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M32 221.7C32 229.6 35.1 237.1 40.7 242.7L176 377.9L176 496C176 502.4 178.5 508.5 183 513L237.3 567.3C242.9 572.9 250.4 576 258.3 576C274.7 576 288 562.7 288 546.3L288 377.9L304 361.9L304 301.8L194.2 192L61.7 192C45.3 192 32 205.3 32 221.7z"/><path d="M237.7 96C221.3 96 208 109.3 208 125.7C208 133.6 211.1 141.1 216.7 146.7L352 281.9L352 400C352 406.4 354.5 412.5 359 417L413.3 471.3C418.9 476.9 426.4 480 434.3 480C450.7 480 464 466.7 464 450.3L464 281.9L599.3 146.6C604.9 141 608 133.5 608 125.6C608 109.2 594.7 95.9 578.3 95.9L237.7 96z"/></svg>
{:else if name === 'ref-mtu-mss'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M80 184C160 229.3 240 274.7 320 320C349.3 303.4 381.6 285.1 416.9 265.1L196.2 140.9L176.1 129.6L80 184zM224.8 101.9L451.7 229.6L465.7 237.4L560 184L351.5 65.9C332 54.8 308 54.8 288.4 65.9L224.8 101.9z"/><path d="M351.5 574.1L527.5 474.4C547.6 463 560 441.8 560 418.7L560 184L320 320L80 184L80 418.7C80 441.7 92.4 463 112.4 474.4L288.4 574.1C308 585.2 331.9 585.2 351.5 574.1z"/></svg>
{:else if name === 'plus'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M344 88C344 74.7 333.3 64 320 64C306.7 64 296 74.7 296 88L296 296L88 296C74.7 296 64 306.7 64 320C64 333.3 74.7 344 88 344L296 344L296 552C296 565.3 306.7 576 320 576C333.3 576 344 565.3 344 552L344 344L552 344C565.3 344 576 333.3 576 320C576 306.7 565.3 296 552 296L344 296L344 88z"/></svg>
{:else if name === 'trash'}
@@ -117,35 +159,43 @@
{:else if name === 'tick'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M534 132.5C544.8 140.2 547.2 155.2 539.5 166L275.5 534C271.4 539.7 265 543.4 258 543.9C251 544.4 244 542 239 537L103 401C93.6 391.6 93.6 376.4 103 367.1C112.4 357.8 127.6 357.7 136.9 367.1L253 483L500.5 138C508.2 127.2 523.2 124.8 534 132.5z"/></svg>
{:else if name === 'lightbulb'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M176 256C176 294.4 191 329.2 215.5 355.1C236.8 377.5 260.4 409.1 268.8 448L371.2 448C379.6 409 403.2 377.5 424.5 355.1C449 329.2 464 294.4 464 256C464 176.5 399.5 112 320 112C240.5 112 176 176.5 176 256zM224 248C224 199.4 263.4 160 312 160C325.3 160 336 170.7 336 184C336 197.3 325.3 208 312 208C289.9 208 272 225.9 272 248C272 261.3 261.3 272 248 272C234.7 272 224 261.3 224 248z"/><path d="M424.5 355.1C449 329.2 464 294.4 464 256C464 176.5 399.5 112 320 112C240.5 112 176 176.5 176 256C176 294.4 191 329.2 215.5 355.1C236.8 377.5 260.4 409.1 268.8 448L371.2 448C379.6 409 403.2 377.5 424.5 355.1zM459.3 388.1C435.7 413 416 443.4 416 477.7L416 496C416 540.2 380.2 576 336 576L304 576C259.8 576 224 540.2 224 496L224 477.7C224 443.4 204.3 413 180.7 388.1C148 353.7 128 307.2 128 256C128 150 214 64 320 64C426 64 512 150 512 256C512 307.2 492 353.7 459.3 388.1zM272 248C272 261.3 261.3 272 248 272C234.7 272 224 261.3 224 248C224 199.4 263.4 160 312 160C325.3 160 336 170.7 336 184C336 197.3 325.3 208 312 208C289.9 208 272 225.9 272 248z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M176 256C176 294.4 191 329.2 215.5 355.1C236.8 377.5 260.4 409.1 268.8 448L371.2 448C379.6 409 403.2 377.5 424.5 355.1C449 329.2 464 294.4 464 256C464 176.5 399.5 112 320 112C240.5 112 176 176.5 176 256zM224 248C224 199.4 263.4 160 312 160C325.3 160 336 170.7 336 184C336 197.3 325.3 208 312 208C289.9 208 272 225.9 272 248C272 261.3 261.3 272 248 272C234.7 272 224 261.3 224 248z"/><path d="M424.5 355.1C449 329.2 464 294.4 464 256C464 176.5 399.5 112 320 112C240.5 112 176 176.5 176 256C176 294.4 191 329.2 215.5 355.1C236.8 377.5 260.4 409.1 268.8 448L371.2 448C379.6 409 403.2 377.5 424.5 355.1zM459.3 388.1C435.7 413 416 443.4 416 477.7L416 496C416 540.2 380.2 576 336 576L304 576C259.8 576 224 540.2 224 496L224 477.7C224 443.4 204.3 413 180.7 388.1C148 353.7 128 307.2 128 256C128 150 214 64 320 64C426 64 512 150 512 256C512 307.2 492 353.7 459.3 388.1zM272 248C272 261.3 261.3 272 248 272C234.7 272 224 261.3 224 248C224 199.4 263.4 160 312 160C325.3 160 336 170.7 336 184C336 197.3 325.3 208 312 208C289.9 208 272 225.9 272 248z"/></svg>
{:else if name === 'contiguous'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM172 272C172 234.4 202.4 204 240 204C277.6 204 308 234.4 308 272L308 280C308 291 299 300 288 300C277 300 268 291 268 280L268 272C268 256.5 255.5 244 240 244C224.5 244 212 256.5 212 272L212 280C212 291 203 300 192 300C181 300 172 291 172 280L172 272zM206.7 416.6C197.5 407 197.8 391.8 207.4 382.7C217 373.6 232.2 373.8 241.3 383.4C256.3 399 282.4 416 320 416C357.6 416 383.7 399 398.7 383.4C407.9 373.8 423.1 373.5 432.6 382.7C442.1 391.9 442.5 407.1 433.3 416.6C411.2 439.6 373.3 464 320 464C266.7 464 228.8 439.6 206.7 416.6zM332 272C332 234.4 362.4 204 400 204C437.6 204 468 234.4 468 272L468 280C468 291 459 300 448 300C437 300 428 291 428 280L428 272C428 256.5 415.5 244 400 244C384.5 244 372 256.5 372 272L372 280C372 291 363 300 352 300C341 300 332 291 332 280L332 272z"/><path d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM241.3 383.4C256.3 399 282.4 416 320 416C357.6 416 383.7 399 398.7 383.4C407.9 373.8 423.1 373.5 432.6 382.7C442.1 391.9 442.5 407.1 433.3 416.6C411.2 439.6 373.3 464 320 464C266.7 464 228.8 439.6 206.7 416.6C197.5 407 197.8 391.8 207.4 382.7C217 373.6 232.2 373.8 241.3 383.4zM240 244C224.5 244 212 256.5 212 272L212 280C212 291 203 300 192 300C181 300 172 291 172 280L172 272C172 234.4 202.4 204 240 204C277.6 204 308 234.4 308 272L308 280C308 291 299 300 288 300C277 300 268 291 268 280L268 272C268 256.5 255.5 244 240 244zM372 272L372 280C372 291 363 300 352 300C341 300 332 291 332 280L332 272C332 234.4 362.4 204 400 204C437.6 204 468 234.4 468 272L468 280C468 291 459 300 448 300C437 300 428 291 428 280L428 272C428 256.5 415.5 244 400 244C384.5 244 372 256.5 372 272z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM172 272C172 234.4 202.4 204 240 204C277.6 204 308 234.4 308 272L308 280C308 291 299 300 288 300C277 300 268 291 268 280L268 272C268 256.5 255.5 244 240 244C224.5 244 212 256.5 212 272L212 280C212 291 203 300 192 300C181 300 172 291 172 280L172 272zM206.7 416.6C197.5 407 197.8 391.8 207.4 382.7C217 373.6 232.2 373.8 241.3 383.4C256.3 399 282.4 416 320 416C357.6 416 383.7 399 398.7 383.4C407.9 373.8 423.1 373.5 432.6 382.7C442.1 391.9 442.5 407.1 433.3 416.6C411.2 439.6 373.3 464 320 464C266.7 464 228.8 439.6 206.7 416.6zM332 272C332 234.4 362.4 204 400 204C437.6 204 468 234.4 468 272L468 280C468 291 459 300 448 300C437 300 428 291 428 280L428 272C428 256.5 415.5 244 400 244C384.5 244 372 256.5 372 272L372 280C372 291 363 300 352 300C341 300 332 291 332 280L332 272z"/><path d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM241.3 383.4C256.3 399 282.4 416 320 416C357.6 416 383.7 399 398.7 383.4C407.9 373.8 423.1 373.5 432.6 382.7C442.1 391.9 442.5 407.1 433.3 416.6C411.2 439.6 373.3 464 320 464C266.7 464 228.8 439.6 206.7 416.6C197.5 407 197.8 391.8 207.4 382.7C217 373.6 232.2 373.8 241.3 383.4zM240 244C224.5 244 212 256.5 212 272L212 280C212 291 203 300 192 300C181 300 172 291 172 280L172 272C172 234.4 202.4 204 240 204C277.6 204 308 234.4 308 272L308 280C308 291 299 300 288 300C277 300 268 291 268 280L268 272C268 256.5 255.5 244 240 244zM372 272L372 280C372 291 363 300 352 300C341 300 332 291 332 280L332 272C332 234.4 362.4 204 400 204C437.6 204 468 234.4 468 272L468 280C468 291 459 300 448 300C437 300 428 291 428 280L428 272C428 256.5 415.5 244 400 244C384.5 244 372 256.5 372 272z"/></svg>
{:else if name === 'scattered'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM173.3 255C165 244.6 166.7 229.5 177 221.3L257 157.3C267.4 149 282.5 150.7 290.7 161C298.9 171.3 297.3 186.5 287 194.7L207 258.7C196.6 267 181.5 265.3 173.3 255zM184.8 317.8C181.6 304.9 189.4 291.9 202.3 288.7L266.3 272.7C279.2 269.5 292.2 277.3 295.4 290.2C298.6 303.1 290.8 316.1 277.9 319.3L213.9 335.3C201 338.5 188 330.7 184.8 317.8zM191 383C200.4 373.6 215.6 373.6 224.9 383L229.7 387.8C238.7 396.8 252.4 399 263.7 393.3C289.9 380.2 321.3 383 344.8 400.6L372.7 421.6C374.8 423.2 377.4 424 380 424C384 424 387.8 422 390 418.7L412.1 386.4C419.6 375.5 434.5 372.7 445.5 380.2C456.5 387.7 459.2 402.6 451.7 413.6L429.6 445.9C418.4 462.3 399.8 472.1 380 472.1C367 472.1 354.3 467.9 343.9 460.1L316 439C307.1 432.3 295.1 431.2 285.2 436.2C255.4 451.1 219.4 445.3 195.8 421.7L191 417C181.6 407.6 181.6 392.4 191 383.1zM352 272C352 236.7 373.5 208 400 208C426.5 208 448 236.7 448 272C448 307.3 426.5 336 400 336C373.5 336 352 307.3 352 272z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM448 272C448 236.7 426.5 208 400 208C373.5 208 352 236.7 352 272C352 307.3 373.5 336 400 336C426.5 336 448 307.3 448 272zM277.8 319.3C290.7 316.1 298.5 303.1 295.3 290.2C292.1 277.3 279.1 269.5 266.2 272.7L202.2 288.7C189.3 291.9 181.5 304.9 184.7 317.8C187.9 330.7 200.9 338.5 213.8 335.3L277.8 319.3zM290.7 161C282.4 150.6 267.3 149 257 157.3L177 221.3C166.6 229.6 165 244.7 173.3 255C181.6 265.3 196.7 267 207 258.7L287 194.7C297.4 186.4 299 171.3 290.7 161zM451.8 413.6C459.3 402.7 456.5 387.7 445.6 380.2C434.7 372.7 419.7 375.5 412.2 386.4L390.1 418.7C387.8 422 384.1 424 380.1 424C377.5 424 374.9 423.1 372.8 421.6L344.9 400.6C321.4 383 290 380.2 263.8 393.3C252.5 399 238.8 396.7 229.8 387.8L225 383C215.6 373.6 200.4 373.6 191.1 383C181.8 392.4 181.7 407.6 191.1 416.9L195.9 421.7C219.5 445.3 255.5 451.1 285.3 436.2C295.3 431.2 307.2 432.3 316.1 439L344 460C354.4 467.8 367.1 472 380.1 472C399.9 472 418.5 462.2 429.7 445.8L451.8 413.5z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM173.3 255C165 244.6 166.7 229.5 177 221.3L257 157.3C267.4 149 282.5 150.7 290.7 161C298.9 171.3 297.3 186.5 287 194.7L207 258.7C196.6 267 181.5 265.3 173.3 255zM184.8 317.8C181.6 304.9 189.4 291.9 202.3 288.7L266.3 272.7C279.2 269.5 292.2 277.3 295.4 290.2C298.6 303.1 290.8 316.1 277.9 319.3L213.9 335.3C201 338.5 188 330.7 184.8 317.8zM191 383C200.4 373.6 215.6 373.6 224.9 383L229.7 387.8C238.7 396.8 252.4 399 263.7 393.3C289.9 380.2 321.3 383 344.8 400.6L372.7 421.6C374.8 423.2 377.4 424 380 424C384 424 387.8 422 390 418.7L412.1 386.4C419.6 375.5 434.5 372.7 445.5 380.2C456.5 387.7 459.2 402.6 451.7 413.6L429.6 445.9C418.4 462.3 399.8 472.1 380 472.1C367 472.1 354.3 467.9 343.9 460.1L316 439C307.1 432.3 295.1 431.2 285.2 436.2C255.4 451.1 219.4 445.3 195.8 421.7L191 417C181.6 407.6 181.6 392.4 191 383.1zM352 272C352 236.7 373.5 208 400 208C426.5 208 448 236.7 448 272C448 307.3 426.5 336 400 336C373.5 336 352 307.3 352 272z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM448 272C448 236.7 426.5 208 400 208C373.5 208 352 236.7 352 272C352 307.3 373.5 336 400 336C426.5 336 448 307.3 448 272zM277.8 319.3C290.7 316.1 298.5 303.1 295.3 290.2C292.1 277.3 279.1 269.5 266.2 272.7L202.2 288.7C189.3 291.9 181.5 304.9 184.7 317.8C187.9 330.7 200.9 338.5 213.8 335.3L277.8 319.3zM290.7 161C282.4 150.6 267.3 149 257 157.3L177 221.3C166.6 229.6 165 244.7 173.3 255C181.6 265.3 196.7 267 207 258.7L287 194.7C297.4 186.4 299 171.3 290.7 161zM451.8 413.6C459.3 402.7 456.5 387.7 445.6 380.2C434.7 372.7 419.7 375.5 412.2 386.4L390.1 418.7C387.8 422 384.1 424 380.1 424C377.5 424 374.9 423.1 372.8 421.6L344.9 400.6C321.4 383 290 380.2 263.8 393.3C252.5 399 238.8 396.7 229.8 387.8L225 383C215.6 373.6 200.4 373.6 191.1 383C181.8 392.4 181.7 407.6 191.1 416.9L195.9 421.7C219.5 445.3 255.5 451.1 285.3 436.2C295.3 431.2 307.2 432.3 316.1 439L344 460C354.4 467.8 367.1 472 380.1 472C399.9 472 418.5 462.2 429.7 445.8L451.8 413.5z"/></svg>
{:else if name === 'help'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1C302.3 240.1 288 254.4 288 272.1C288 285.4 277.3 296.1 264 296.1C250.7 296.1 240 285.4 240 272.1zM352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432z"/><path d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM320 240C302.3 240 288 254.3 288 272C288 285.3 277.3 296 264 296C250.7 296 240 285.3 240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1zM288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1C302.3 240.1 288 254.4 288 272.1C288 285.4 277.3 296.1 264 296.1C250.7 296.1 240 285.4 240 272.1zM352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432z"/><path d="M528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320zM64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576C178.6 576 64 461.4 64 320zM320 240C302.3 240 288 254.3 288 272C288 285.3 277.3 296 264 296C250.7 296 240 285.3 240 272C240 227.8 275.8 192 320 192C364.2 192 400 227.8 400 272C400 319.2 364 339.2 344 346.5L344 350.3C344 363.6 333.3 374.3 320 374.3C306.7 374.3 296 363.6 296 350.3L296 342.2C296 321.7 310.8 307 326.1 302C332.5 299.9 339.3 296.5 344.3 291.7C348.6 287.5 352 281.7 352 272.1C352 254.4 337.7 240.1 320 240.1zM288 432C288 414.3 302.3 400 320 400C337.7 400 352 414.3 352 432C352 449.7 337.7 464 320 464C302.3 464 288 449.7 288 432z"/></svg>
{:else if name === 'check-circle'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM236.8 342.4C228.8 331.8 231 316.8 241.6 308.8C252.2 300.8 267.2 303 275.2 313.6L302.2 349.6L363.6 251.3C370.6 240.1 385.4 236.6 396.7 243.7C408 250.8 411.4 265.5 404.3 276.8L324.3 404.8C320.1 411.5 312.9 415.7 305 416.1C297.1 416.5 289.5 412.9 284.8 406.5L236.8 342.5z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM404.4 276.7C411.4 265.5 408 250.7 396.8 243.6C385.6 236.5 370.8 240 363.7 251.2L302.3 349.5L275.3 313.5C267.3 302.9 252.3 300.7 241.7 308.7C231.1 316.7 228.9 331.7 236.9 342.3L284.9 406.3C289.6 412.6 297.2 416.2 305.1 415.9C313 415.6 320.2 411.4 324.4 404.6L404.4 276.6z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM236.8 342.4C228.8 331.8 231 316.8 241.6 308.8C252.2 300.8 267.2 303 275.2 313.6L302.2 349.6L363.6 251.3C370.6 240.1 385.4 236.6 396.7 243.7C408 250.8 411.4 265.5 404.3 276.8L324.3 404.8C320.1 411.5 312.9 415.7 305 416.1C297.1 416.5 289.5 412.9 284.8 406.5L236.8 342.5z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM404.4 276.7C411.4 265.5 408 250.7 396.8 243.6C385.6 236.5 370.8 240 363.7 251.2L302.3 349.5L275.3 313.5C267.3 302.9 252.3 300.7 241.7 308.7C231.1 316.7 228.9 331.7 236.9 342.3L284.9 406.3C289.6 412.6 297.2 416.2 305.1 415.9C313 415.6 320.2 411.4 324.4 404.6L404.4 276.6z"/></svg>
{:else if name === 'alert-triangle'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M117.4 496L320 120.8L522.6 496L117.4 496zM293.3 448C292.7 457.9 297.6 467.3 306.1 472.5C314.6 477.6 325.3 477.6 333.8 472.5C342.3 467.3 347.2 457.9 346.6 448C347.2 438.1 342.3 428.7 333.8 423.5C325.3 418.4 314.6 418.4 306.1 423.5C297.6 428.7 292.7 438.1 293.3 448zM296 256L296 368C296 381.3 306.7 392 320 392C333.3 392 344 381.3 344 368L344 256C344 242.7 333.3 232 320 232C306.7 232 296 242.7 296 256z"/><path d="M117.4 496L320 120.8L522.6 496L117.4 496zM355.2 85C348.2 72.1 334.7 64 320 64C305.3 64 291.8 72.1 284.8 85L68.8 485C62.1 497.4 62.4 512.4 69.6 524.5C76.8 536.6 89.9 544 104 544L536 544C550.1 544 563.1 536.6 570.4 524.5C577.7 512.4 577.9 497.4 571.2 485L355.2 85zM320 232C306.7 232 296 242.7 296 256L296 368C296 381.3 306.7 392 320 392C333.3 392 344 381.3 344 368L344 256C344 242.7 333.3 232 320 232zM346.7 448C347.3 438.1 342.4 428.7 333.9 423.5C325.4 418.4 314.7 418.4 306.2 423.5C297.7 428.7 292.8 438.1 293.4 448C292.8 457.9 297.7 467.3 306.2 472.5C314.7 477.6 325.4 477.6 333.9 472.5C342.4 467.3 347.3 457.9 346.7 448z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M117.4 496L320 120.8L522.6 496L117.4 496zM293.3 448C292.7 457.9 297.6 467.3 306.1 472.5C314.6 477.6 325.3 477.6 333.8 472.5C342.3 467.3 347.2 457.9 346.6 448C347.2 438.1 342.3 428.7 333.8 423.5C325.3 418.4 314.6 418.4 306.1 423.5C297.6 428.7 292.7 438.1 293.3 448zM296 256L296 368C296 381.3 306.7 392 320 392C333.3 392 344 381.3 344 368L344 256C344 242.7 333.3 232 320 232C306.7 232 296 242.7 296 256z"/><path d="M117.4 496L320 120.8L522.6 496L117.4 496zM355.2 85C348.2 72.1 334.7 64 320 64C305.3 64 291.8 72.1 284.8 85L68.8 485C62.1 497.4 62.4 512.4 69.6 524.5C76.8 536.6 89.9 544 104 544L536 544C550.1 544 563.1 536.6 570.4 524.5C577.7 512.4 577.9 497.4 571.2 485L355.2 85zM320 232C306.7 232 296 242.7 296 256L296 368C296 381.3 306.7 392 320 392C333.3 392 344 381.3 344 368L344 256C344 242.7 333.3 232 320 232zM346.7 448C347.3 438.1 342.4 428.7 333.9 423.5C325.4 418.4 314.7 418.4 306.2 423.5C297.7 428.7 292.8 438.1 293.4 448C292.8 457.9 297.7 467.3 306.2 472.5C314.7 477.6 325.4 477.6 333.9 472.5C342.4 467.3 347.3 457.9 346.7 448z"/></svg>
{:else if name === 'arrow-down'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM231 311C240.4 301.6 255.6 301.6 264.9 311L295.9 342L295.9 239.9C295.9 226.6 306.6 215.9 319.9 215.9C333.2 215.9 343.9 226.6 343.9 239.9L343.9 342L374.9 311C384.3 301.6 399.5 301.6 408.8 311C418.1 320.4 418.2 335.6 408.8 344.9L336.8 416.9C327.4 426.3 312.2 426.3 302.9 416.9L230.9 344.9C221.5 335.5 221.5 320.3 230.9 311z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM303 417C312.4 426.4 327.6 426.4 336.9 417L408.9 345C418.3 335.6 418.3 320.4 408.9 311.1C399.5 301.8 384.3 301.7 375 311.1L344 342.1L344 240C344 226.7 333.3 216 320 216C306.7 216 296 226.7 296 240L296 342.1L265 311.1C255.6 301.7 240.4 301.7 231.1 311.1C221.8 320.5 221.7 335.7 231.1 345L303.1 417z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112C205.1 112 112 205.1 112 320zM231 311C240.4 301.6 255.6 301.6 264.9 311L295.9 342L295.9 239.9C295.9 226.6 306.6 215.9 319.9 215.9C333.2 215.9 343.9 226.6 343.9 239.9L343.9 342L374.9 311C384.3 301.6 399.5 301.6 408.8 311C418.1 320.4 418.2 335.6 408.8 344.9L336.8 416.9C327.4 426.3 312.2 426.3 302.9 416.9L230.9 344.9C221.5 335.5 221.5 320.3 230.9 311z"/><path d="M320 112C434.9 112 528 205.1 528 320C528 434.9 434.9 528 320 528C205.1 528 112 434.9 112 320C112 205.1 205.1 112 320 112zM320 576C461.4 576 576 461.4 576 320C576 178.6 461.4 64 320 64C178.6 64 64 178.6 64 320C64 461.4 178.6 576 320 576zM303 417C312.4 426.4 327.6 426.4 336.9 417L408.9 345C418.3 335.6 418.3 320.4 408.9 311.1C399.5 301.8 384.3 301.7 375 311.1L344 342.1L344 240C344 226.7 333.3 216 320 216C306.7 216 296 226.7 296 240L296 342.1L265 311.1C255.6 301.7 240.4 301.7 231.1 311.1C221.8 320.5 221.7 335.7 231.1 345L303.1 417z"/></svg>
{:else if name === 'grid'}
<svg fill="currentColor" viewBox="0 0 24 24">
<path d="M3 3h8v8H3V3zm10 0h8v8h-8V3zM3 13h8v8H3v-8zm10 0h8v8h-8v-8z"/>
</svg>
{:else if name === 'union'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M152 96C165.3 96 176 106.7 176 120L176 352C176 431.5 240.5 496 320 496C399.5 496 464 431.5 464 352L464 120C464 106.7 474.7 96 488 96C501.3 96 512 106.7 512 120L512 352C512 458 426 544 320 544C214 544 128 458 128 352L128 120C128 106.7 138.7 96 152 96z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M152 96C165.3 96 176 106.7 176 120L176 352C176 431.5 240.5 496 320 496C399.5 496 464 431.5 464 352L464 120C464 106.7 474.7 96 488 96C501.3 96 512 106.7 512 120L512 352C512 458 426 544 320 544C214 544 128 458 128 352L128 120C128 106.7 138.7 96 152 96z"/></svg>
{:else if name === 'intersection'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M152 544C165.3 544 176 533.3 176 520L176 288C176 208.5 240.5 144 320 144C399.5 144 464 208.5 464 288L464 520C464 533.3 474.7 544 488 544C501.3 544 512 533.3 512 520L512 288C512 182 426 96 320 96C214 96 128 182 128 288L128 520C128 533.3 138.7 544 152 544z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M152 544C165.3 544 176 533.3 176 520L176 288C176 208.5 240.5 144 320 144C399.5 144 464 208.5 464 288L464 520C464 533.3 474.7 544 488 544C501.3 544 512 533.3 512 520L512 288C512 182 426 96 320 96C214 96 128 182 128 288L128 520C128 533.3 138.7 544 152 544z"/></svg>
{:else if name === 'diff'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M96 320C96 306.7 106.7 296 120 296L520 296C533.3 296 544 306.7 544 320C544 333.3 533.3 344 520 344L120 344C106.7 344 96 333.3 96 320z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M96 320C96 306.7 106.7 296 120 296L520 296C533.3 296 544 306.7 544 320C544 333.3 533.3 344 520 344L120 344C106.7 344 96 333.3 96 320z"/></svg>
{:else if name === 'containment'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d=""/><path d="M527.7 142.7C540.3 138.4 547 124.8 542.7 112.3C538.4 99.8 524.8 93 512.3 97.3L112.3 233.3C102.6 236.6 96 245.7 96 256C96 266.3 102.5 275.4 112.3 278.7L512.3 414.7C524.8 419 538.5 412.3 542.7 399.7C546.9 387.1 540.3 373.5 527.7 369.3L194.6 256L527.7 142.7zM120 496C106.7 496 96 506.7 96 520C96 533.3 106.7 544 120 544L520 544C533.3 544 544 533.3 544 520C544 506.7 533.3 496 520 496L120 496z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d=""/><path d="M527.7 142.7C540.3 138.4 547 124.8 542.7 112.3C538.4 99.8 524.8 93 512.3 97.3L112.3 233.3C102.6 236.6 96 245.7 96 256C96 266.3 102.5 275.4 112.3 278.7L512.3 414.7C524.8 419 538.5 412.3 542.7 399.7C546.9 387.1 540.3 373.5 527.7 369.3L194.6 256L527.7 142.7zM120 496C106.7 496 96 506.7 96 520C96 533.3 106.7 544 120 544L520 544C533.3 544 544 533.3 544 520C544 506.7 533.3 496 520 496L120 496z"/></svg>
{:else if name === 'next-available-subnet'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M144 288L144 352L344 352C357.3 352 368 362.7 368 376L368 441.4L489.4 320L368 198.6L368 264C368 277.3 357.3 288 344 288L144 288z"/><path d="M489.4 320L368 198.6L368 264C368 277.3 357.3 288 344 288L144 288L144 352L344 352C357.3 352 368 362.7 368 376L368 441.4L489.4 320zM534.7 297.4C547.2 309.9 547.2 330.2 534.7 342.7L374.7 502.7C365.5 511.9 351.8 514.6 339.8 509.6L339.8 509.6C327.8 504.6 320 493 320 480L320 400L144 400C117.5 400 96 378.5 96 352L96 288C96 261.5 117.5 240 144 240L320 240L320 160C320 147.1 327.8 135.4 339.8 130.4L339.8 130.4C351.8 125.4 365.5 128.2 374.7 137.3L534.7 297.3z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M144 288L144 352L344 352C357.3 352 368 362.7 368 376L368 441.4L489.4 320L368 198.6L368 264C368 277.3 357.3 288 344 288L144 288z"/><path d="M489.4 320L368 198.6L368 264C368 277.3 357.3 288 344 288L144 288L144 352L344 352C357.3 352 368 362.7 368 376L368 441.4L489.4 320zM534.7 297.4C547.2 309.9 547.2 330.2 534.7 342.7L374.7 502.7C365.5 511.9 351.8 514.6 339.8 509.6L339.8 509.6C327.8 504.6 320 493 320 480L320 400L144 400C117.5 400 96 378.5 96 352L96 288C96 261.5 117.5 240 144 240L320 240L320 160C320 147.1 327.8 135.4 339.8 130.4L339.8 130.4C351.8 125.4 365.5 128.2 374.7 137.3L534.7 297.3z"/></svg>
{:else if name === 'x'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M183.1 137.4C170.6 124.9 150.3 124.9 137.8 137.4C125.3 149.9 125.3 170.2 137.8 182.7L275.2 320L137.9 457.4C125.4 469.9 125.4 490.2 137.9 502.7C150.4 515.2 170.7 515.2 183.2 502.7L320.5 365.3L457.9 502.6C470.4 515.1 490.7 515.1 503.2 502.6C515.7 490.1 515.7 469.8 503.2 457.3L365.8 320L503.1 182.6C515.6 170.1 515.6 149.8 503.1 137.3C490.6 124.8 470.3 124.8 457.8 137.3L320.5 274.7L183.1 137.4z"/><path d=""/></svg>
{:else if name === 'refresh'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 416.3L65 543.3C65.1 561 79.6 575.2 97.3 575C115 574.8 129.2 560.4 129 542.7L128.6 491.2L139.3 501.3C185.6 547.4 249.5 576 320 576C449 576 555.7 480.6 573.4 356.5C575.9 339 563.7 322.8 546.3 320.3C528.9 317.8 512.6 330 510.1 347.4C496.8 440.4 416.7 511.9 320 511.9C267 511.9 219 490.4 184.2 455.7C184 455.5 183.8 455.3 183.6 455.1L176 447.9L223.9 447.9C241.6 447.9 255.9 433.6 255.9 415.9C255.9 398.2 241.6 383.9 223.9 383.9L96 384C87.5 384 79.3 387.4 73.3 393.5C67.3 399.6 63.9 407.7 64 416.3z"/><path d="M320 128C223.3 128 143.3 199.5 129.9 292.5C127.4 310 111.2 322.1 93.7 319.6C76.2 317.1 64.1 301 66.6 283.5C84.3 159.4 191 64 320 64C390.5 64 454.5 92.6 500.7 138.7L512 149.4L512 96C512 78.3 526.3 64 544 64C561.7 64 576 78.3 576 96L576 224C576 241.7 561.7 256 544 256L416 256C398.3 256 384 241.7 384 224C384 206.3 398.3 192 416 192L463.9 192L456.3 184.8C456.1 184.6 455.9 184.4 455.7 184.2C420.9 149.4 373 128 319.9 128z"/></svg>
{:else if name === 'next'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M64 320C64 337.7 78.3 352 96 352L466.7 352L498.7 320L466.7 288L96 288C78.3 288 64 302.3 64 320z"/><path d="M566.6 297.4C579.1 309.9 579.1 330.2 566.6 342.7L406.6 502.7C394.1 515.2 373.8 515.2 361.3 502.7C348.8 490.2 348.8 469.9 361.3 457.4L498.7 320L361.4 182.6C348.9 170.1 348.9 149.8 361.4 137.3C373.9 124.8 394.2 124.8 406.7 137.3L566.7 297.3z"/></svg>
{:else if name === 'previous'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M141.3 320L173.3 352L544 352C561.7 352 576 337.7 576 320C576 302.3 561.7 288 544 288L173.3 288L141.3 320z"/><path d="M73.4 342.6C60.9 330.1 60.9 309.8 73.4 297.3L233.4 137.3C245.9 124.8 266.2 124.8 278.7 137.3C291.2 149.8 291.2 170.1 278.7 182.6L141.3 320L278.6 457.4C291.1 469.9 291.1 490.2 278.6 502.7C266.1 515.2 245.8 515.2 233.3 502.7L73.3 342.7z"/></svg>
{:else if name === 'draggable'}
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro v7.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2025 Fonticons, Inc.--><path opacity=".4" d="M119.8 320L160 353.5L160 286.5L119.8 320zM286.5 160L353.5 160L320 119.8L286.5 160zM286.5 480L320 520.2L353.5 480L286.5 480zM480 286.5L480 353.5L520.2 320L480 286.5z"/><path d="M320 119.8L353.5 160L286.5 160L320 119.8zM293.8 76.3L232.2 150.2C226.9 156.5 224 164.5 224 172.8C224 192.3 239.8 208 259.2 208L296 208L296 296L208 296L208 259.2C208 239.7 192.2 224 172.8 224C164.6 224 156.6 226.9 150.2 232.2L76.3 293.8C68.5 300.2 64 309.9 64 320C64 330.1 68.5 339.8 76.3 346.2L150.2 407.8C156.5 413.1 164.5 416 172.8 416C192.3 416 208 400.2 208 380.8L208 344L296 344L296 432L259.2 432C239.7 432 224 447.8 224 467.2C224 475.4 226.9 483.4 232.2 489.8L293.8 563.7C300.3 571.5 309.9 576 320 576C330.1 576 339.8 571.5 346.2 563.7L407.8 489.8C413.1 483.5 416 475.5 416 467.2C416 447.7 400.2 432 380.8 432L344 432L344 344L432 344L432 380.8C432 400.3 447.8 416 467.2 416C475.4 416 483.4 413.1 489.8 407.8L563.7 346.2C571.5 339.7 576 330.1 576 320C576 309.9 571.5 300.2 563.7 293.8L489.8 232.2C483.5 226.9 475.5 224 467.2 224C447.7 224 432 239.8 432 259.2L432 296L344 296L344 208L380.8 208C400.3 208 416 192.2 416 172.8C416 164.6 413.1 156.6 407.8 150.2L346.2 76.3C339.8 68.5 330.1 64 320 64C309.9 64 300.2 68.5 293.8 76.3zM320 520.2L286.5 480L353.5 480L320 520.2zM520.2 320L480 353.5L480 286.5L520.2 320zM160 353.5L119.8 320L160 286.5L160 353.5z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M119.8 320L160 353.5L160 286.5L119.8 320zM286.5 160L353.5 160L320 119.8L286.5 160zM286.5 480L320 520.2L353.5 480L286.5 480zM480 286.5L480 353.5L520.2 320L480 286.5z"/><path d="M320 119.8L353.5 160L286.5 160L320 119.8zM293.8 76.3L232.2 150.2C226.9 156.5 224 164.5 224 172.8C224 192.3 239.8 208 259.2 208L296 208L296 296L208 296L208 259.2C208 239.7 192.2 224 172.8 224C164.6 224 156.6 226.9 150.2 232.2L76.3 293.8C68.5 300.2 64 309.9 64 320C64 330.1 68.5 339.8 76.3 346.2L150.2 407.8C156.5 413.1 164.5 416 172.8 416C192.3 416 208 400.2 208 380.8L208 344L296 344L296 432L259.2 432C239.7 432 224 447.8 224 467.2C224 475.4 226.9 483.4 232.2 489.8L293.8 563.7C300.3 571.5 309.9 576 320 576C330.1 576 339.8 571.5 346.2 563.7L407.8 489.8C413.1 483.5 416 475.5 416 467.2C416 447.7 400.2 432 380.8 432L344 432L344 344L432 344L432 380.8C432 400.3 447.8 416 467.2 416C475.4 416 483.4 413.1 489.8 407.8L563.7 346.2C571.5 339.7 576 330.1 576 320C576 309.9 571.5 300.2 563.7 293.8L489.8 232.2C483.5 226.9 475.5 224 467.2 224C447.7 224 432 239.8 432 259.2L432 296L344 296L344 208L380.8 208C400.3 208 416 192.2 416 172.8C416 164.6 413.1 156.6 407.8 150.2L346.2 76.3C339.8 68.5 330.1 64 320 64C309.9 64 300.2 68.5 293.8 76.3zM320 520.2L286.5 480L353.5 480L320 520.2zM520.2 320L480 353.5L480 286.5L520.2 320zM160 353.5L119.8 320L160 286.5L160 353.5z"/></svg>
{:else}
<!-- Default fallback icon -->
<svg fill="currentColor" viewBox="0 0 24 24">
@@ -174,6 +224,10 @@
width: 1.5rem;
height: 1.5rem;
}
&.w-8 {
width: 1.75rem;
height: 1.75rem;
}
}
.icon svg {
+1
View File
@@ -82,6 +82,7 @@
background-color: var(--bg-tertiary);
border-bottom: 1px solid var(--border-primary);
padding: var(--spacing-sm) 0;
display: none;
@media (max-width: 768px) {
display: none;
}
+28 -20
View File
@@ -1,3 +1,5 @@
import { site, author, license } from '$lib/constants/site';
export type NavItem = {
href: string;
label: string;
@@ -233,19 +235,19 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
href: '/reference/cidr',
label: 'CIDR Notation Explained',
description: 'What CIDR is, why it replaced IP classes, and how to read network prefixes',
icon: 'hash'
icon: 'ref-cidr'
},
{
href: '/reference/vlsm',
label: 'VLSM in Plain English',
description: 'Variable Length Subnet Masking - when to use it and common pitfalls',
icon: 'scissors'
icon: 'ref-vlsm'
},
{
href: '/reference/supernetting',
label: 'Route Summarization / Supernetting',
description: 'Combine multiple networks into single routes for efficient routing',
icon: 'layers'
icon: 'ref-supernetting'
}
]
},
@@ -256,25 +258,25 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
href: '/reference/ipv6-address-types',
label: 'IPv6 Address Types & Key Prefixes',
description: 'Global unicast, ULA, link-local, multicast, and special IPv6 addresses',
icon: 'globe'
icon: 'ref-ipv6-address-types'
},
{
href: '/reference/ipv6-prefix-lengths',
label: 'Common IPv6 Prefix Lengths',
description: 'Quick reference for /128, /127, /64, /60, /56, /48, /32 with typical uses',
icon: 'grid'
icon: 'ref-ipv6-prefix-lens'
},
{
href: '/reference/ipv6-embedded-ipv4',
label: 'IPv4 in IPv6',
description: 'IPv4-mapped addresses, 6to4, Teredo, and transition mechanisms',
icon: 'shuffle'
icon: 'ref-ipv4-in-ipv6'
},
{
href: '/reference/ipv6-privacy-addresses',
label: 'IPv6 Privacy Addresses',
description: 'SLAAC privacy extensions: temporary vs stable interface identifiers',
icon: 'eye-off'
icon: 'ref-ipv6-privacy-address'
}
]
},
@@ -285,31 +287,31 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
href: '/reference/special-use-ipv4',
label: 'Special-Use IPv4 Blocks (RFC 6890)',
description: 'Reserved IPv4 ranges including private networks, CGNAT, and test blocks',
icon: 'shield'
icon: 'ref-special-blocks'
},
{
href: '/reference/private-vs-public-ip',
label: 'Private vs Public IP Addresses',
description: 'Understanding private/public IPs, NAT implications, and identification',
icon: 'lock'
icon: 'ref-public-vs-private'
},
{
href: '/reference/cgnat',
label: 'Carrier-Grade NAT Explained',
description: 'CGNAT (100.64.0.0/10), how to identify it, and service impacts',
icon: 'layers'
icon: 'ref-carrier-nat'
},
{
href: '/reference/link-local-apipa',
label: 'Link-Local & APIPA Addresses',
description: 'IPv4 APIPA (169.254/16) and IPv6 link-local (fe80::/10) at a glance',
icon: 'wifi'
icon: 'ref-link-local-apia'
},
{
href: '/reference/multicast',
label: 'IPv4 & IPv6 Multicast Basics',
description: 'Multicast scopes, well-known groups, and local subnet limitations',
icon: 'radio'
icon: 'ref-multicast-basics'
}
]
},
@@ -320,25 +322,25 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
href: '/reference/reverse-dns',
label: 'Reverse DNS (PTR Records)',
description: 'How in-addr.arpa and ip6.arpa work with examples for IPv4 and IPv6',
icon: 'corner-down-left'
icon: 'ref-reverse-dns'
},
{
href: '/reference/reverse-zones',
label: 'Reverse Zones for CIDR Delegation',
description: 'Minimal reverse DNS zones needed to delegate IPv4 and IPv6 CIDR blocks',
icon: 'corner-down-left'
icon: 'ref-reverse-zones'
},
{
href: '/reference/icmp',
label: 'ICMP & ICMPv6: Common Types',
description: 'Practical guide to ICMP message types for network troubleshooting',
icon: 'activity'
icon: 'ref-icmp'
},
{
href: '/reference/arp-vs-ndp',
label: 'ARP vs NDP',
description: 'Side-by-side comparison of IPv4 ARP and IPv6 Neighbor Discovery',
icon: 'git-compare'
icon: 'ref-arp-vs-ndp'
}
]
},
@@ -349,31 +351,37 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
href: '/reference/asn',
label: 'What is an ASN?',
description: 'Autonomous Systems, BGP basics, and how IP addresses map to ASNs',
icon: 'share-2'
icon: 'ref-asn'
},
{
href: '/reference/ports',
label: 'Common TCP/UDP Ports',
description: 'Quick reference for frequently used port numbers and services',
icon: 'server'
icon: 'ref-ports'
},
{
href: '/reference/wildcard-masks',
label: 'ACL Wildcard Masks',
description: 'Wildcard masks vs netmasks, quick conversions and ACL examples',
icon: 'filter'
icon: 'ref-wildcard-masks'
},
{
href: '/reference/mtu-mss',
label: 'Common MTU/MSS Values',
description: 'MTU and MSS values for Ethernet, PPPoE, VPN, and overhead calculations',
icon: 'package'
icon: 'ref-mtu-mss'
}
]
}
],
};
export const footerLinks: NavItem[] = [
{ href: '/about', label: 'About' },
{ href: site.repo, label: 'GitHub' },
{ href: author.portfolio, label: 'More Apps →' },
];
// Helper: is a nav item active for a given pathname?
export function isActive(pathname: string, href: string): boolean {
if (href === '/') return pathname === '/';
+1 -1
View File
@@ -63,7 +63,7 @@ main {
padding: 0 var(--spacing-md);
margin: 1rem auto;
background: var(--bg-primary);
padding: var(--spacing-lg) 0;
padding: var(--spacing-lg) var(--spacing-md);
}
</style>
+1 -1
View File
@@ -37,7 +37,7 @@
margin: 0 auto;
h2 {
font-size: var(--font-size-2xl);
font-size: var(--font-size-3xl);
font-weight: 700;
color: var(--text-primary);
margin-bottom: var(--spacing-md);
+112 -10
View File
@@ -1,17 +1,119 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { pages } from '$lib/constants/site';
import { onMount } from 'svelte';
import { site } from '$lib/constants/site';
import { SUB_NAV } from '$lib/constants/nav';
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
import type { NavItem, NavGroup } from '$lib/constants/nav';
import '../../styles/pages.scss';
onMount(() => {
goto('/cidr/mask-converter/cidr-to-subnet-mask', { replaceState: true });
});
// Extract tools for CIDR section
function extractNavItems(items: (NavItem | NavGroup)[]): NavItem[] {
const navItems: NavItem[] = [];
for (const item of items) {
if ('href' in item) {
navItems.push(item);
} else if ('title' in item && 'items' in item) {
navItems.push(...item.items);
}
}
return navItems;
}
const cidrTools = extractNavItems(SUB_NAV['/cidr'] || []);
</script>
<svelte:head>
<title>{pages.cidrConverter.title}</title>
<meta name="description" content="{pages.cidrConverter.description}" />
<title>CIDR Tools & Converters | {site.title}</title>
<meta name="description" content="Comprehensive CIDR tools including subnet mask converters, CIDR summarizer, splitter, and set operations for network analysis and optimization." />
<meta name="keywords" content="{site.keywords}, CIDR, subnet mask converter, CIDR summarizer, network tools, IP range calculator" />
<meta property="og:title" content="CIDR Tools & Converters" />
<meta property="og:description" content="Professional CIDR tools for network engineers including converters, summarizers, and set operations." />
<meta property="og:url" content="{site.url}/cidr" />
</svelte:head>
<!-- This page automatically redirects to the first sub-page -->
<div>Redirecting to CIDR to Subnet Mask converter...</div>
<div class="page-container">
<header class="page-header">
<h1>CIDR Tools & Converters</h1>
<p class="page-description">
Comprehensive CIDR tools for network analysis, conversion, and optimization.
Convert between notation formats, summarize networks, split subnets, and perform set operations on IP ranges.
</p>
</header>
<ToolsGrid tools={cidrTools} />
<section class="about-cidr explainer-card no-hover">
<h2>About CIDR (Classless Inter-Domain Routing)</h2>
<p>
<strong>CIDR</strong> is a method for allocating IP addresses and routing IP packets more efficiently than the old classful network addressing architecture.
CIDR notation uses a slash followed by the number of network bits (e.g., /24) to specify network boundaries.
</p>
<h3>Key Advantages</h3>
<ul class="cidr-benefits">
<li><strong>Flexible Addressing:</strong> Create networks of any size</li>
<li><strong>Route Aggregation:</strong> Combine multiple routes into summaries</li>
<li><strong>Efficient Allocation:</strong> Reduce IP address waste</li>
<li><strong>Scalable Routing:</strong> Smaller routing tables</li>
</ul>
<h3>Common CIDR Blocks</h3>
<div class="cidr-examples">
<div class="cidr-item">
<strong>/24</strong> - 256 addresses (254 hosts)
</div>
<div class="cidr-item">
<strong>/28</strong> - 16 addresses (14 hosts)
</div>
<div class="cidr-item">
<strong>/16</strong> - 65,536 addresses (65,534 hosts)
</div>
<div class="cidr-item">
<strong>/8</strong> - 16,777,216 addresses (16,777,214 hosts)
</div>
</div>
</section>
</div>
<style>
.about-cidr {
h3 {
margin-top: var(--spacing-md);
}
}
.cidr-examples {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: var(--spacing-sm);
margin-top: var(--spacing-md);
}
.cidr-benefits {
padding-left: 1rem;
margin-bottom: var(--spacing-md);
list-style: none;
li {
&::before {
content: '•';
color: var(--color-primary);
display: inline-block;
width: 1em;
margin-left: -1em;
}
}
}
.cidr-item {
padding: var(--spacing-sm);
background-color: var(--bg-secondary);
border-radius: var(--radius-sm);
border: 1px solid var(--border-primary);
text-align: center;
font-size: var(--font-size-sm);
color: var(--text-secondary);
}
.cidr-item strong {
color: var(--color-primary);
font-weight: 600;
}
</style>
+98 -10
View File
@@ -2,7 +2,10 @@
<script lang="ts">
import { setContext } from 'svelte';
import { writable, derived, get } from 'svelte/store';
import { page } from '$app/stores';
import { goto } from '$app/navigation';
import Tooltip from '$lib/components/Tooltip.svelte';
import Icon from '$lib/components/Icon.svelte';
import { cidrToMask, maskToCidr } from '$lib/utils/ip-calculations.js';
import { validateSubnetMask } from '$lib/utils/ip-validation.js';
import { COMMON_SUBNETS } from '$lib/constants/networks.js';
@@ -38,21 +41,50 @@
const subnetInfo = derived(cidr, ($c) => getSubnetInfo($c));
// Dynamic title based on current route
$: isCidrToMask = $page.url.pathname.includes('cidr-to-subnet-mask');
$: title = isCidrToMask ? 'CIDR → Subnet Mask Converter' : 'Subnet Mask → CIDR Converter';
$: description = isCidrToMask
? 'Convert CIDR notation to subnet mask format'
: 'Convert subnet mask format to CIDR notation';
// Switch between converter modes
function switchMode() {
const newPath = isCidrToMask
? '/cidr/mask-converter/subnet-mask-to-cidr'
: '/cidr/mask-converter/cidr-to-subnet-mask';
goto(newPath);
}
// Provide everything to children through context
const ctx: CidrContext = {
cidr,
mask,
handleMaskChange,
getSubnetInfo,
COMMON_SUBNETS
};
setContext(CIDR_CTX, ctx);
const ctx: CidrContext = {
cidr,
mask,
handleMaskChange,
getSubnetInfo,
COMMON_SUBNETS: Array.from(COMMON_SUBNETS)
};
setContext(CIDR_CTX, ctx);
</script>
<div class="card">
<header class="card-header">
<h2>CIDR ↔ Subnet Mask Converter</h2>
<p>Convert between CIDR notation and subnet mask formats.</p>
<div class="left">
<h2>{title}</h2>
<p>{description}</p>
</div>
<div class="right">
<Tooltip text="Switch converter direction" position="left">
<button
class="switch-button"
onclick={switchMode}
aria-label="Switch between CIDR to subnet mask and subnet mask to CIDR converters"
>
<Icon name="refresh" size="sm" />
Switch
</button>
</Tooltip>
</div>
</header>
<!-- Per-page converter UIs render here -->
@@ -179,6 +211,62 @@
</div>
<style lang="scss">
.card-header {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: var(--spacing-md);
.left {
flex: 1;
min-width: 200px;
}
.right {
min-width: 100px;
text-align: right;
}
}
.switch-button {
display: flex;
align-items: center;
gap: var(--spacing-xs);
padding: var(--spacing-sm) var(--spacing-md);
background-color: var(--bg-secondary);
color: var(--text-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
font-size: var(--font-size-sm);
font-weight: 500;
cursor: pointer;
transition: all var(--transition-fast);
&:hover {
background-color: var(--surface-hover);
border-color: var(--color-primary);
color: var(--color-primary);
transform: translateY(-1px);
box-shadow: var(--shadow-sm);
}
&:active {
transform: translateY(0);
box-shadow: none;
}
&:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 2px;
}
:global(.icon) {
transition: transform var(--transition-fast);
}
&:hover :global(.icon) {
transform: rotate(180deg);
}
}
.info-panel {
margin-top: var(--spacing-xl);
+43 -10
View File
@@ -1,18 +1,51 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { pages } from '$lib/constants/site';
import { onMount } from 'svelte';
import { site } from '$lib/constants/site';
import { SUB_NAV } from '$lib/constants/nav';
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
import type { NavItem, NavGroup } from '$lib/constants/nav';
import '../../styles/pages.scss';
onMount(() => {
goto('/ip-address-convertor/representations', { replaceState: true });
});
// Extract tools for IP address converter section
function extractNavItems(items: (NavItem | NavGroup)[]): NavItem[] {
const navItems: NavItem[] = [];
for (const item of items) {
if ('href' in item) {
navItems.push(item);
} else if ('title' in item && 'items' in item) {
navItems.push(...item.items);
}
}
return navItems;
}
const ipTools = extractNavItems(SUB_NAV['/ip-address-convertor'] || []);
</script>
<svelte:head>
<title>{pages.ipConverter.title}</title>
<meta name="description" content="{pages.ipConverter.description}" />
<title>IP Address Tools & Converters | {site.title}</title>
<meta name="description" content="Comprehensive IP address tools including format converters, distance calculators, random generators, and IPv6 notation tools." />
<meta name="keywords" content="{site.keywords}, IP address converter, IPv6 tools, IP distance calculator, random IP generator, EUI-64, ULA generator" />
<meta property="og:title" content="IP Address Tools & Converters" />
<meta property="og:description" content="Professional IP address tools for network engineers including converters, calculators, and generators." />
<meta property="og:url" content="{site.url}/ip-address-convertor" />
</svelte:head>
<!-- This page automatically redirects to the first sub-page -->
<div>Redirecting to IP Address Format Converter...</div>
<div class="page-container">
<header class="page-header">
<h1>IP Address Tools & Converters</h1>
<p class="page-description">
Comprehensive IP address manipulation tools for IPv4 and IPv6.
Convert between formats, calculate distances, generate addresses, and work with advanced IPv6 features.
</p>
</header>
<ToolsGrid tools={ipTools} />
</div>
<style>
</style>
+128
View File
@@ -0,0 +1,128 @@
<script lang="ts">
import { page } from '$app/stores';
import { SUB_NAV } from '$lib/constants/nav';
import Icon from '$lib/components/Icon.svelte';
let { children } = $props();
const pages = SUB_NAV['/reference']?.flatMap((s) => ('items' in s ? s.items : [s])) ?? [];
const idx = $derived(pages.findIndex((p) => p.href === $page.url.pathname));
const isRef = $derived(idx > -1);
const prev = $derived(pages[idx - 1]);
const next = $derived(pages[idx + 1]);
const progress = $derived(isRef ? ((idx + 1) / pages.length) * 100 : 0);
const nav = $derived([
{ item: prev, side: 'Previous', icon: 'previous' },
{ item: next, side: 'Next', icon: 'next' }
]);
</script>
{@render children?.()}
{#if isRef}
<nav class="ref-nav card">
<div class="nav-buttons">
{#each nav as { item, side, icon }}
{#if item}
<a href={item.href} class="nav-btn" class:next={side === 'Next'}>
<Icon name={icon} />
<div>
<div class="label">{side}</div>
<div class="title">{item.label}</div>
</div>
</a>
{/if}
{/each}
</div>
<div class="progress">
{idx + 1} of {pages.length}
<div class="progress-bar">
<div class="progress-fill" style:width={`${progress}%`}></div>
</div>
</div>
</nav>
{/if}
<style lang="scss">
.ref-nav {
margin: var(--spacing-xl) auto 0;
padding: var(--spacing-lg);
max-width: 1000px;
border-top: 1px solid var(--border-secondary);
background: var(--bg-secondary);
.nav-buttons {
display: flex;
justify-content: space-between;
gap: var(--spacing-md);
margin-bottom: var(--spacing-md);
}
.nav-btn {
display: flex;
align-items: center;
gap: var(--spacing-sm);
padding: var(--spacing-md);
background: var(--bg-primary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
text-decoration: none;
color: inherit;
transition: all var(--transition-fast);
min-width: 16rem;
&:hover {
background: var(--surface-hover);
border-color: var(--color-primary);
transform: translateY(-1px);
:global(.icon) {
transition: all var(--transition-slow);
transform: translateX(-4px) scale(1.1);
}
}
&.next {
flex-direction: row-reverse;
text-align: right;
&:hover :global(.icon) {
transform: translateX(4px) scale(1.1);
}
}
}
.label {
font-size: var(--font-size-xs);
color: var(--text-secondary);
text-transform: uppercase;
}
.title {
font-size: var(--font-size-sm);
font-weight: 600;
color: var(--text-primary);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.progress {
display: flex;
align-items: center;
gap: var(--spacing-md);
font-size: var(--font-size-xs);
color: var(--text-secondary);
padding-top: var(--spacing-md);
border-top: 1px solid var(--border-secondary);
.progress-bar {
flex: 1;
height: 4px;
background: var(--border-secondary);
border-radius: 2px;
overflow: hidden;
transition: all var(--transition-medium);
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover));
transition: all var(--transition-medium) ease-out;
}
}
}
}
</style>
+22 -197
View File
@@ -1,129 +1,23 @@
<script lang="ts">
import { site } from '$lib/constants/site';
import Icon from '$lib/components/Icon.svelte';
import { SUB_NAV } from '$lib/constants/nav';
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
import type { NavItem, NavGroup } from '$lib/constants/nav';
const referencePages = [
{
title: "CIDR Notation Explained",
path: "/reference/cidr",
description: "What CIDR is, why it replaced IP classes, and how to read network prefixes",
icon: "hash"
},
{
title: "VLSM in Plain English",
path: "/reference/vlsm",
description: "Variable Length Subnet Masking - when to use it and common pitfalls",
icon: "scissors"
},
{
title: "Route Summarization / Supernetting",
path: "/reference/supernetting",
description: "Combine multiple networks into single routes for efficient routing",
icon: "layers"
},
{
title: "IPv6 Address Types & Key Prefixes",
path: "/reference/ipv6-address-types",
description: "Global unicast, ULA, link-local, multicast, and special IPv6 addresses",
icon: "globe"
},
{
title: "Common IPv6 Prefix Lengths",
path: "/reference/ipv6-prefix-lengths",
description: "Quick reference for /128, /127, /64, /60, /56, /48, /32 with typical uses",
icon: "grid"
},
{
title: "IPv4 in IPv6",
path: "/reference/ipv6-embedded-ipv4",
description: "IPv4-mapped addresses, 6to4, Teredo, and transition mechanisms",
icon: "shuffle"
},
{
title: "IPv4 & IPv6 Multicast Basics",
path: "/reference/multicast",
description: "Multicast scopes, well-known groups, and local subnet limitations",
icon: "radio"
},
{
title: "Special-Use IPv4 Blocks (RFC 6890)",
path: "/reference/special-use-ipv4",
description: "Reserved IPv4 ranges including private networks, CGNAT, and test blocks",
icon: "shield"
},
{
title: "Common TCP/UDP Ports",
path: "/reference/ports",
description: "Quick reference for frequently used port numbers and services",
icon: "server"
},
{
title: "ACL Wildcard Masks",
path: "/reference/wildcard-masks",
description: "Wildcard masks vs netmasks, quick conversions and ACL examples",
icon: "filter"
},
{
title: "Common MTU/MSS Values",
path: "/reference/mtu-mss",
description: "MTU and MSS values for Ethernet, PPPoE, VPN, and overhead calculations",
icon: "package"
},
{
title: "Reverse DNS (PTR Records)",
path: "/reference/reverse-dns",
description: "How in-addr.arpa and ip6.arpa work with examples for IPv4 and IPv6",
icon: "corner-down-left"
},
{
title: "What is an ASN?",
path: "/reference/asn",
description: "Autonomous Systems, BGP basics, and how IP addresses map to ASNs",
icon: "share-2"
},
{
title: "ICMP & ICMPv6: Common Types",
path: "/reference/icmp",
description: "Practical guide to ICMP message types for network troubleshooting",
icon: "activity"
},
{
title: "ARP vs NDP",
path: "/reference/arp-vs-ndp",
description: "Side-by-side comparison of IPv4 ARP and IPv6 Neighbor Discovery",
icon: "git-compare"
},
{
title: "Private vs Public IP Addresses",
path: "/reference/private-vs-public-ip",
description: "Understanding private/public IPs, NAT implications, and identification",
icon: "lock"
},
{
title: "Carrier-Grade NAT Explained",
path: "/reference/cgnat",
description: "CGNAT (100.64.0.0/10), how to identify it, and service impacts",
icon: "layers"
},
{
title: "Link-Local & APIPA Addresses",
path: "/reference/link-local-apipa",
description: "IPv4 APIPA (169.254/16) and IPv6 link-local (fe80::/10) at a glance",
icon: "wifi"
},
{
title: "Reverse Zones for CIDR Delegation",
path: "/reference/reverse-zones",
description: "Minimal reverse DNS zones needed to delegate IPv4 and IPv6 CIDR blocks",
icon: "corner-down-left"
},
{
title: "IPv6 Privacy Addresses",
path: "/reference/ipv6-privacy-addresses",
description: "SLAAC privacy extensions: temporary vs stable interface identifiers",
icon: "eye-off"
// Extract reference pages from SUB_NAV
function extractNavItems(items: (NavItem | NavGroup)[]): NavItem[] {
const navItems: NavItem[] = [];
for (const item of items) {
if ('href' in item) {
navItems.push(item);
} else if ('title' in item && 'items' in item) {
navItems.push(...item.items);
}
}
];
return navItems;
}
const referencePages = extractNavItems(SUB_NAV['/reference'] || []);
</script>
<svelte:head>
@@ -135,82 +29,13 @@
<meta property="og:url" content="{site.url}/reference" />
</svelte:head>
<div class="page-container">
<div class="ref-page">
<div class="ref-header">
<h1>Networking Reference Guide</h1>
<p class="subtitle">Quick guides and cheat sheets for networking concepts, IP addressing, and common protocols</p>
</div>
<div class="ref-section">
<h2>Available References</h2>
<div class="ref-grid two-col">
{#each referencePages as page}
<a href={page.path} class="grid-item reference-link">
<div class="item-title">
<Icon name={page.icon} size="sm" />
{page.title}
</div>
<div class="item-description">{page.description}</div>
</a>
{/each}
</div>
</div>
<div class="ref-section">
<h2>How to Use These References</h2>
<p>Each reference page provides:</p>
<ul>
<li><strong>Plain English explanations</strong> - No confusing jargon</li>
<li><strong>Practical examples</strong> - Real-world scenarios you'll encounter</li>
<li><strong>Quick reference tables</strong> - Easy to scan and find what you need</li>
<li><strong>Common pitfalls</strong> - Mistakes to avoid</li>
<li><strong>Best practices</strong> - How to do things right</li>
</ul>
<div class="ref-highlight">
<div class="highlight-title">
<Icon name="lightbulb" size="sm" />
Tip
</div>
<div class="highlight-content">
These references pair perfectly with the calculators and tools on this site. Use them to understand the concepts, then use the tools to do the calculations.
</div>
</div>
</div>
<div class="ref-section">
<h2>More References Coming Soon</h2>
<p>We're continuously adding more networking references. Coming soon:</p>
<ul>
<li>DHCPv4 vs DHCPv6 Differences</li>
<li>NAT Types and Behavior</li>
<li>Network Troubleshooting Methodologies</li>
<li>IPv6 Transition Mechanisms</li>
<li>QoS Basics and DSCP Markings</li>
<li>And more...</li>
</ul>
</div>
</div>
<div class="ref-header">
<h1>Networking Pocket Reference</h1>
<p>Offline quick guides, cheat sheets and reference info, for networking concepts, IP addressing, and common protocols</p>
</div>
<ToolsGrid tools={referencePages} />
<style>
.reference-link {
text-decoration: none !important;
color: inherit;
transition: var(--transition-fast);
cursor: pointer;
}
.reference-link:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.reference-link .item-title {
display: flex;
align-items: center;
gap: var(--spacing-xs);
color: var(--color-primary);
}
</style>
+40 -89
View File
@@ -1,10 +1,24 @@
<script lang="ts">
import { site } from '$lib/constants/site';
import { SUB_NAV } from '$lib/constants/nav';
import Icon from '$lib/components/Icon.svelte';
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
import type { NavItem, NavGroup } from '$lib/constants/nav';
import '../../styles/pages.scss';
const subnettingTools = SUB_NAV['/subnetting'];
// Extract tools for subnetting section
function extractNavItems(items: (NavItem | NavGroup)[]): NavItem[] {
const navItems: NavItem[] = [];
for (const item of items) {
if ('href' in item) {
navItems.push(item);
} else if ('title' in item && 'items' in item) {
navItems.push(...item.items);
}
}
return navItems;
}
const subnettingTools = extractNavItems(SUB_NAV['/subnetting'] || []);
</script>
<svelte:head>
@@ -25,7 +39,9 @@
</p>
</header>
<section class="explainer-card">
<ToolsGrid tools={subnettingTools} />
<section class="explainer-card no-hover about-subnetting">
<h2>About Subnetting</h2>
<p>
<strong>Subnetting</strong> is the practice of dividing a network into smaller, more manageable sub-networks (subnets).
@@ -33,7 +49,7 @@
</p>
<h3>Key Benefits</h3>
<ul>
<ul class="subnetting-benefits">
<li><strong>Improved Security:</strong> Isolate different network segments</li>
<li><strong>Reduced Broadcast Traffic:</strong> Smaller broadcast domains</li>
<li><strong>Better Organization:</strong> Logical grouping of devices</li>
@@ -52,27 +68,28 @@
</div>
</div>
</section>
<section class="tools-grid">
{#if Array.isArray(subnettingTools)}
{#each subnettingTools as tool}
<a href={tool.href} class="tool-card">
<div class="tool-icon">
{#if tool.icon}
<Icon name={tool.icon} size="large" />
{/if}
</div>
<div class="tool-content">
<h3>{tool.label}</h3>
<p>{tool.description}</p>
</div>
</a>
{/each}
{/if}
</section>
</div>
<style>
.about-subnetting {
h3 {
margin-top: var(--spacing-md);
}
.subnetting-benefits {
padding-left: 1rem;
margin-bottom: var(--spacing-md);
list-style: none;
li {
&::before {
content: '•';
color: var(--color-primary);
display: inline-block;
width: 1em;
margin-left: -1em;
}
}
}
}
.comparison-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
@@ -98,70 +115,4 @@
line-height: 1.5;
margin: 0;
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: var(--spacing-lg);
margin-top: var(--spacing-xl);
}
.tool-card {
display: flex;
gap: var(--spacing-md);
padding: var(--spacing-lg);
background-color: var(--bg-secondary);
border: 1px solid var(--border-primary);
border-radius: var(--radius-md);
text-decoration: none;
color: inherit;
transition: all var(--transition-base);
}
.tool-card:hover {
border-color: var(--color-primary);
background-color: var(--surface-hover);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.tool-icon {
flex-shrink: 0;
display: flex;
align-items: center;
justify-content: center;
width: 48px;
height: 48px;
background-color: var(--color-primary-alpha-10);
border-radius: var(--radius-sm);
}
.tool-content {
flex: 1;
}
.tool-content h3 {
margin: 0 0 var(--spacing-xs) 0;
font-size: var(--font-size-lg);
font-weight: 600;
color: var(--text-primary);
}
.tool-content p {
margin: 0;
color: var(--text-secondary);
line-height: 1.5;
font-size: var(--font-size-sm);
}
@media (max-width: 768px) {
.tool-card {
flex-direction: column;
text-align: center;
}
.tool-icon {
align-self: center;
}
}
</style>
</style>
+6
View File
@@ -9,6 +9,12 @@
}
}
.header-buttons {
display: flex;
align-items: center;
gap: var(--spacing-sm);
}
.nav-links {
display: flex;
gap: var(--spacing-md);
+2 -2
View File
@@ -2,7 +2,7 @@
// Used across all /reference/* pages for consistent styling
.ref-page {
max-width: 800px;
max-width: 1000px;
margin: 0 auto;
.ref-header {
@@ -269,4 +269,4 @@
}
}
}
}
}
+1
View File
@@ -62,6 +62,7 @@
--font-size-lg: 1.125rem;
--font-size-xl: 1.25rem;
--font-size-2xl: 1.5rem;
--font-size-3xl: 2rem;
/* Transitions */
--transition-fast: 0.15s ease;