Skip to content

Commit 8b1f274

Browse files
Merge pull request steam-bell-92#475 from HARSHP-16/SEO-optimizations
SEO optimizations
2 parents 69821bc + 58235de commit 8b1f274

7 files changed

Lines changed: 283 additions & 32 deletions

File tree

web-app/games.html

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,50 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="description" content="Play beginner-friendly Python game projects in your browser—arcade games, puzzles, and more.">
7+
<meta name="description" content="Play beginner-friendly Python games in your browser. Arcade games, puzzles, strategy, and memory challenges with sleek dark/light mode UI. Zero installation required.">
88
<meta name="color-scheme" content="dark light">
99
<meta id="themeColorMeta" name="theme-color" content="#0f172a">
10-
<meta property="og:title" content="Games — Python Mini Projects">
11-
<meta property="og:description" content="Interactive games—no install required.">
10+
11+
<!-- Open Graph / Facebook -->
1212
<meta property="og:type" content="website">
13-
<title>Games - Python Mini Projects</title>
13+
<meta property="og:url" content="https://steam-bell-92.github.io/python-mini-project/games.html">
14+
<meta property="og:title" content="Python Mini Games - Interactive Web Edition">
15+
<meta property="og:description" content="Play beginner-friendly Python games in your browser. Arcade games, puzzles, strategy, and memory challenges with sleek dark/light mode UI. Zero installation required.">
16+
<meta property="og:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
17+
<meta property="og:site_name" content="py.mini() lab">
18+
19+
<!-- Twitter -->
20+
<meta name="twitter:card" content="summary_large_image">
21+
<meta name="twitter:url" content="https://steam-bell-92.github.io/python-mini-project/games.html">
22+
<meta name="twitter:title" content="Python Mini Games - Interactive Web Edition">
23+
<meta name="twitter:description" content="Play beginner-friendly Python games in your browser. Arcade games, puzzles, strategy, and memory challenges with sleek dark/light mode UI. Zero installation required.">
24+
<meta name="twitter:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
25+
26+
<!-- Canonical Link -->
27+
<link rel="canonical" href="https://steam-bell-92.github.io/python-mini-project/games.html">
28+
29+
<title>Python Mini Games - Interactive Web Edition</title>
1430
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
31+
32+
<!-- Structured Data (JSON-LD) -->
33+
<script type="application/ld+json">
34+
{
35+
"@context": "https://schema.org",
36+
"@type": "ItemPage",
37+
"name": "Interactive Python Games",
38+
"description": "Play beginner-friendly Python arcade games, puzzles, and memory challenges in the browser.",
39+
"url": "https://steam-bell-92.github.io/python-mini-project/games.html",
40+
"publisher": {
41+
"@type": "Organization",
42+
"name": "py.mini() lab",
43+
"logo": {
44+
"@type": "ImageObject",
45+
"url": "https://steam-bell-92.github.io/python-mini-project/assets/logo.png"
46+
}
47+
}
48+
}
49+
</script>
50+
1551
<link rel="stylesheet" href="css/styles.css">
1652
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
1753
<style>
@@ -61,7 +97,9 @@
6197
<nav class="navbar" aria-label="Primary">
6298
<div class="container">
6399
<div class="logo">
64-
<h1>🎮 Python Mini Projects</h1>
100+
<a href="index.html" style="text-decoration: none; color: inherit; display: flex; align-items: center; gap: 8px;">
101+
<span style="font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px;">🎮 Python Mini Projects</span>
102+
</a>
65103
</div>
66104
<div class="nav-controls">
67105
<button type="button" class="sound-toggle" id="soundToggle" aria-label="Mute sounds">
@@ -90,6 +128,14 @@ <h1>🎮 Python Mini Projects</h1>
90128
</div>
91129
</section>
92130

131+
<!-- Page Title Section -->
132+
<section class="page-title-section" style="text-align: center; padding: 2rem 0 1rem 0;">
133+
<div class="container">
134+
<h1 style="font-size: 2.5rem; font-family: 'Space Grotesk', sans-serif; background: linear-gradient(135deg, #10b981, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0;">Interactive Python Games</h1>
135+
<p style="color: var(--text-secondary); margin-top: 0.5rem; font-size: 1.1rem; opacity: 0.85;">Play beginner-friendly Python game projects in your browser—arcade games, puzzles, and more.</p>
136+
</div>
137+
</section>
138+
93139
<!-- Projects Grid — Games only -->
94140
<section class="projects-section" aria-label="Game Projects">
95141
<div class="container">

