Skip to content

Commit 7b18b0e

Browse files
committed
Github page
1 parent 8c624e0 commit 7b18b0e

File tree

2 files changed

+53
-1
lines changed

2 files changed

+53
-1
lines changed

blob/main/google1f873e9721414ccc.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/index.html

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>ValueMapper</title>
7+
<style>
8+
body { font-family: sans-serif; max-width: 800px; margin: 2rem auto; padding: 1rem; line-height: 1.6; }
9+
header { display: flex; justify-content: space-between; align-items: center; }
10+
button {
11+
background-color: #24292e;
12+
color: white;
13+
border: none;
14+
padding: 0.5rem 1rem;
15+
cursor: pointer;
16+
border-radius: 4px;
17+
}
18+
pre {
19+
background: #f4f4f4;
20+
padding: 0.5rem;
21+
overflow-x: auto;
22+
}
23+
code { background: #f4f4f4; }
24+
</style>
25+
</head>
26+
<body>
27+
<header>
28+
<h1>ValueMapper</h1>
29+
<a href="https://github.com/TechFusionMasters/ValueMapper" target="_blank">
30+
<button>View on GitHub</button>
31+
</a>
32+
</header>
33+
34+
<div id="readme-content">Loading README...</div>
35+
36+
<script>
37+
async function loadReadme() {
38+
const res = await fetch('https://raw.githubusercontent.com/TechFusionMasters/ValueMapper/main/README.md');
39+
const markdown = await res.text();
40+
41+
// Convert markdown to HTML using GitHub API or a small markdown parser
42+
const html = marked.parse(markdown);
43+
document.getElementById('readme-content').innerHTML = html;
44+
}
45+
46+
// Add marked.js CDN
47+
const script = document.createElement('script');
48+
script.src = 'https://cdn.jsdelivr.net/npm/marked/marked.min.js';
49+
script.onload = loadReadme;
50+
document.body.appendChild(script);
51+
</script>
52+
</body>
53+
</html>

0 commit comments

Comments
 (0)