Vebego Component Library
<div class="mol-card-simple">
    <div>
        <picture class="atm-image ">
            <img class="" src="https://picsum.photos/id/250/400/400" alt="">
        </picture>
    </div>
    <div>
        <h4 class="atm-heading h4">Wat zijn de belangrijkste schoonmaakdoelen?</h4>

        <div class="atm-paragraph text-md">
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur consectetur interdum nulla, ut pretium nibh semper sed. Vivamus porta lectus sit amet accumsan convallis. Duis hendrerit risus justo, quis euismod nisi pellentesque et. Suspendisse quis ultrices orci. Praesent vitae fermentum eros. Quisque elementum, ante nec tincidunt pellentesque, diam elit semper erat, sit amet dapibus erat risus id nisl.</p>
        </div>

        <a class="atm-button atm-button-primary button-md  ">
            <span class="button-content">
                <span>Button 1</span>

            </span>
            <span class="button-triangle"></span>
        </a>

        <a class="atm-button atm-button-secondary button-md ">
            <span class="button-content">
                <span>Button 2</span>
                <span class="atm-icon  far fa-long-arrow-right   "></span>
            </span>
            <span class="button-underline"></span>
        </a>

        <a class="atm-button atm-button-secondary button-md ">
            <span class="button-content">
                <span>Button 3</span>
                <span class="atm-icon  far fa-long-arrow-right   "></span>
            </span>
            <span class="button-underline"></span>
        </a>

    </div>
</div>
<div class="mol-card-simple">
    {{#if image}}
    <div>    
        {{render '@image' image}}    
    </div>
    {{/if}}
    <div>
        {{#if heading}}
        {{render '@heading' heading merge=true}}
        {{/if}}
        {{#if paragraph}}
        {{render '@paragraph' paragraph merge=true}}
        {{/if}}
        {{#each buttonsPrimary}}
        {{render '@button-primary' this merge=true}}
        {{/each}}
        {{#each buttonsSecondary}}
        {{render '@button-secondary' this merge=true}}
        {{/each}}
   </div>
</div>
{
  "image": {
    "src": "https://picsum.photos/id/250/400/400"
  },
  "heading": {
    "tag": "h4",
    "modifier": "h4",
    "text": "Wat zijn de belangrijkste schoonmaakdoelen?"
  },
  "paragraph": {},
  "buttonsPrimary": [
    {
      "text": "Button 1"
    }
  ],
  "buttonsSecondary": [
    {
      "text": "Button 2"
    },
    {
      "text": "Button 3"
    }
  ]
}
  • Content:
    .mol-card-simple
    {  
        .atm-image
        {
            @apply mb-4;
            @apply w-auto;
            @apply h-full;
    
            img
            {
                @apply w-full;
                @apply h-full;
                object-fit: cover;
            }
        }
    
        .atm-heading
        {
            
        }
    
        .atm-paragraph
        {
            @apply mb-4;
        }
    }
    
  • URL: /components/raw/card-simple/card-simple.css
  • Filesystem Path: src\components\03-molecules\card-simple\card-simple.css
  • Size: 353 Bytes

No notes defined.