Skip to content

Commit 15fad2f

Browse files
committed
add docs layout
1 parent 456cd7e commit 15fad2f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

internal/website/docs/layout.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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>Go Micro Documentation</title>
7+
<style>
8+
body { font-family: sans-serif; margin: 0; padding: 0; background: #f9f9f9; }
9+
header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; background: #fff; border-bottom: 1px solid #eee; }
10+
.logo-link { display: flex; align-items: center; text-decoration: none; }
11+
.logo-link img { height: 40px; margin-right: 10px; }
12+
nav a { margin-left: 24px; color: #333; text-decoration: none; font-weight: 500; }
13+
nav a:hover { color: #007d9c; }
14+
main { max-width: 800px; margin: 2rem auto; background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
15+
</style>
16+
</head>
17+
<body>
18+
<header>
19+
<a class="logo-link" href="/">
20+
<img src="/logo.png" alt="Go Micro Logo">
21+
<span style="font-size: 1.3rem; font-weight: bold; color: #222;">Go Micro</span>
22+
</a>
23+
<nav>
24+
<a href="/internal/website/docs/">Docs</a>
25+
<a href="https://github.com/micro/go-micro" target="_blank" rel="noopener">GitHub</a>
26+
<a href="/">Home</a>
27+
</nav>
28+
</header>
29+
<main>
30+
<!-- CONTENT -->
31+
</main>
32+
</body>
33+
</html>

0 commit comments

Comments
 (0)