Album example

Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.

Main call to action Secondary action

Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins
Image

This is a title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

9 mins

Template-Code in blade

  <header>
    <div class="bg-dark collapse" id="navbarHeader">
      <div class="container">
        <div class="row">
          <div class="col-sm-8 col-md-7 py-4">
            @headline([
              'headlineClass' => 'text-white',
              'headlineTag' => 'h4',
              'title' => 'About',
            ])

            <p class="text-muted">
              Add some information about the album below, the author, or any other background context. Make it a few sentences long so folks can pick up some informative tidbits. Then, link them off to some social networking sites or contact information.
            </p>
          </div>

          <div class="col-sm-4 offset-md-1 py-4">
            @headline([
              'headlineClass' => 'text-white',
              'headlineTag' => 'h4',
              'title' => 'Contact',
            ])

            @php
              $example = [
                [
                  'linkClass' => 'text-white',
                  'title' => 'Follow on Twitter',
                  'url' => '#',
                ],
                [
                  'linkClass' => 'text-white',
                  'title' => 'Like on Facebook',
                  'url' => '#',
                ],
                [
                  'linkClass' => 'text-white',
                  'title' => 'Email me',
                  'url' => '#',
                ],
              ]
            @endphp

            <ul class="list-unstyled">
              @foreach($example as $item)
                <li>
                  @link($item)
                </li>
              @endforeach
            </ul>
          </div>
        </div>
      </div>
    </div>

    {{-- Navbar coming soon --}}
    <div class="navbar navbar-dark bg-dark shadow-sm">
      <div class="container d-flex justify-content-between">
        <a href="#" class="navbar-brand d-flex align-items-center">
          <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" aria-hidden="true" class="mr-2" viewBox="0 0 24 24" focusable="false">
            <path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path>
            <circle cx="12" cy="13" r="4"></circle>
          </svg>

          <strong>Album</strong>
        </a>

        <button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#navbarHeader" aria-controls="navbarHeader" aria-expanded="false" aria-label="Toggle navigation">
          <span class="navbar-toggler-icon"></span>
        </button>
      </div>
    </div>
  </header>

  <section class="jumbotron text-center">
    <div class="container">
      @headline([
        'headlineClass' => 'jumbotron-heading',
        'headlineTag' => 'h1',
        'title' => 'Album example',
      ])

      <p class="lead text-muted">
        Something short and leading about the collection below—its contents, the creator, etc. Make it short and sweet, but not too short so folks don’t simply skip over it entirely.
      </p>

      <p>
        @link([
          'linkClass' => 'btn btn-primary my-2',
          'title' => 'Main call to action',
          'url' => '#',
        ])

        @link([
          'linkClass' => 'btn btn-secondary my-2',
          'title' => 'Secondary action',
          'url' => '#',
        ])
      </p>
    </div>
  </section>

  <div class="album py-5 bg-light">
    <div class="container">
      <div class="row">
        @for($i = 0; $i < 9; $i++)
          <div class="col-md-4">
            @component('lbc/components/card/card', [
              'image' => [
                'src' => 'https://via.placeholder.com/348x255/55595c/ffffff/?text=Thumbnail',
              ],
              'title' => 'This is a title',
              'link' => [
                'url' => '#'
              ],
              'cardClass' => 'mb-4 shadow-sm',
            ])
              @slot('cardBodySlot')
                <p class="card-text">This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
                <div class="d-flex justify-content-between align-items-center">
                  <div class="btn-group">
                    <button type="button" class="btn btn-sm btn-outline-secondary">View</button>
                    <button type="button" class="btn btn-sm btn-outline-secondary">Edit</button>
                  </div>
                  <small class="text-muted">9 mins</small>
                </div>
              @endslot
            @endcomponent
          </div>
        @endfor
      </div>
    </div>
  </div>