mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-22 22:02:40 +03:00
Improves SEO
This commit is contained in:
1 parent
8133f8c21e
commit
ad2a86383d
6 files changed
+255
-44
No files matched your search
@@ -82,7 +82,7 @@
|
||||
<header class="card-header">
|
||||
<div class="header-content">
|
||||
<div class="title-row">
|
||||
<h2>{title}</h2>
|
||||
<h1>{title}</h1>
|
||||
{#if currentTool}
|
||||
<button
|
||||
class="bookmark-btn"
|
||||
@@ -139,9 +139,10 @@
|
||||
gap: var(--spacing-sm);
|
||||
position: relative;
|
||||
|
||||
h2 {
|
||||
h1 {
|
||||
margin: 0;
|
||||
flex: 1;
|
||||
font-size: var(--font-size-2xl);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ export const site = {
|
||||
heroDescription: SITE_DESCRIPTION || 'Your companion for all-things networking',
|
||||
keywords:
|
||||
'IP calculator, subnet calculator, CIDR converter, DHCP tools, network tools, DNS tools, networking utilities',
|
||||
url: 'https://networking-toolbox.as93.net',
|
||||
url: 'https://networkingtoolbox.net',
|
||||
image: 'https://networkingtoolbox.net/banner.png',
|
||||
repo: 'https://github.com/lissy93/networking-toolbox',
|
||||
mirror: 'https://codeberg.org/alicia/networking-toolbox',
|
||||
|
||||
+135
-2
@@ -50,6 +50,25 @@
|
||||
};
|
||||
});
|
||||
|
||||
// Calculate prev/next pages for sequential navigation
|
||||
const sequentialNav = $derived.by(() => {
|
||||
const currentPath = $page.url?.pathname ?? '/';
|
||||
const currentIndex = ALL_PAGES.findIndex((page) => page.href === currentPath);
|
||||
|
||||
// Not a tool page or not found in ALL_PAGES
|
||||
if (currentIndex === -1) {
|
||||
return { prev: null, next: null };
|
||||
}
|
||||
|
||||
const prevPage = currentIndex > 0 ? ALL_PAGES[currentIndex - 1] : null;
|
||||
const nextPage = currentIndex < ALL_PAGES.length - 1 ? ALL_PAGES[currentIndex + 1] : null;
|
||||
|
||||
return {
|
||||
prev: prevPage ? `${site.url}${prevPage.href}` : null,
|
||||
next: nextPage ? `${site.url}${nextPage.href}` : null,
|
||||
};
|
||||
});
|
||||
|
||||
// Dynamic favicon based on page icon
|
||||
const dynamicFavicon = $derived.by(() => {
|
||||
void faviconTrigger; // Include in order to force updates when theme changes
|
||||
@@ -233,31 +252,49 @@
|
||||
<meta name="author" content={author.name} />
|
||||
<link rel="canonical" href={seoData.url} />
|
||||
|
||||
<!-- Sequential Navigation (for tool pages) -->
|
||||
{#if sequentialNav.prev}
|
||||
<link rel="prev" href={sequentialNav.prev} />
|
||||
{/if}
|
||||
{#if sequentialNav.next}
|
||||
<link rel="next" href={sequentialNav.next} />
|
||||
{/if}
|
||||
|
||||
<!-- Open Graph Tags -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content={seoData.title} />
|
||||
<meta property="og:description" content={seoData.description} />
|
||||
<meta property="og:url" content={seoData.url} />
|
||||
<meta property="og:image" content={seoData.image} />
|
||||
<meta property="og:image:width" content="1200" />
|
||||
<meta property="og:image:height" content="675" />
|
||||
<meta property="og:image:type" content="image/png" />
|
||||
<meta property="og:image:alt" content="Networking Toolbox - Comprehensive IP and network tools" />
|
||||
<meta property="og:site_name" content={site.name} />
|
||||
<meta property="og:locale" content="en_US" />
|
||||
|
||||
<!-- Twitter Card Tags -->
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@lissy_sykes" />
|
||||
<meta name="twitter:creator" content="@lissy_sykes" />
|
||||
<meta name="twitter:title" content={seoData.title} />
|
||||
<meta name="twitter:description" content={seoData.description} />
|
||||
<meta name="twitter:image" content={seoData.image} />
|
||||
<meta name="twitter:image:alt" content="Networking Toolbox - Comprehensive IP and network tools" />
|
||||
|
||||
<!-- Additional Meta Tags -->
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="referrer" content="strict-origin-when-cross-origin" />
|
||||
<meta name="generator" content="SvelteKit" />
|
||||
|
||||
<!-- PWA Manifest -->
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="IP Calculator" />
|
||||
<meta name="application-name" content="IP Calculator" />
|
||||
<meta name="apple-mobile-web-app-title" content={site.name} />
|
||||
<meta name="application-name" content={site.name} />
|
||||
<meta name="msapplication-TileColor" content="#2563eb" />
|
||||
<meta name="theme-color" content="#2563eb" />
|
||||
|
||||
@@ -265,6 +302,102 @@
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
{@html jsonLdTag(data.breadcrumbJsonLd)}
|
||||
|
||||
<!-- WebSite Schema (Homepage only) -->
|
||||
{#if $page.url.pathname === '/'}
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
{@html jsonLdTag({
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'WebSite',
|
||||
name: site.name,
|
||||
description: site.description,
|
||||
url: site.url,
|
||||
inLanguage: 'en-US',
|
||||
copyrightYear: '2025',
|
||||
copyrightHolder: {
|
||||
'@type': 'Person',
|
||||
name: author.name,
|
||||
url: author.url,
|
||||
},
|
||||
creator: {
|
||||
'@type': 'Person',
|
||||
name: author.name,
|
||||
url: author.url,
|
||||
},
|
||||
potentialAction: {
|
||||
'@type': 'SearchAction',
|
||||
target: {
|
||||
'@type': 'EntryPoint',
|
||||
urlTemplate: `${site.url}/?search={search_term_string}`,
|
||||
},
|
||||
'query-input': 'required name=search_term_string',
|
||||
},
|
||||
})}
|
||||
|
||||
<!-- SoftwareApplication Schema (Homepage only) -->
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
{@html jsonLdTag({
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'SoftwareApplication',
|
||||
name: site.name,
|
||||
description: site.longDescription,
|
||||
url: site.url,
|
||||
applicationCategory: 'DeveloperApplication',
|
||||
operatingSystem: 'Any',
|
||||
offers: {
|
||||
'@type': 'Offer',
|
||||
price: '0',
|
||||
priceCurrency: 'USD',
|
||||
},
|
||||
author: {
|
||||
'@type': 'Person',
|
||||
name: author.name,
|
||||
url: author.url,
|
||||
},
|
||||
softwareVersion: '3.0',
|
||||
aggregateRating: {
|
||||
'@type': 'AggregateRating',
|
||||
ratingValue: '5',
|
||||
ratingCount: '1',
|
||||
},
|
||||
featureList: [
|
||||
'IPv4 and IPv6 subnet calculator',
|
||||
'CIDR notation converter',
|
||||
'IP address format conversion',
|
||||
'Network diagnostics tools',
|
||||
'DNS record generators',
|
||||
'DHCP configuration builder',
|
||||
'Offline-first PWA',
|
||||
],
|
||||
})}
|
||||
|
||||
<!-- Organization Schema (Homepage only) -->
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
{@html jsonLdTag({
|
||||
'@context': 'https://schema.org',
|
||||
'@type': 'Organization',
|
||||
name: site.name,
|
||||
url: site.url,
|
||||
logo: {
|
||||
'@type': 'ImageObject',
|
||||
url: `${site.url}/icon.png`,
|
||||
width: '1024',
|
||||
height: '1024',
|
||||
},
|
||||
description: site.longDescription,
|
||||
founder: {
|
||||
'@type': 'Person',
|
||||
name: author.name,
|
||||
url: author.url,
|
||||
},
|
||||
sameAs: [site.repo, site.mirror, site.docker, author.githubUrl, author.portfolio],
|
||||
contactPoint: {
|
||||
'@type': 'ContactPoint',
|
||||
contactType: 'Developer',
|
||||
url: site.repo,
|
||||
},
|
||||
})}
|
||||
{/if}
|
||||
|
||||
<!-- Plausible Analytics -->
|
||||
<script defer data-domain="networking-toolbox.as93.net" src="https://no-track.as93.net/js/script.js"></script>
|
||||
</svelte:head>
|
||||
|
||||
@@ -12,15 +12,6 @@
|
||||
import LicenseSection from '$lib/components/page-specific/about/LicenseSection.svelte';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
<title>About | Networking Toolbox</title>
|
||||
<meta name="description" content={site.description} />
|
||||
<meta name="keywords" content={site.keywords} />
|
||||
<meta property="og:title" content={site.title} />
|
||||
<meta property="og:description" content={site.description} />
|
||||
<meta property="og:url" content="{site.url}/about" />
|
||||
</svelte:head>
|
||||
|
||||
<!-- Section 0: Hero -->
|
||||
<div class="hero">
|
||||
<h2>About {site.title}</h2>
|
||||
|
||||
+115
-29
@@ -1,16 +1,23 @@
|
||||
{
|
||||
"name": "Networking Toolbox",
|
||||
"short_name": "Networking Toolbox",
|
||||
"description": "A free set of online tools to help with IP addressing and subnetting.",
|
||||
"short_name": "Net Toolbox",
|
||||
"description": "Comprehensive IP address calculator with subnet calculations, CIDR conversion, IP format conversion, and network reference tools.",
|
||||
"start_url": "/",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait-primary",
|
||||
"orientation": "any",
|
||||
"theme_color": "#e3ed70",
|
||||
"background_color": "#ffffff",
|
||||
"categories": ["utilities", "productivity", "developer"],
|
||||
"background_color": "#21262d",
|
||||
"categories": ["utilities", "productivity", "developer", "networking"],
|
||||
"lang": "en-US",
|
||||
"dir": "ltr",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/favicon.png",
|
||||
"sizes": "48x48",
|
||||
@@ -18,10 +25,28 @@
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32",
|
||||
"src": "/icon.png",
|
||||
"sizes": "72x72 96x96 144x144 192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "any maskable"
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/icon.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icon.png",
|
||||
"sizes": "384x384 512x512 1024x1024",
|
||||
"type": "image/png",
|
||||
"purpose": "any"
|
||||
},
|
||||
{
|
||||
"src": "/icon.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "/favicon.ico",
|
||||
@@ -32,9 +57,21 @@
|
||||
],
|
||||
"shortcuts": [
|
||||
{
|
||||
"name": "CIDR Calculator",
|
||||
"name": "IPv4 Subnet Calculator",
|
||||
"short_name": "IPv4 Subnet",
|
||||
"description": "Calculate subnet masks, host ranges, and network information",
|
||||
"url": "/subnetting/ipv4-subnet-calculator",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CIDR Tools",
|
||||
"short_name": "CIDR",
|
||||
"description": "Calculate CIDR ranges and subnet information",
|
||||
"description": "CIDR notation converter and subnet calculator",
|
||||
"url": "/cidr",
|
||||
"icons": [
|
||||
{
|
||||
@@ -44,10 +81,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Subnet Planner",
|
||||
"short_name": "Subnets",
|
||||
"description": "Plan and calculate subnets",
|
||||
"url": "/subnet/planner",
|
||||
"name": "IP Address Converter",
|
||||
"short_name": "IP Tools",
|
||||
"description": "Convert between IP formats and validate addresses",
|
||||
"url": "/ip-address-convertor",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
@@ -56,10 +93,10 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "IPv6 Tools",
|
||||
"short_name": "IPv6",
|
||||
"description": "IPv6 address tools and utilities",
|
||||
"url": "/ipv6",
|
||||
"name": "DNS Record Generators",
|
||||
"short_name": "DNS",
|
||||
"description": "Generate DNS records, zone files, and DNSSEC keys",
|
||||
"url": "/dns",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
@@ -68,9 +105,45 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Bookmarks",
|
||||
"name": "Network Diagnostics",
|
||||
"short_name": "Diagnostics",
|
||||
"description": "DNS lookup, WHOIS, ping, and network testing tools",
|
||||
"url": "/diagnostics",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Networking Reference",
|
||||
"short_name": "Reference",
|
||||
"description": "Network protocols, port numbers, and technical guides",
|
||||
"url": "/reference",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DHCP Options",
|
||||
"short_name": "DHCP",
|
||||
"description": "DHCP option generators for network configuration",
|
||||
"url": "/dhcp",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/favicon-32x32.png",
|
||||
"sizes": "32x32"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Bookmarked Tools",
|
||||
"short_name": "Bookmarks",
|
||||
"description": "Your bookmarked tools",
|
||||
"description": "Quick access to your favorite tools (works offline)",
|
||||
"url": "/bookmarks",
|
||||
"icons": [
|
||||
{
|
||||
@@ -83,26 +156,39 @@
|
||||
"screenshots": [
|
||||
{
|
||||
"src": "/banner.png",
|
||||
"sizes": "1200x630",
|
||||
"sizes": "1200x675",
|
||||
"type": "image/png",
|
||||
"platform": "wide",
|
||||
"label": "IP Calculator main interface"
|
||||
"label": "Networking Toolbox - Comprehensive IP and network tools"
|
||||
}
|
||||
],
|
||||
"features": [
|
||||
"offline-capable",
|
||||
"network-calculator",
|
||||
"subnet-planner",
|
||||
"ipv6-tools",
|
||||
"cidr-operations",
|
||||
"network-diagnostics"
|
||||
"subnet-calculator",
|
||||
"cidr-tools",
|
||||
"ip-converter",
|
||||
"dns-tools",
|
||||
"dhcp-tools",
|
||||
"network-diagnostics",
|
||||
"networking-reference"
|
||||
],
|
||||
"prefer_related_applications": false,
|
||||
"related_applications": [],
|
||||
"edge_side_panel": {
|
||||
"preferred_width": 400
|
||||
"preferred_width": 480
|
||||
},
|
||||
"launch_handler": {
|
||||
"client_mode": "navigate-existing"
|
||||
},
|
||||
"display_override": ["standalone", "minimal-ui", "browser"],
|
||||
"protocol_handlers": [],
|
||||
"file_handlers": [],
|
||||
"share_target": {
|
||||
"action": "/",
|
||||
"method": "GET",
|
||||
"enctype": "application/x-www-form-urlencoded",
|
||||
"params": {
|
||||
"text": "search"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
User-agent: *
|
||||
Disallow:
|
||||
|
||||
Sitemap: https://networking-toolbox.as93.net/sitemap.xml
|
||||
Sitemap: https://networkingtoolbox.net/sitemap.xml
|
||||
Reference in new issue
Block a user