Add landing page to docs

pull/17/head
Fenny 2020-02-03 15:49:17 +01:00
parent cbfc9eb98c
commit 49d762eaf7
4 changed files with 21 additions and 1 deletions

11
docs/_coverpage.md Normal file
View File

@ -0,0 +1,11 @@
![logo](static/logo_320px_trans.png)
# Fiber <small>1.3.0</small>
> Express.js inspired web framework written in Go.
- Optimized for speed and low memory usage
- Build on 🚀 Fasthttp.
[GitHub](https://github.com/gofiber/fiber)
[Documentation](?id=getting-started)

4
docs/_navbar.md Normal file
View File

@ -0,0 +1,4 @@
- Translations
- [:uk: English](/)
- [:cn: 中文](/zh-cn/)
- [:ru: Russian](/ru/)

View File

@ -25,12 +25,14 @@
homepage: 'getting_started.md',
subMaxLevel: 4,
auto2top: true,
onlyCover: false,
coverpage: true,
pagination: {
previousText: 'Previous',
nextText: 'Next',
crossChapter: true,
crossChapterText: true,
}
},
}
</script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>

View File

@ -1,3 +1,6 @@
.cover-main img {
width: 150px;
}
:focus {
outline: none;
}