web-app/index.html

Lines changed: 46 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,51 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta name="description"
8-
content="Play 18+ beginner-friendly Python mini projects in your browsergames, math tools, and utilities with a modern dark/light UI.">
8+
content="Play and run 25+ interactive Python mini projects directly in your browser. Features browser games, mathematical visualizations, and utilities with a modern dark/light editor.">
99
<meta name="color-scheme" content="dark light">
1010
<meta id="themeColorMeta" name="theme-color" content="#0f172a">
11-
<meta property="og:title" content="Python Mini Projects — Web Edition">
12-
<meta property="og:description"
13-
content="Interactive games, math visualizations, and utilities—no install required.">
11+
12+
<!-- Open Graph / Facebook -->
1413
<meta property="og:type" content="website">
15-
<meta property="og:url" content="https://github.com/steam-bell-92/python-mini-project">
16-
<meta name="twitter:card" content="summary">
17-
<meta name="twitter:title" content="Python Mini Projects — Web Edition">
18-
<meta name="twitter:description" content="Interactive games, math visualizations, and utilities in the browser.">
19-
<title>Python Mini Projects - Interactive Web Edition</title>
14+
<meta property="og:url" content="https://steam-bell-92.github.io/python-mini-project/">
15+
<meta property="og:title" content="Python Mini Projects - Interactive Web Lab">
16+
<meta property="og:description" content="Play and run 25+ interactive Python mini projects directly in your browser. Features browser games, mathematical visualizations, and utilities with a modern dark/light editor.">
17+
<meta property="og:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
18+
<meta property="og:site_name" content="py.mini() lab">
19+
20+
<!-- Twitter -->
21+
<meta name="twitter:card" content="summary_large_image">
22+
<meta name="twitter:url" content="https://steam-bell-92.github.io/python-mini-project/">
23+
<meta name="twitter:title" content="Python Mini Projects - Interactive Web Lab">
24+
<meta name="twitter:description" content="Play and run 25+ interactive Python mini projects directly in your browser. Features browser games, mathematical visualizations, and utilities with a modern dark/light editor.">
25+
<meta name="twitter:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
26+
27+
<!-- Canonical Link -->
28+
<link rel="canonical" href="https://steam-bell-92.github.io/python-mini-project/">
29+
30+
<title>Python Mini Projects - Interactive Web Lab</title>
2031
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
32+
33+
<!-- Structured Data (JSON-LD) -->
34+
<script type="application/ld+json">
35+
{
36+
"@context": "https://schema.org",
37+
"@type": "WebSite",
38+
"name": "py.mini() lab",
39+
"alternateName": "Python Mini Projects Web Edition",
40+
"url": "https://steam-bell-92.github.io/python-mini-project/",
41+
"description": "Play and run 25+ interactive Python mini projects directly in your browser. Features browser games, mathematical visualizations, and utilities with a modern dark/light editor.",
42+
"publisher": {
43+
"@type": "Organization",
44+
"name": "py.mini() lab",
45+
"logo": {
46+
"@type": "ImageObject",
47+
"url": "https://steam-bell-92.github.io/python-mini-project/assets/logo.png"
48+
}
49+
}
50+
}
51+
</script>
52+
2153
<link rel="preconnect" href="https://fonts.googleapis.com">
2254
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
2355
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Space+Grotesk:wght@600;700&display=swap" rel="stylesheet">
@@ -732,7 +764,7 @@
732764
<div class="nav-island">
733765

734766
<div class="navbar-brand">
735-
<a href="#" class="logo-wrap">
767+
<a href="./index.html" class="logo-wrap">
736768
<span class="logo-prompt">~</span>
737769
<div class="logo-text">
738770
<span class="logo-py">py</span>
@@ -803,7 +835,7 @@
803835
<div class="container">
804836
<div class="hero-content">
805837
<p class="hero-kicker">interactive python lab</p>
806-
<h2 class="hero-title">Learn Python the Fun Way!</h2>
838+
<h1 class="hero-title">Learn Python the Fun Way!</h1>
807839
<p class="hero-subtitle">Small browser experiments for games, math, utilities, and terminal-style practice.</p>
808840
<div class="hero-meta" aria-label="Project summary">
809841
<span id="projectCountBadge">25+ projects</span>
@@ -1033,9 +1065,9 @@ <h2>🎮 Python Mini Projects</h2>
10331065
<div class="footer-links">
10341066
<h3>Quick Links</h3>
10351067
<ul>
1036-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'games\']').click()">Games</a></li>
1037-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'math\']').click()">Math</a></li>
1038-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'utilities\']').click()">Utilities</a></li>
1068+
<li><a href="./games.html">Games</a></li>
1069+
<li><a href="./math.html">Math</a></li>
1070+
<li><a href="./utilities.html">Utilities</a></li>
10391071
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'favorites\']').click()">Favorites</a></li>
10401072
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'playground\']').click()">Playground</a></li>
10411073
</ul>

