feat: Add 19 free QR code tools with SEO optimization
- Added PayPal, Zoom, Teams QR generators - Added lazy loading for html-to-image (performance) - Created 19 OG images for social sharing - Added robots.txt and updated sitemap - Fixed mobile navigation with accordion menu - Added 7 color options per generator - Fixed crypto QR with universal/wallet mode toggle - Hero QR codes all point to qrmaster.net
This commit is contained in:
@@ -3,6 +3,36 @@ import { MetadataRoute } from 'next';
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
const baseUrl = 'https://www.qrmaster.net';
|
||||
|
||||
// All free tool slugs
|
||||
const freeTools = [
|
||||
'url-qr-code',
|
||||
'vcard-qr-code',
|
||||
'text-qr-code',
|
||||
'email-qr-code',
|
||||
'sms-qr-code',
|
||||
'wifi-qr-code',
|
||||
'crypto-qr-code',
|
||||
'event-qr-code',
|
||||
'facebook-qr-code',
|
||||
'instagram-qr-code',
|
||||
'twitter-qr-code',
|
||||
'youtube-qr-code',
|
||||
'whatsapp-qr-code',
|
||||
'tiktok-qr-code',
|
||||
'geolocation-qr-code',
|
||||
'phone-qr-code',
|
||||
'paypal-qr-code',
|
||||
'zoom-qr-code',
|
||||
'teams-qr-code',
|
||||
];
|
||||
|
||||
const toolPages = freeTools.map((slug) => ({
|
||||
url: `${baseUrl}/tools/${slug}`,
|
||||
lastModified: new Date(),
|
||||
changeFrequency: 'monthly' as const,
|
||||
priority: 0.8,
|
||||
}));
|
||||
|
||||
return [
|
||||
{
|
||||
url: baseUrl,
|
||||
@@ -70,5 +100,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
|
||||
changeFrequency: 'yearly',
|
||||
priority: 0.4,
|
||||
},
|
||||
...toolPages,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user