mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-28 16:19:49 +03:00
Icons
This commit is contained in:
1 parent
f3a3248762
commit
2be10a048d
5 files changed
+181
-124
No files matched your search
@@ -72,7 +72,6 @@
|
||||
<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>
|
||||
{: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="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 === '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>
|
||||
{:else if name === 'subnet-splitter'}
|
||||
@@ -85,6 +84,26 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path opacity=".4" d="M112 432L112 528L528 528L528 432L112 432z"/><path d="M344 64L344 192C344 205.3 333.3 216 320 216C306.7 216 296 205.3 296 192L296 64C296 50.7 306.7 40 320 40C333.3 40 344 50.7 344 64zM192 352C192 334.3 206.3 320 224 320L416 320C433.7 320 448 334.3 448 352L448 384L528 384C554.5 384 576 405.5 576 432L576 528C576 554.5 554.5 576 528 576L112 576C85.5 576 64 554.5 64 528L64 432C64 405.5 85.5 384 112 384L192 384L192 352zM528 528L528 432L112 432L112 528L528 528zM44 178.7C51.4 167.7 66.3 164.7 77.3 172L173.3 236C184.3 243.4 187.3 258.3 180 269.3C172.7 280.3 157.7 283.3 146.7 276L50.7 212C39.7 204.6 36.7 189.7 44 178.7zM562.7 172C573.7 164.6 588.6 167.6 596 178.7C603.4 189.8 600.4 204.6 589.3 212L493.3 276C482.3 283.4 467.4 280.4 460 269.3C452.6 258.2 455.6 243.4 466.7 236L562.7 172z"/></svg>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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>
|
||||
{: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'}
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
<script lang="ts">
|
||||
import Icon from './Icon.svelte';
|
||||
import type { NavItem } from '$lib/constants/nav';
|
||||
|
||||
export let tool: NavItem;
|
||||
</script>
|
||||
|
||||
<a href={tool.href} class="tool-card">
|
||||
<h3>{tool.label}</h3>
|
||||
<div class="right">
|
||||
<div class="tool-icon">
|
||||
<Icon name={tool.icon || 'default'} />
|
||||
</div>
|
||||
<div class="tool-content">
|
||||
<p>{tool.description}</p>
|
||||
</div>
|
||||
<div class="tool-arrow">
|
||||
<svg fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<style lang="scss">
|
||||
.tool-card {
|
||||
display: flex;
|
||||
// align-items: center;
|
||||
flex-direction: column;
|
||||
gap: var(--spacing-sm);
|
||||
padding: var(--spacing-lg);
|
||||
background-color: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
border-radius: var(--radius-lg);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all var(--transition-fast);
|
||||
position: relative;
|
||||
.right {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: var(--surface-hover);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
|
||||
.tool-arrow {
|
||||
transform: translateX(4px);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
padding: var(--spacing-md);
|
||||
}
|
||||
}
|
||||
|
||||
.tool-icon {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: var(--radius-lg);
|
||||
color: var(--bg-secondary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tool-content {
|
||||
flex: 1;
|
||||
|
||||
h3 {
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin: 0;
|
||||
height: 1.4em;
|
||||
line-height: 1.4;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--text-secondary);
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
.tool-arrow {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
color: var(--text-secondary);
|
||||
transition: all var(--transition-fast);
|
||||
flex-shrink: 0;
|
||||
|
||||
svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,31 @@
|
||||
<script lang="ts">
|
||||
import { ALL_PAGES } from '$lib/constants/nav';
|
||||
import ToolCard from './ToolCard.svelte';
|
||||
import type { NavItem } from '$lib/constants/nav';
|
||||
|
||||
export let tools: NavItem[] = ALL_PAGES;
|
||||
</script>
|
||||
|
||||
<section class="tools-grid">
|
||||
{#each tools as tool}
|
||||
<ToolCard {tool} />
|
||||
{/each}
|
||||
</section>
|
||||
|
||||
<style lang="scss">
|
||||
.tools-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -94,7 +94,7 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
href: '/cidr/alignment',
|
||||
label: 'CIDR Alignment',
|
||||
description: 'Check if IP addresses and ranges align to CIDR prefix boundaries with optimization suggestions',
|
||||
icon: 'alignment'
|
||||
icon: 'cidr-alignment'
|
||||
},
|
||||
{
|
||||
href: '/cidr/wildcard-mask',
|
||||
@@ -145,19 +145,19 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
href: '/ip-address-convertor/distance',
|
||||
label: 'IP Distance Calculator',
|
||||
description: 'Calculate the number of addresses between two IPs with inclusive/exclusive counting',
|
||||
icon: 'calculator'
|
||||
icon: 'ip-distance'
|
||||
},
|
||||
{
|
||||
href: '/ip-address-convertor/nth-ip',
|
||||
label: 'Nth IP Calculator',
|
||||
description: 'Resolve the IP address at a specific index within networks and ranges with offset support',
|
||||
icon: 'hash'
|
||||
icon: 'nth-ip'
|
||||
},
|
||||
{
|
||||
href: '/ip-address-convertor/random',
|
||||
label: 'Random IP Generator',
|
||||
description: 'Generate random IP addresses from networks with uniqueness control and seeded randomness',
|
||||
icon: 'shuffle'
|
||||
icon: 'random-ip'
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -180,13 +180,13 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
href: '/ip-address-convertor/notation/normalize',
|
||||
label: 'IPv6 Normalizer',
|
||||
description: 'Normalize IPv6 addresses to RFC 5952 canonical form with step-by-step transformation',
|
||||
icon: 'check-square'
|
||||
icon: 'ip-normalize'
|
||||
},
|
||||
{
|
||||
href: '/ip-address-convertor/notation/zone-id',
|
||||
label: 'IPv6 Zone ID Handler',
|
||||
description: 'Process IPv6 addresses with zone identifiers for link-local and multicast addresses',
|
||||
icon: 'link'
|
||||
icon: 'zone-id-handler'
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -214,13 +214,13 @@ export const SUB_NAV: Record<string, (NavItem | NavGroup)[]> = {
|
||||
href: '/ip-address-convertor/eui64',
|
||||
label: 'EUI-64 Converter',
|
||||
description: 'Convert between MAC addresses and IPv6 EUI-64 interface identifiers with IPv6 generation',
|
||||
icon: 'shuffle'
|
||||
icon: 'eui64-converter'
|
||||
},
|
||||
{
|
||||
href: '/ip-address-convertor/ula-generator',
|
||||
label: 'ULA Generator',
|
||||
description: 'Generate RFC 4193 Unique Local Addresses with cryptographically secure Global IDs',
|
||||
icon: 'key'
|
||||
icon: 'ula-generator'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+2
-115
@@ -1,8 +1,7 @@
|
||||
<script lang="ts">
|
||||
import '../styles/pages.scss';
|
||||
import { site, pages, about } from '$lib/constants/site';
|
||||
import { ALL_PAGES } from '$lib/constants/nav';
|
||||
import Icon from '$lib/components/Icon.svelte';
|
||||
import ToolsGrid from '$lib/components/ToolsGrid.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
@@ -25,24 +24,7 @@
|
||||
</section>
|
||||
|
||||
<!-- Tools Grid -->
|
||||
<section class="tools-grid">
|
||||
{#each ALL_PAGES as page}
|
||||
<a href={page.href} class="tool-card">
|
||||
<div class="tool-icon">
|
||||
<Icon name={page.icon || 'default'} />
|
||||
</div>
|
||||
<div class="tool-content">
|
||||
<h3>{page.label}</h3>
|
||||
<p>{page.description}</p>
|
||||
</div>
|
||||
<div class="tool-arrow">
|
||||
<svg fill="currentColor" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
{/each}
|
||||
</section>
|
||||
<ToolsGrid />
|
||||
|
||||
<style lang="scss">
|
||||
/* Homepage specific styles */
|
||||
@@ -78,100 +60,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tools-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
gap: var(--spacing-md);
|
||||
margin-bottom: var(--spacing-xl);
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
gap: var(--spacing-md);
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.tool-card {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--spacing-md);
|
||||
padding: var(--spacing-lg);
|
||||
background-color: var(--bg-secondary);
|
||||
border: 1px solid var(--border-primary);
|
||||
border-radius: var(--radius-lg);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
transition: all var(--transition-fast);
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--surface-hover);
|
||||
border-color: var(--color-primary);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
|
||||
.tool-arrow {
|
||||
transform: translateX(4px);
|
||||
color: var(--color-primary);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
padding: var(--spacing-md);
|
||||
}
|
||||
}
|
||||
|
||||
.tool-icon {
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: var(--color-primary);
|
||||
border-radius: var(--radius-lg);
|
||||
color: var(--bg-secondary);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.tool-content {
|
||||
flex: 1;
|
||||
|
||||
h3 {
|
||||
font-size: var(--font-size-lg);
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin: 0 0 var(--spacing-xs) 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: var(--font-size-sm);
|
||||
color: var(--text-secondary);
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
}
|
||||
}
|
||||
|
||||
.tool-arrow {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
color: var(--text-secondary);
|
||||
transition: all var(--transition-fast);
|
||||
flex-shrink: 0;
|
||||
|
||||
svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in new issue
Block a user