web-app/math.html

Lines changed: 51 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,50 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="description" content="Explore beginner-friendly Python math projects in your browser—visualizations, calculators, and more.">
7+
<meta name="description" content="Explore interactive Python math projects: Pascal's triangle, Fibonacci spirals, projectile motion, calculus derivative solver, and number theory analyzers in the browser.">
88
<meta name="color-scheme" content="dark light">
99
<meta id="themeColorMeta" name="theme-color" content="#0f172a">
10-
<meta property="og:title" content="Math — Python Mini Projects">
11-
<meta property="og:description" content="Interactive math visualizations—no install required.">
10+
11+
<!-- Open Graph / Facebook -->
1212
<meta property="og:type" content="website">
13-
<title>Math - Python Mini Projects</title>
13+
<meta property="og:url" content="https://steam-bell-92.github.io/python-mini-project/math.html">
14+
<meta property="og:title" content="Python Math Visualizations & Calculators - Interactive Web Edition">
15+
<meta property="og:description" content="Explore interactive Python math projects: Pascal's triangle, Fibonacci spirals, projectile motion, calculus derivative solver, and number theory analyzers in the browser.">
16+
<meta property="og:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
17+
<meta property="og:site_name" content="py.mini() lab">
18+
19+
<!-- Twitter -->
20+
<meta name="twitter:card" content="summary_large_image">
21+
<meta name="twitter:url" content="https://steam-bell-92.github.io/python-mini-project/math.html">
22+
<meta name="twitter:title" content="Python Math Visualizations & Calculators - Interactive Web Edition">
23+
<meta name="twitter:description" content="Explore interactive Python math projects: Pascal's triangle, Fibonacci spirals, projectile motion, calculus derivative solver, and number theory analyzers in the browser.">
24+
<meta name="twitter:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
25+
26+
<!-- Canonical Link -->
27+
<link rel="canonical" href="https://steam-bell-92.github.io/python-mini-project/math.html">
28+
29+
<title>Python Math Visualizations & Calculators - Interactive Web Edition</title>
1430
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
31+
32+
<!-- Structured Data (JSON-LD) -->
33+
<script type="application/ld+json">
34+
{
35+
"@context": "https://schema.org",
36+
"@type": "ItemPage",
37+
"name": "Interactive Python Math Visualizations & Calculators",
38+
"description": "Explore interactive Python math projects: Pascal's triangle, Fibonacci spirals, projectile motion, calculus derivative solver, and number theory analyzers in the browser.",
39+
"url": "https://steam-bell-92.github.io/python-mini-project/math.html",
40+
"publisher": {
41+
"@type": "Organization",
42+
"name": "py.mini() lab",
43+
"logo": {
44+
"@type": "ImageObject",
45+
"url": "https://steam-bell-92.github.io/python-mini-project/assets/logo.png"
46+
}
47+
}
48+
}
49+
</script>
50+
1551
<link rel="stylesheet" href="css/styles.css">
1652
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
1753
<style>
@@ -62,7 +98,9 @@
6298
<nav class="navbar" aria-label="Primary">
6399
<div class="container">
64100
<div class="logo">
65-
<h1>🎮 Python Mini Projects</h1>
101+
<a href="index.html" style="text-decoration: none; color: inherit; display: flex; align-items: center; gap: 8px;">
102+
<span style="font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px;">🎮 Python Mini Projects</span>
103+
</a>
66104
</div>
67105
<div class="nav-controls">
68106
<button type="button" class="sound-toggle" id="soundToggle" aria-label="Mute sounds">
@@ -91,6 +129,14 @@ <h1>🎮 Python Mini Projects</h1>
91129
</div>
92130
</section>
93131

