SEO tweaks

This commit is contained in:
2025-11-20 23:43:02 -05:00
parent cf010974dd
commit 5305c34e3d
5 changed files with 183 additions and 3 deletions

39
web/static/manifest.json Normal file
View File

@@ -0,0 +1,39 @@
{
"name": "Maze Generator",
"short_name": "MazeGen",
"description": "Generate and solve mazes with 8 different algorithms. Features animated pathfinding visualization.",
"start_url": "/",
"display": "standalone",
"background_color": "#F5F5F5",
"theme_color": "#FFE500",
"orientation": "portrait-primary",
"icons": [
{
"src": "/static/images/icon-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any maskable"
},
{
"src": "/static/images/icon-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any maskable"
}
],
"categories": ["education", "entertainment", "utilities"],
"screenshots": [
{
"src": "/static/images/screenshot-wide.png",
"sizes": "1280x720",
"type": "image/png",
"form_factor": "wide"
},
{
"src": "/static/images/screenshot-mobile.png",
"sizes": "750x1334",
"type": "image/png",
"form_factor": "narrow"
}
]
}

21
web/static/robots.txt Normal file
View File

@@ -0,0 +1,21 @@
# Robots.txt for Maze Generator
# Allow all search engines to index the site
User-agent: *
Allow: /
Disallow: /api/
# Specific crawlers
User-agent: Googlebot
Allow: /
Disallow: /api/
User-agent: Bingbot
Allow: /
Disallow: /api/
# Sitemap location
Sitemap: https://yoursite.com/sitemap.xml
# Crawl delay (optional)
Crawl-delay: 1

15
web/static/sitemap.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
<url>
<loc>https://yoursite.com/</loc>
<lastmod>2025-01-20</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
<image:image>
<image:loc>https://yoursite.com/static/images/screenshot.png</image:loc>
<image:title>Maze Generator - Neo-Brutalism Design</image:title>
<image:caption>Interactive maze generator with 8 algorithms and animated solving</image:caption>
</image:image>
</url>
</urlset>