Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / _layout
diff options
context:
space:
mode:
Commit26d3d62515b3911f6a3f87e6161b9491cb02d8de (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2018-11-14 11:35:08 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2018-11-14 11:35:08 +0800
Filese556eff2f5c6fc5d406f45ed8589f1a9a7624da1 /docs/src/_layout
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.tar
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.tar.gz
Spectre-Dark-Gruvbox-26d3d62515b3911f6a3f87e6161b9491cb02d8de.zip
Parentca1bdc5d86edb4d1baf3e9d1fabc89977950a2b4 (diff)
Add Hero layout #380
2 files changed, 36 insertions, 0 deletions
-rw-r--r--docs/src/_layout/_docs-layout.pug1
-rw-r--r--docs/src/_layout/_example-layout.pug35
diff --git a/docs/src/_layout/_docs-layout.pug b/docs/src/_layout/_docs-layout.pug
index a935fc1..3393cfc 100644
--- a/docs/src/_layout/_docs-layout.pug
+++ b/docs/src/_layout/_docs-layout.pug
@@ -47,6 +47,7 @@ block content
'Layout',
{url: 'grid', name: 'Flexbox grid'},
{url: 'responsive', name: 'Responsive'},
+ {url: 'hero', name: 'Hero'},
{url: 'navbar', name: 'Navbar'}
)
+docs-accordion(
diff --git a/docs/src/_layout/_example-layout.pug b/docs/src/_layout/_example-layout.pug
new file mode 100644
index 0000000..f74bc81
--- /dev/null
+++ b/docs/src/_layout/_example-layout.pug
@@ -0,0 +1,35 @@
+block variables
+ - var slug = ''
+ - var parent = ''
+ - var title = 'Spectre.css - A Lightweight, Responsive and Modern CSS Framework'
+ - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.'
+
+doctype html
+html(lang='en')
+ head
+ title= title
+ meta(charset='utf-8')
+ meta(name='robots' content='index, follow')
+ meta(name='viewport' content='width=device-width, initial-scale=1.0, shrink-to-fit=no')
+ meta(http-equiv='x-ua-compatible' content='ie=edge')
+ meta(name='description' content= description)
+ link(rel='shortcut icon' href='../img/favicons/favicon.ico')
+ link(rel='icon' href='../img/favicons/favicon.png')
+ link(rel='stylesheet' href='../dist/spectre.min.css')
+ link(rel='stylesheet' href='../dist/spectre-icons.min.css')
+ link(rel='stylesheet' href='../dist/spectre-exp.min.css')
+ link(rel='stylesheet' href='../dist/docs.min.css')
+
+ body
+ block content
+
+ script.
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
+
+ ga('create', 'UA-2702768-8', 'auto');
+ ga('send', 'pageview');
+
+ \ No newline at end of file