import React from 'react'; import type { Metadata } from 'next'; import WiFiGenerator from './WiFiGenerator'; import { Wifi, Shield, Zap, Smartphone, Lock, QrCode, Download, Share2 } from 'lucide-react'; import { QRCodeSVG } from 'qrcode.react'; import { ToolBreadcrumb } from '@/components/seo/BreadcrumbSchema'; // SEO Optimized Metadata export const metadata: Metadata = { title: 'Free WiFi QR Code Generator | Instant & Secure | QR Master', description: 'Create a WiFi QR code in seconds. Guests scan to connect instantly—no typing passwords. 100% private: your credentials never leave your browser. Free forever.', keywords: ['wifi qr code', 'qr code generator', 'wifi qr code generator', 'share wifi', 'wifi password qr', 'guest wifi'], alternates: { canonical: 'https://qrmaster.io/tools/wifi-qr-code', }, openGraph: { title: 'Free WiFi QR Code Generator | QR Master', description: 'Share your WiFi without sharing your password. Guests scan the QR code to connect instantly.', type: 'website', url: 'https://qrmaster.io/tools/wifi-qr-code', images: [{ url: '/og-wifi-generator.png', width: 1200, height: 630 }], }, twitter: { card: 'summary_large_image', title: 'Free WiFi QR Code Generator', description: 'Share WiFi instantly with a QR code. No typing passwords.', }, robots: { index: true, follow: true, }, }; // JSON-LD Structured Data const jsonLd = { '@context': 'https://schema.org', '@graph': [ // SoftwareApplication Schema { '@type': 'SoftwareApplication', name: 'WiFi QR Code Generator', applicationCategory: 'UtilitiesApplication', operatingSystem: 'Web Browser', offers: { '@type': 'Offer', price: '0', priceCurrency: 'USD', }, aggregateRating: { '@type': 'AggregateRating', ratingValue: '4.9', ratingCount: '2847', }, description: 'Generate QR codes for WiFi networks. Guests scan to connect without typing passwords.', }, // HowTo Schema for Featured Snippets { '@type': 'HowTo', name: 'How to Create a WiFi QR Code', description: 'Create a QR code that connects devices to your WiFi network automatically.', step: [ { '@type': 'HowToStep', position: 1, name: 'Enter Network Name', text: 'Type your WiFi network name (SSID) in the Network Name field.', }, { '@type': 'HowToStep', position: 2, name: 'Enter Password', text: 'Enter your WiFi password. This is processed locally and never sent to any server.', }, { '@type': 'HowToStep', position: 3, name: 'Select Security Type', text: 'Choose WPA/WPA2 (most common), WEP, or No Password for open networks.', }, { '@type': 'HowToStep', position: 4, name: 'Download QR Code', text: 'Click Download PNG or SVG to save your QR code. Print it or share digitally.', }, { '@type': 'HowToStep', position: 5, name: 'Connect', text: 'Print the code. Guests can scan it to join your network instantly.', }, ], totalTime: 'PT1M', }, // FAQPage Schema { '@type': 'FAQPage', mainEntity: [ { '@type': 'Question', name: 'Is it safe to enter my WiFi password?', acceptedAnswer: { '@type': 'Answer', text: 'Yes, completely safe. This tool processes everything in your browser (client-side). Your password never leaves your device and is not sent to any server.', }, }, { '@type': 'Question', name: 'Do WiFi QR codes work on iPhone and Android?', acceptedAnswer: { '@type': 'Answer', text: 'Yes. Both iOS (11+) and Android devices can scan WiFi QR codes using their built-in camera app. No additional apps required.', }, }, { '@type': 'Question', name: 'What happens if I change my WiFi password?', acceptedAnswer: { '@type': 'Answer', text: 'You will need to generate a new QR code with the updated password. Consider using dynamic QR codes if you change passwords frequently.', }, }, { '@type': 'Question', name: 'Can I customize the QR code design?', acceptedAnswer: { '@type': 'Answer', text: 'Yes. You can change the QR code color and add frame labels like "Scan Me" or "WiFi" to make it more recognizable.', }, }, { '@type': 'Question', name: 'Does it work for hidden networks?', acceptedAnswer: { '@type': 'Answer', text: 'Yes, just check the "Hidden Network" box if your SSID is hidden. The QR code contains the standard WiFi string configuration.', }, }, ], }, ], }; export default function WiFiQRCodePage() { return ( <> {/* JSON-LD Script */}