Skip to content

Commit 6c6660b

Browse files
committed
fix(website): remove Micro app banner and widen content to 800px
Remove the "Try Micro" promotional banner from the homepage. Set the docs content max-width to 800px for better readability on desktop.
1 parent 6bfef38 commit 6c6660b

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

internal/website/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
.sidebar a { color:#222; display:block; padding:.25rem .4rem; border-radius:4px; }
3838
.sidebar a:hover { background:#f2f5f8; }
3939
.content { flex:1; min-width:0; padding:2rem 2.5rem; }
40-
.content .markdown-body { max-width: 100%; }
40+
.content .markdown-body { max-width: 800px; }
4141
pre, code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
4242
pre { background:#f6f8fa; border:1px solid #d0d7de; padding:.9rem 1rem; border-radius:6px; overflow-x:auto; max-width:100%; }
4343
code { word-wrap: break-word; }

internal/website/index.html

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,6 @@
210210
</head>
211211
<body>
212212
<div class="container">
213-
<div style="margin-bottom: 25px; background: #f6f8fa; border-radius: 5px; padding: 15px; border: 1px solid #d0d7de">
214-
Try <a href="https://mu.xyz"><b>Micro</b></a> - an app platform by the creator of Go Micro
215-
</div>
216-
217213
<div class="logo-wrapper">
218214
<img src="https://raw.githubusercontent.com/micro/go-micro/master/logo.png" alt="Go Micro Logo" />
219215
</div>

0 commit comments

Comments
 (0)