132+
<!-- Page Title Section -->
133+
<section class="page-title-section" style="text-align: center; padding: 2rem 0 1rem 0;">
134+
<div class="container">
135+
<h1 style="font-size: 2.5rem; font-family: 'Space Grotesk', sans-serif; background: linear-gradient(135deg, #10b981, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0;">Interactive Python Math Visualizations</h1>
136+
<p style="color: var(--text-secondary); margin-top: 0.5rem; font-size: 1.1rem; opacity: 0.85;">Explore beginner-friendly Python math projects in your browser—visualizations, calculators, and more.</p>
137+
</div>
138+
</section>
139+
94140
<!-- Projects Grid — Math only -->
95141
<section class="projects-section" aria-label="Math Projects">
96142
<div class="container">

web-app/privacy-policy.html

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,48 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Privacy Policy - py.mini()</title>
6+
<meta name="description" content="Read the Privacy Policy of py.mini(). Learn how we protect user privacy, minimize data tracking, and store state natively in local storage.">
77

8+
<!-- Open Graph / Facebook -->
9+
<meta property="og:type" content="website">
10+
<meta property="og:url" content="https://steam-bell-92.github.io/python-mini-project/privacy-policy.html">
11+
<meta property="og:title" content="Privacy Policy - py.mini() Lab">
12+
<meta property="og:description" content="Read the Privacy Policy of py.mini(). Learn how we protect user privacy, minimize data tracking, and store state natively in local storage.">
13+
<meta property="og:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
14+
<meta property="og:site_name" content="py.mini() lab">
15+
16+
<!-- Twitter -->
17+
<meta name="twitter:card" content="summary_large_image">
18+
<meta name="twitter:url" content="https://steam-bell-92.github.io/python-mini-project/privacy-policy.html">
19+
<meta name="twitter:title" content="Privacy Policy - py.mini() Lab">
20+
<meta name="twitter:description" content="Read the Privacy Policy of py.mini(). Learn how we protect user privacy, minimize data tracking, and store state natively in local storage.">
21+
<meta name="twitter:image" content="https://steam-bell-92.github.io/python-mini-project/assets/logo.png">
22+
23+
<!-- Canonical Link -->
24+
<link rel="canonical" href="https://steam-bell-92.github.io/python-mini-project/privacy-policy.html">
25+
26+
<title>Privacy Policy - py.mini() Lab</title>
27+
<link rel="icon" href="assets/favicon.svg" type="image/svg+xml">
28+
29+
<!-- Structured Data (JSON-LD) -->
30+
<script type="application/ld+json">
31+
{
32+
"@context": "https://schema.org",
33+
"@type": "WebPage",
34+
"name": "Privacy Policy - py.mini() Lab",
35+
"description": "Read the Privacy Policy of py.mini(). Learn how we protect user privacy, minimize data tracking, and store state natively in local storage.",
36+
"url": "https://steam-bell-92.github.io/python-mini-project/privacy-policy.html",
37+
"publisher": {
38+
"@type": "Organization",
39+
"name": "py.mini() lab",
40+
"logo": {
41+
"@type": "ImageObject",
42+
"url": "https://steam-bell-92.github.io/python-mini-project/assets/logo.png"
43+
}
44+
}
45+
}
46+
</script>
47+
848
<link rel="preconnect" href="https://fonts.googleapis.com">
949
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1050
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=Space+Grotesk:wght@600;700&display=swap" rel="stylesheet">
@@ -215,9 +255,9 @@
215255

216256
<header class="privacy-header">
217257
<div class="header-container">
218-
<div class="logo-wrap">
258+
<a href="index.html" class="logo-wrap" style="text-decoration: none; color: inherit;">
219259
<span class="logo-py">py</span><span class="logo-mini">.mini</span><span class="logo-parens">()</span>
220-
</div>
260+
</a>
221261
<div class="controls-row">
222262
<a href="index.html" class="back-btn"><i class="fas fa-arrow-left"></i> Home</a>
223263
<button type="button" class="theme-toggle-btn" id="privacyThemeToggle" aria-label="Toggle visual theme">

web-app/robots.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
User-agent: *
2+
Allow: /
3+
4+
# Prevent crawl of error page and dynamic query variations
5+
Disallow: /404.html
6+
Disallow: /*?
7+
8+
Sitemap: https://steam-bell-92.github.io/python-mini-project/sitemap.xml

0 commit comments

Comments
 (0)