mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-12-04 10:25:12 +03:00
Organise components into directories
This commit is contained in:
1 parent
58ad70c1ea
commit
92dc1be32d
129 files changed
+215
-217
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
import { onMount } from 'svelte';
|
||||
import { page } from '$app/stores';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
import { type NavItem, type NavGroup, footerLinks } from '$lib/constants/nav';
|
||||
import { site, author, license } from '$lib/constants/site';
|
||||
|
||||
File renamed without changes.
@@ -3,8 +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 BurgerMenu from '$lib/components/BurgerMenu.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
import BurgerMenu from '$lib/components/furniture/BurgerMenu.svelte';
|
||||
|
||||
// Props from +layout for theme state & toggler
|
||||
export let darkMode: boolean;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { ALL_PAGES, type NavItem } from '$lib/constants/nav';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let { filteredTools = $bindable(), searchQuery = $bindable() }: {
|
||||
filteredTools: NavItem[];
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
export let searchQuery: string = '';
|
||||
</script>
|
||||
@@ -140,4 +140,4 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
import type { NavItem } from '$lib/constants/nav';
|
||||
|
||||
export let tool: NavItem;
|
||||
@@ -34,4 +34,4 @@
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
File renamed without changes.
+2
-2
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { checkCIDRAlignment, type AlignmentResult } from '$lib/utils/cidr-alignment.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('192.168.1.0/24\n10.0.0.0-10.0.0.255\n172.16.1.5');
|
||||
let targetPrefix = $state(24);
|
||||
@@ -576,4 +576,4 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
let pools = $state(`192.168.0.0/16
|
||||
10.0.0.0/20`);
|
||||
let requests = $state(`/24 - Office Network
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let listA = $state(`192.168.0.0/16
|
||||
10.0.0.0/8
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { computeCIDRContains, type ContainsResult, type ContainmentStatus } from '$lib/utils/cidr-contains.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let setA = $state(`192.168.0.0/16
|
||||
10.0.0.0/8`);
|
||||
@@ -973,4 +973,4 @@
|
||||
gap: var(--spacing-xs);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let input = $state(`192.168.0.0/22
|
||||
10.0.0.0-10.0.0.255`);
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { computeCIDRDifference, type DiffResult, type AlignmentMode } from '$lib/utils/cidr-diff.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let setA = $state(`192.168.1.0/24
|
||||
192.168.2.0/24`);
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { validateCIDR } from '$lib/utils/ip-validation.js';
|
||||
import type { ValidationResult } from '$lib/types/ip.js';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
|
||||
interface Props {
|
||||
value?: string;
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { computeCIDROverlap, type OverlapResult } from '$lib/utils/cidr-overlap.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let setA = $state(`192.168.1.0/24
|
||||
10.0.0.0/16`);
|
||||
@@ -928,4 +928,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { splitCIDRByCount, splitCIDRByPrefix, type SplitResult } from '$lib/utils/cidr-split.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputCIDR = $state('192.168.1.0/24');
|
||||
let splitMode = $state<'count' | 'prefix'>('count');
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { summarizeCIDRs, type SummarizationResult } from '$lib/utils/cidr-summarization-fixed.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state(`192.168.1.1
|
||||
192.168.1.0/24
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { COMMON_SUBNETS } from '$lib/constants/networks.js';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
import '../../styles/converters.scss';
|
||||
import '../../styles/components.scss';
|
||||
</script>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let hostnameInput = $state('');
|
||||
let ipInput = $state('');
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let aliasInput = $state('');
|
||||
let targetInput = $state('');
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
type MXRecord = {
|
||||
id: string;
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { convertEUI64Addresses, type EUI64Result } from '$lib/utils/eui64.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('00:1A:2B:3C:4D:5E\n02:1A:2B:FF:FE:3C:4D:5F\n08:00:27:12:34:56\n0A:00:27:FF:FE:12:34:57');
|
||||
let globalPrefix = $state('2001:db8::/64');
|
||||
@@ -879,4 +879,4 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { computeCIDRDifference, type DiffResult } from '$lib/utils/cidr-diff.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let pools = $state(`192.168.0.0/16
|
||||
10.0.0.0/8`);
|
||||
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import { convertIPFormats, decimalToIP, binaryToIP, hexToIP, getIPClass } from '../utils/ip-conversions.js';
|
||||
import { validateIPv4 } from '../utils/ip-validation.js';
|
||||
import { convertIPFormats, decimalToIP, binaryToIP, hexToIP, getIPClass } from '$lib/utils/ip-conversions.js';
|
||||
import { validateIPv4 } from '$lib/utils/ip-validation.js';
|
||||
import IPInput from './IPInput.svelte';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import SvgIcon from './SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
|
||||
let ipAddress = $state('192.168.1.1');
|
||||
let formats = $state({
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { calculateIPDistances, type DistanceResult } from '$lib/utils/ip-distance.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('192.168.1.1 -> 192.168.1.100\n10.0.0.1 -> 10.0.0.255\n2001:db8::1 -> 2001:db8::ffff');
|
||||
let inclusive = $state(true);
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let input = $state('192.168.1.0/28');
|
||||
let maxDisplayLimit = $state(1000);
|
||||
+3
-3
@@ -8,10 +8,10 @@
|
||||
expandIPv6,
|
||||
compressIPv6,
|
||||
type ConversionResult
|
||||
} from '../utils/ip-family-conversions.js';
|
||||
} from '$lib/utils/ip-family-conversions.js';
|
||||
import IPInput from './IPInput.svelte';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import SvgIcon from './SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
|
||||
interface Props {
|
||||
direction: 'ipv4-to-ipv6' | 'ipv6-to-ipv4';
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { validateIPv4 } from '$lib/utils/ip-validation.js';
|
||||
import type { ValidationResult } from '$lib/types/ip.js';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
|
||||
interface Props {
|
||||
value?: string;
|
||||
@@ -114,4 +114,4 @@
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
type RegexType = 'ipv4' | 'ipv6' | 'both';
|
||||
type Mode = 'simple' | 'advanced';
|
||||
@@ -1171,4 +1171,4 @@
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputValue = $state('');
|
||||
let result = $state<{
|
||||
@@ -1002,4 +1002,4 @@
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputAddress = $state('192.168.1.100');
|
||||
let customPrefix = $state('64:ff9b::/96');
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { normalizeIPv6Addresses, type IPv6NormalizeResult } from '$lib/utils/ipv6-normalize.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('2001:0db8:0000:0000:0000:ff00:0042:8329\n2001:db8:0:0:1:0:0:1\n2001:0db8:0001:0000:0000:0ab9:C0A8:0102\n2001:db8::1\nfe80::1%eth0');
|
||||
let result = $state<IPv6NormalizeResult | null>(null);
|
||||
@@ -774,4 +774,4 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { expandIPv6, compressIPv6, validateIPv6Address } from '$lib/utils/ipv6-subnet-calculations.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
interface Props {
|
||||
mode: 'expand' | 'compress';
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let input = $state('2001:db8::1234:5678');
|
||||
let result = $state<{
|
||||
+2
-2
@@ -5,8 +5,8 @@
|
||||
parseIPv6WithPrefix,
|
||||
type IPv6SubnetResult
|
||||
} from '$lib/utils/ipv6-subnet-calculations.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let networkAddress = $state('2001:db8::/64');
|
||||
let prefixLength = $state(64);
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let input = $state('2001:0000:4136:e378:8000:63bf:3fff:fdd2');
|
||||
let result = $state<{
|
||||
@@ -1154,4 +1154,4 @@
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { processIPv6ZoneIdentifiers, type IPv6ZoneResult } from '$lib/utils/ipv6-zone-id.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('fe80::1\nfe80::1%eth0\nfe80::1234:5678:90ab:cdef%wlan0\n::1\n2001:db8::1\nff02::1%eth0');
|
||||
let result = $state<IPv6ZoneResult | null>(null);
|
||||
@@ -904,4 +904,4 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { NETWORK_CLASSES } from '$lib/constants/networks.js';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
import '../../styles/converters.scss';
|
||||
import '../../styles/components.scss';
|
||||
</script>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { SubnetInfo } from '$lib/types/ip.js';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
|
||||
interface Props {
|
||||
subnetInfo: SubnetInfo;
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { findNextAvailableSubnet, type NextAvailableInput, type NextAvailableResult, type AllocationPolicy } from '$lib/utils/next-available.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let pools = $state(`192.168.0.0/16
|
||||
10.0.0.0/8`);
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { calculateNthIPs, type NthIPResult } from '$lib/utils/nth-ip.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('192.168.1.0/24 @ 10\n10.0.0.0-10.0.0.255 [50]\n172.16.0.0/16 100\n2001:db8::/64#1000');
|
||||
let globalOffset = $state(0);
|
||||
@@ -764,4 +764,4 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from './Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputValue = $state('192.168.1.100');
|
||||
let inputType = $state<'single' | 'cidr'>('single');
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { generateRandomIPAddresses, type RandomIPResult } from '$lib/utils/random-ip.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('192.168.1.0/24 x 10\n10.0.0.0-10.0.0.255 5\n172.16.0.0/16 * 3\n2001:db8::/64[15]');
|
||||
let defaultCount = $state(5);
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { RESERVED_RANGES } from '$lib/constants/networks.js';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
import '../../styles/converters.scss';
|
||||
import '../../styles/components.scss';
|
||||
</script>
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
<script lang="ts">
|
||||
import { calculateSubnet } from '$lib/utils/ip-calculations.js';
|
||||
import { validateCIDR } from '$lib/utils/ip-validation.js';
|
||||
import CIDRInput from '$lib/components/CIDRInput.svelte';
|
||||
import NetworkVisualizer from '$lib/components/NetworkVisualizer.svelte';
|
||||
import Tooltip from '$lib/components/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/SvgIcon.svelte';
|
||||
import CIDRInput from '$lib/components/tools/CIDRInput.svelte';
|
||||
import NetworkVisualizer from '$lib/components/tools/NetworkVisualizer.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import SvgIcon from '$lib/components/global/SvgIcon.svelte';
|
||||
import type { SubnetInfo } from '$lib/types/ip.js';
|
||||
|
||||
let cidrInput = $state('192.168.1.0/24');
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { planSubnets, type SubnetRequest, type PlannerResult } from '$lib/utils/subnet-planner.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let parentCIDR = $state('192.168.1.0/24');
|
||||
let strategy = $state<'preserve-order' | 'fit-best'>('fit-best');
|
||||
+2
-2
@@ -9,8 +9,8 @@
|
||||
} from '$lib/utils/supernet-calculations.js';
|
||||
import { validateIPv4 } from '$lib/utils/ip-validation.js';
|
||||
import IPInput from './IPInput.svelte';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let networks = $state<NetworkInput[]>([]);
|
||||
let supernetResult = $state<SupernetResult | null>(null);
|
||||
File renamed without changes.
+2
-2
@@ -8,8 +8,8 @@
|
||||
} from '$lib/utils/vlsm-calculations.js';
|
||||
import { validateIPv4 } from '$lib/utils/ip-validation.js';
|
||||
import IPInput from './IPInput.svelte';
|
||||
import Tooltip from './Tooltip.svelte';
|
||||
import Icon from './Icon.svelte';
|
||||
import Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let networkIP = $state('192.168.1.0');
|
||||
let cidr = $state(24);
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { convertWildcardMasks, type WildcardResult } from '$lib/utils/wildcard-mask.js';
|
||||
import { tooltip } from '$lib/actions/tooltip.js';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let inputText = $state('192.168.1.0/24\n10.0.0.0 255.255.255.0\n172.16.0.0 0.0.255.255');
|
||||
let result = $state<WildcardResult | null>(null);
|
||||
@@ -858,4 +858,4 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -6,9 +6,9 @@
|
||||
import favicon from '$lib/assets/favicon.svg';
|
||||
|
||||
|
||||
import Header from '$lib/components/Header.svelte';
|
||||
import SubHeader from '$lib/components/SubHeader.svelte';
|
||||
import Footer from '$lib/components/Footer.svelte';
|
||||
import Header from '$lib/components/furniture/Header.svelte';
|
||||
import SubHeader from '$lib/components/furniture/SubHeader.svelte';
|
||||
import Footer from '$lib/components/furniture/Footer.svelte';
|
||||
|
||||
let { children } = $props();
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
import '../styles/pages.scss';
|
||||
import { site, pages, about } from '$lib/constants/site';
|
||||
import { ALL_PAGES, SUB_NAV, type NavItem, type NavGroup } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import SearchFilter from '$lib/components/SearchFilter.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import SearchFilter from '$lib/components/furniture/SearchFilter.svelte';
|
||||
|
||||
// Helper function to extract nav items from mixed structure
|
||||
function extractNavItems(items: (NavItem | NavGroup)[]): NavItem[] {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import type { NavItem, NavGroup } from '$lib/constants/nav';
|
||||
import '../../styles/pages.scss';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import CIDRAlignment from '$lib/components/CIDRAlignment.svelte';
|
||||
import CIDRAlignment from '$lib/components/tools/CIDRAlignment.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<CIDRAlignment />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import CIDRAllocator from '$lib/components/CIDRAllocator.svelte';
|
||||
import CIDRAllocator from '$lib/components/tools/CIDRAllocator.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/cidr/allocator" />
|
||||
</svelte:head>
|
||||
|
||||
<CIDRAllocator />
|
||||
<CIDRAllocator />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import CIDRCompare from '$lib/components/CIDRCompare.svelte';
|
||||
import CIDRCompare from '$lib/components/tools/CIDRCompare.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/cidr/compare" />
|
||||
</svelte:head>
|
||||
|
||||
<CIDRCompare />
|
||||
<CIDRCompare />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import CIDRDeaggregate from '$lib/components/CIDRDeaggregate.svelte';
|
||||
import CIDRDeaggregate from '$lib/components/tools/CIDRDeaggregate.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/cidr/deaggregate" />
|
||||
</svelte:head>
|
||||
|
||||
<CIDRDeaggregate />
|
||||
<CIDRDeaggregate />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import FreeSpaceFinder from '$lib/components/FreeSpaceFinder.svelte';
|
||||
import FreeSpaceFinder from '$lib/components/tools/FreeSpaceFinder.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
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 Tooltip from '$lib/components/global/Tooltip.svelte';
|
||||
import Icon from '$lib/components/global/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';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import NextAvailable from '$lib/components/NextAvailable.svelte';
|
||||
import NextAvailable from '$lib/components/tools/NextAvailable.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<NextAvailable />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import CIDRContains from '$lib/components/CIDRContains.svelte';
|
||||
import CIDRContains from '$lib/components/tools/CIDRContains.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<CIDRContains />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import CIDRDiff from '$lib/components/CIDRDiff.svelte';
|
||||
import CIDRDiff from '$lib/components/tools/CIDRDiff.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import CIDROverlap from '$lib/components/CIDROverlap.svelte';
|
||||
import CIDROverlap from '$lib/components/tools/CIDROverlap.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<CIDROverlap />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import CIDRSplitter from '$lib/components/CIDRSplitter.svelte';
|
||||
import CIDRSplitter from '$lib/components/tools/CIDRSplitter.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -305,4 +305,4 @@
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import CIDRSummarizer from '$lib/components/CIDRSummarizer.svelte';
|
||||
import CIDRSummarizer from '$lib/components/tools/CIDRSummarizer.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import WildcardMask from '$lib/components/WildcardMask.svelte';
|
||||
import WildcardMask from '$lib/components/tools/WildcardMask.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<WildcardMask />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import type { NavItem, NavGroup } from '$lib/constants/nav';
|
||||
import '../../styles/pages.scss';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import type { NavItem, NavGroup } from '$lib/constants/nav';
|
||||
import '../../../styles/pages.scss';
|
||||
|
||||
@@ -39,4 +39,4 @@
|
||||
</header>
|
||||
|
||||
<ToolsGrid tools={dnsGenerators} />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { getPageDetails } from '$lib/constants/nav';
|
||||
import DNSAAAAABulk from '$lib/components/DNSAAAAABulk.svelte';
|
||||
import DNSAAAAABulk from '$lib/components/tools/DNSAAAAABulk.svelte';
|
||||
import '../../../../styles/pages.scss';
|
||||
|
||||
const pageDetails = getPageDetails('/dns/generators/a-aaaa-bulk');
|
||||
@@ -16,4 +16,4 @@
|
||||
<meta property="og:url" content="{site.url}/dns/generators/a-aaaa-bulk" />
|
||||
</svelte:head>
|
||||
|
||||
<DNSAAAAABulk />
|
||||
<DNSAAAAABulk />
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { getPageDetails } from '$lib/constants/nav';
|
||||
import DNSCNAMEBuilder from '$lib/components/DNSCNAMEBuilder.svelte';
|
||||
import DNSCNAMEBuilder from '$lib/components/tools/DNSCNAMEBuilder.svelte';
|
||||
import '../../../../styles/pages.scss';
|
||||
|
||||
const pageDetails = getPageDetails('/dns/generators/cname-builder');
|
||||
@@ -16,4 +16,4 @@
|
||||
<meta property="og:url" content="{site.url}/dns/generators/cname-builder" />
|
||||
</svelte:head>
|
||||
|
||||
<DNSCNAMEBuilder />
|
||||
<DNSCNAMEBuilder />
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { getPageDetails } from '$lib/constants/nav';
|
||||
import DNSMXPlanner from '$lib/components/DNSMXPlanner.svelte';
|
||||
import DNSMXPlanner from '$lib/components/tools/DNSMXPlanner.svelte';
|
||||
import '../../../../styles/pages.scss';
|
||||
|
||||
const pageDetails = getPageDetails('/dns/generators/mx-planner');
|
||||
@@ -16,4 +16,4 @@
|
||||
<meta property="og:url" content="{site.url}/dns/generators/mx-planner" />
|
||||
</svelte:head>
|
||||
|
||||
<DNSMXPlanner />
|
||||
<DNSMXPlanner />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import PTRGenerator from '$lib/components/PTRGenerator.svelte';
|
||||
import PTRGenerator from '$lib/components/tools/PTRGenerator.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/dns/ptr-generator" />
|
||||
</svelte:head>
|
||||
|
||||
<PTRGenerator />
|
||||
<PTRGenerator />
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import type { NavItem, NavGroup } from '$lib/constants/nav';
|
||||
import '../../styles/pages.scss';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPDistance from '$lib/components/IPDistance.svelte';
|
||||
import IPDistance from '$lib/components/tools/IPDistance.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<IPDistance />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPEnumerate from '$lib/components/IPEnumerate.svelte';
|
||||
import IPEnumerate from '$lib/components/tools/IPEnumerate.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/ip-address-convertor/enumerate" />
|
||||
</svelte:head>
|
||||
|
||||
<IPEnumerate />
|
||||
<IPEnumerate />
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import EUI64 from '$lib/components/EUI64.svelte';
|
||||
import EUI64 from '$lib/components/tools/EUI64.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<EUI64 />
|
||||
</div>
|
||||
</div>
|
||||
@@ -2,8 +2,7 @@
|
||||
import '../../../styles/pages.scss';
|
||||
import '../../../styles/converters.scss';
|
||||
import '../../../styles/components.scss';
|
||||
import { site, pages } from '$lib/constants/site';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site, pages } from '$lib/constants/site';
|
||||
import IPFamilyConverter from '$lib/components/IPFamilyConverter.svelte';
|
||||
import IPFamilyConverter from '$lib/components/tools/IPFamilyConverter.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -16,4 +16,4 @@
|
||||
direction="ipv4-to-ipv6"
|
||||
title="IPv4 to IPv6 Converter"
|
||||
description="Convert IPv4 addresses to IPv6 format using IPv4-mapped IPv6 addressing. This creates IPv6 addresses that embed IPv4 addresses for compatibility purposes."
|
||||
/>
|
||||
/>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site, pages } from '$lib/constants/site';
|
||||
import IPFamilyConverter from '$lib/components/IPFamilyConverter.svelte';
|
||||
import IPFamilyConverter from '$lib/components/tools/IPFamilyConverter.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -16,4 +16,4 @@
|
||||
direction="ipv6-to-ipv4"
|
||||
title="IPv6 to IPv4 Converter"
|
||||
description="Extract IPv4 addresses from IPv4-mapped IPv6 addresses. This tool can identify and extract the original IPv4 address from IPv6 representations."
|
||||
/>
|
||||
/>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPv6NAT64 from '$lib/components/IPv6NAT64.svelte';
|
||||
import IPv6NAT64 from '$lib/components/tools/IPv6NAT64.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/ip-address-convertor/ipv6/nat64" />
|
||||
</svelte:head>
|
||||
|
||||
<IPv6NAT64 />
|
||||
<IPv6NAT64 />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPv6SolicitedNode from '$lib/components/IPv6SolicitedNode.svelte';
|
||||
import IPv6SolicitedNode from '$lib/components/tools/IPv6SolicitedNode.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/ip-address-convertor/ipv6/solicited-node" />
|
||||
</svelte:head>
|
||||
|
||||
<IPv6SolicitedNode />
|
||||
<IPv6SolicitedNode />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPv6Teredo from '$lib/components/IPv6Teredo.svelte';
|
||||
import IPv6Teredo from '$lib/components/tools/IPv6Teredo.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/ip-address-convertor/ipv6/teredo" />
|
||||
</svelte:head>
|
||||
|
||||
<IPv6Teredo />
|
||||
<IPv6Teredo />
|
||||
@@ -2,7 +2,7 @@
|
||||
import '../../../styles/pages.scss';
|
||||
import '../../../styles/converters.scss';
|
||||
import '../../../styles/components.scss';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
</script>
|
||||
|
||||
<div class="container">
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPv6NotationConverter from '$lib/components/IPv6NotationConverter.svelte';
|
||||
import IPv6NotationConverter from '$lib/components/tools/IPv6NotationConverter.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
mode="compress"
|
||||
title="IPv6 Address Compressor"
|
||||
description="Convert expanded IPv6 addresses to their compressed, shortened format. This tool uses :: notation to represent consecutive zero groups and removes leading zeros for a cleaner, more readable IPv6 address."
|
||||
/>
|
||||
/>
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPv6NotationConverter from '$lib/components/IPv6NotationConverter.svelte';
|
||||
import IPv6NotationConverter from '$lib/components/tools/IPv6NotationConverter.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -16,4 +16,4 @@
|
||||
mode="expand"
|
||||
title="IPv6 Address Expander"
|
||||
description="Convert compressed IPv6 addresses to their full 128-bit hexadecimal representation. This tool expands short IPv6 notation by adding leading zeros and replacing :: with the appropriate number of zero groups."
|
||||
/>
|
||||
/>
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPv6Normalize from '$lib/components/IPv6Normalize.svelte';
|
||||
import IPv6Normalize from '$lib/components/tools/IPv6Normalize.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -7,4 +7,4 @@
|
||||
<meta name="description" content="Normalize IPv6 addresses to RFC 5952 canonical form. Apply lowercase conversion, zero compression, leading zero removal with detailed step-by-step transformation.">
|
||||
</svelte:head>
|
||||
|
||||
<IPv6Normalize />
|
||||
<IPv6Normalize />
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPv6ZoneID from '$lib/components/IPv6ZoneID.svelte';
|
||||
import IPv6ZoneID from '$lib/components/tools/IPv6ZoneID.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -7,4 +7,4 @@
|
||||
<meta name="description" content="Process IPv6 addresses with zone identifiers for link-local and multicast addresses. Validate zone IDs and get suggested interface names.">
|
||||
</svelte:head>
|
||||
|
||||
<IPv6ZoneID />
|
||||
<IPv6ZoneID />
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import NthIP from '$lib/components/NthIP.svelte';
|
||||
import NthIP from '$lib/components/tools/NthIP.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<NthIP />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import RandomIP from '$lib/components/RandomIP.svelte';
|
||||
import RandomIP from '$lib/components/tools/RandomIP.svelte';
|
||||
import { site } from '$lib/constants/site';
|
||||
</script>
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
|
||||
<div class="page-container">
|
||||
<RandomIP />
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPRegexGenerator from '$lib/components/IPRegexGenerator.svelte';
|
||||
import IPRegexGenerator from '$lib/components/tools/IPRegexGenerator.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -12,4 +12,4 @@
|
||||
<meta property="og:url" content="{site.url}/ip-address-convertor/regex" />
|
||||
</svelte:head>
|
||||
|
||||
<IPRegexGenerator />
|
||||
<IPRegexGenerator />
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import IPConverter from '$lib/components/IPConverter.svelte';
|
||||
import IPConverter from '$lib/components/tools/IPConverter.svelte';
|
||||
import { site, pages } from '$lib/constants/site';
|
||||
import '../../../styles/pages.scss';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<script lang="ts">
|
||||
import ULAGenerator from '$lib/components/ULAGenerator.svelte';
|
||||
import ULAGenerator from '$lib/components/tools/ULAGenerator.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -7,4 +7,4 @@
|
||||
<meta name="description" content="Generate RFC 4193 Unique Local Addresses with cryptographically secure Global IDs. Create IPv6 ULA prefixes for private networks with collision avoidance.">
|
||||
</svelte:head>
|
||||
|
||||
<ULAGenerator />
|
||||
<ULAGenerator />
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import IPValidator from '$lib/components/IPValidator.svelte';
|
||||
import IPValidator from '$lib/components/tools/IPValidator.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -41,4 +41,4 @@
|
||||
</script>
|
||||
</svelte:head>
|
||||
|
||||
<IPValidator />
|
||||
<IPValidator />
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import Icon from '$lib/components/global/Icon.svelte';
|
||||
|
||||
let { children } = $props();
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { site } from '$lib/constants/site';
|
||||
import { SUB_NAV } from '$lib/constants/nav';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
import ToolsGrid from '$lib/components/global/ToolsGrid.svelte';
|
||||
import type { NavItem, NavGroup } from '$lib/constants/nav';
|
||||
|
||||
// Extract reference pages from SUB_NAV
|
||||
|
||||
Loaded 100 of 129 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user