extends ../../layouts/LayoutComponent include ../../mixins/components/Card include ../../mixins/components/PageHeader append variables - var pageHeader = { title: 'Card', description: `${name}'s cards provide a flexible and extensible content container with multiple variants and options.`, url: `https://getbootstrap.com/docs/${bootstrapVersion}/components/card/`, linkText: 'Card on Bootstrap' } block component +PageHeader(pageHeader) .row.mb-3 .col-xl-6.pe-xl-2 +ComponentCard({ title: 'Basic Example', anchor: true, }).mb-3.h-lg-100 +CardBasicDemo .col-xl-6.ps-xl-2 +ComponentCard({ title: 'Card with image', anchor: true, }).mb-3.h-100 +CardWithImageDemo +ComponentCard({ title: 'Card with background', anchor: true, }).mb-3 +PageHeaderExampleDemo +ComponentCard({ title: 'Notification', anchor: true, }).mb-3 .fs-10(style="max-width: 25rem;") +Notification({ avatar: {size: '2xl', img: 'team/1.jpg'}, body: 'Emma Watson replied to your comment : "Nice Dashboard 😍"', time: 'Just now', emoji: '💬', }) +ComponentCard({ title: 'Background', anchor: true, }).mb-3 +CardOverlayDemo({ title: 'Card title', body: 'Some quick example text to build on the card title and make up the bulk of the card\'s content.', img: 'generic/3.jpg', attrs: { style: 'max-width: 30rem', } }).align-items-end.d-flex +ComponentCard({ title: 'Card Groups', anchor: true, bodyClass:'bg-body-tertiary overflow-hidden' }).mb-3 +CardGroupDemo +ComponentCard({ title: 'Card Styles', anchor: true, description:"Cards include various options for customizing their backgrounds, borders, and color.", descriptionClass:'mt-2 mb-0' }).mb-3 +CardStyleDemo +ComponentCard({ title: 'Card Border', anchor: true, description:"Use border-utilities to change just the border-color of a card. Note that you can put .text-{color} classes on the parent .card or a subset of the card’s contents as shown below.", descriptionClass:'mt-2 mb-0' }) +CardBorderDemo