Summary Files Commits Branches @commit @diff @stats
path: root / docs / src / layout / hero.pug
blob: 36d765d5aeacd286ce4a3d10362b818fd5085791 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
extends ../_layout/_docs-layout.pug

block variables
  - var slug = 'hero'
  - var parent = 'layout'
  - var title = 'Hero - Layout - Spectre.css 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.'

block docs-content
  +docs-heading('hero', 'Hero')
    include ../_layout/_ad-g.pug

    p
      | The Hero container shows key featured content or information.

    .docs-demo.columns
      .column
        .hero.bg-gray
          .hero-body
            h1 Hero title
            p This is a hero example


    pre.code(data-lang='HTML')
      code
        :highlight(lang="html")
          <!-- hero example -->

    .docs-demo.columns
      .column
        .hero.hero-sm.bg-dark
          .hero-body
            h1 Hero title
            p This is a hero example
            
    .docs-demo.columns
      .column
        .hero.hero-lg.bg-primary
          .hero-body
            h1 Hero title
            p This is a hero example

    include ../_layout/_ad-c.pug

  include ../_layout/_footer.pug