Skip to content

Commit 4e8934c

Browse files
committed
Get Badge
1 parent a368be8 commit 4e8934c

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

internal/website/_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ project:
3737
url: /docs/contributing.html
3838
- title: Roadmap
3939
url: /docs/roadmap.html
40+
- title: Get Badge
41+
url: /badge.html
4042
- title: Server (optional)
4143
url: /docs/server.html
4244
search_order:

internal/website/badge.html

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
layout: default
3+
title: Powered by Go Micro Badge
4+
---
5+
6+
# Powered by Go Micro Badge
7+
8+
Show your support and let others know your project is built with Go Micro!
9+
10+
## Badges
11+
12+
### Dark Badge
13+
[![Powered by Go Micro](https://img.shields.io/badge/Powered%20by-Go%20Micro-0366d6?style=for-the-badge&logo=go&logoColor=white)](https://go-micro.dev)
14+
15+
```markdown
16+
[![Powered by Go Micro](https://img.shields.io/badge/Powered%20by-Go%20Micro-0366d6?style=for-the-badge&logo=go&logoColor=white)](https://go-micro.dev)
17+
```
18+
19+
### Light Badge
20+
[![Powered by Go Micro](https://img.shields.io/badge/Powered%20by-Go%20Micro-00ADD8?style=flat&logo=go&logoColor=white)](https://go-micro.dev)
21+
22+
```markdown
23+
[![Powered by Go Micro](https://img.shields.io/badge/Powered%20by-Go%20Micro-00ADD8?style=flat&logo=go&logoColor=white)](https://go-micro.dev)
24+
```
25+
26+
### Compact Badge
27+
[![Go Micro](https://img.shields.io/badge/Go-Micro-0366d6?style=flat-square)](https://go-micro.dev)
28+
29+
```markdown
30+
[![Go Micro](https://img.shields.io/badge/Go-Micro-0366d6?style=flat-square)](https://go-micro.dev)
31+
```
32+
33+
## HTML Badges
34+
35+
If you prefer HTML:
36+
37+
### Standard HTML Badge
38+
39+
```html
40+
<a href="https://go-micro.dev" target="_blank">
41+
<img src="https://img.shields.io/badge/Powered%20by-Go%20Micro-0366d6?style=for-the-badge&logo=go&logoColor=white" alt="Powered by Go Micro">
42+
</a>
43+
```
44+
45+
### Custom SVG Badge
46+
47+
```html
48+
<a href="https://go-micro.dev" style="display:inline-block;text-decoration:none;">
49+
<svg width="160" height="32" xmlns="http://www.w3.org/2000/svg">
50+
<rect width="160" height="32" rx="6" fill="#0366d6"/>
51+
<text x="16" y="21" font-family="system-ui,-apple-system,sans-serif" font-size="13" font-weight="600" fill="white">
52+
Powered by Go Micro
53+
</text>
54+
</svg>
55+
</a>
56+
```
57+
58+
## Usage
59+
60+
Add one of these badges to your README.md, documentation, or website footer to show that your project uses Go Micro.
61+
62+
### Example README
63+
64+
```markdown
65+
# My Awesome Project
66+
67+
![Project Logo](logo.png)
68+
69+
[![Powered by Go Micro](https://img.shields.io/badge/Powered%20by-Go%20Micro-0366d6?style=for-the-badge&logo=go&logoColor=white)](https://go-micro.dev)
70+
71+
My project does amazing things using Go Micro microservices framework.
72+
73+
## Features
74+
- Fast and scalable
75+
- Built with Go Micro
76+
- Production ready
77+
```
78+
79+
## Badge Guidelines
80+
81+
- Link the badge to `https://go-micro.dev` to help others discover Go Micro
82+
- Use the badge prominently in your README
83+
- Consider adding it to your project website footer
84+
- Feel free to customize the colors to match your brand
85+
86+
## Showcase Your Project
87+
88+
Built something cool with Go Micro? [Open an issue](https://github.com/micro/go-micro/issues/new) to get featured on our homepage!

internal/website/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ <h1>Go Micro</h1>
253253
<a href="docs/" class="primary">Documentation</a>
254254
<a href="https://github.com/micro/go-micro" class="secondary">GitHub</a>
255255
<a href="https://pkg.go.dev/go-micro.dev/v5" class="secondary">Reference</a>
256+
<a href="badge.html" class="secondary">Get Badge</a>
256257
</div>
257258

258259
<div class="showcase">

0 commit comments

Comments
 (0)