-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.html
More file actions
82 lines (79 loc) · 3.35 KB
/
docs.html
File metadata and controls
82 lines (79 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdn.jsdelivr.net/gh/MarketingPipeline/Markdown-Tag/markdown-tag.js"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Docs - MyScratchBlocks - A Scratch & TurboWarp Modification</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8fafc;
color: #334155;
}
.loading-spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #3498db;
border-radius: 50%;
width: 24px;
height: 24px;
animation: spin 1s linear infinite;
display: inline-block;
vertical-align: middle;
margin-left: 8px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
iframe {
box-shadow: 0 6px 12px rgba(12, 153, 213, 0.5);
width: 100%;
height: 600px;
transition: box-shadow 0.3s ease;
}
</style>
</head>
<body class="antialiased">
<header class="bg-white shadow-sm py-4">
<div class="container mx-auto px-4 flex justify-between items-center">
<a href="#" class="flex items-center space-x-2 text-2xl font-bold text-indigo-600">
<svg class="w-8 h-8" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 15h2v-6h-2v6zm0-8h2V7h-2v2z"/>
</svg>
<span>MyScratchBlocks</span>
</a>
<nav class="hidden md:flex space-x-6">
<a href="/" class="text-gray-600 hover:text-indigo-600 font-medium">Home</a>
<a href="/#features" class="text-gray-600 hover:text-indigo-600 font-medium">Features</a>
<a href="/#block-ideas" class="text-gray-600 hover:text-indigo-600 font-medium">Block Ideas</a>
<a href="/#project-ideas" class="text-gray-600 hover:text-indigo-600 font-medium">Project Ideas</a>
<a href="/#featured-projects" class="text-gray-600 hover:text-indigo-600 font-medium">Featured Projects</a>
<a href="/#access" class="text-gray-600 hover:text-indigo-600 font-medium">Access</a>
<a href="/#community" class="text-gray-600 hover:text-indigo-600 font-medium">Community</a>
<a href="/#about" class="text-gray-600 hover:text-indigo-600 font-medium">About</a>
<a id="account" href="account" class="text-gray-600 hover:text-indigo-600 font-medium">Login</a>
</nav>
</div>
</header>
<section id="home" class="bg-gradient-to-r from-indigo-500 to-purple-600 text-white py-20 px-4 text-center rounded-b-lg shadow-lg">
<div class="container mx-auto max-w-4xl">
<h1 class="text-4xl sm:text-5xl md:text-6xl font-extrabold leading-tight mb-6">
MyScratchBlocks <br class="hidden sm:inline"> Docs
</h1>
</div>
</section>
<section id="featured-projects" class="py-16 bg-gray-100">
<div class="container mx-auto px-4">
<github-md><iframe id="id-frame" src="#" class="mb-6"></iframe></github-md>
</div>
</section>
<script>
const page = window.location.hash.slice(1);
const iframe = document.getElementById('id-frame');
iframe.src = `https://myscratchblocks.github.io/documentation/${page}.html`;
</script>
</body>
</html>