diff --git a/packages/guides-theme-bootstrap/resources/config/guides-theme-bootstrap.php b/packages/guides-theme-bootstrap/resources/config/guides-theme-bootstrap.php index 00105ac9a..74e1d4355 100644 --- a/packages/guides-theme-bootstrap/resources/config/guides-theme-bootstrap.php +++ b/packages/guides-theme-bootstrap/resources/config/guides-theme-bootstrap.php @@ -2,6 +2,12 @@ declare(strict_types=1); +use phpDocumentor\Guides\Bootstrap\Directives\CardDirective; +use phpDocumentor\Guides\Bootstrap\Directives\CardFooterDirective; +use phpDocumentor\Guides\Bootstrap\Directives\CardGridDirective; +use phpDocumentor\Guides\Bootstrap\Directives\CardGroupDirective; +use phpDocumentor\Guides\Bootstrap\Directives\CardHeaderDirective; +use phpDocumentor\Guides\Bootstrap\Directives\CardImageDirective; use phpDocumentor\Guides\Bootstrap\Directives\TabDirective; use phpDocumentor\Guides\Bootstrap\Directives\TabsDirective; use phpDocumentor\Guides\RestructuredText\Directives\BaseDirective; @@ -20,6 +26,12 @@ ->bind('$startingRule', service(DirectiveContentRule::class)) ->instanceof(BaseDirective::class) ->tag('phpdoc.guides.directive') + ->set(CardDirective::class) + ->set(CardFooterDirective::class) + ->set(CardHeaderDirective::class) + ->set(CardImageDirective::class) + ->set(CardGroupDirective::class) + ->set(CardGridDirective::class) ->set(TabDirective::class) ->set(TabsDirective::class); }; diff --git a/packages/guides-theme-bootstrap/resources/template/body/directive/card-grid.html.twig b/packages/guides-theme-bootstrap/resources/template/body/directive/card-grid.html.twig new file mode 100644 index 000000000..a2a47c6f1 --- /dev/null +++ b/packages/guides-theme-bootstrap/resources/template/body/directive/card-grid.html.twig @@ -0,0 +1,15 @@ +
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +See card some-card and Linked Card Header.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. +Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam +nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua. At vero eos et accusam et justo duo dolores et +ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est +Lorem ipsum dolor sit amet.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy +eirmod tempor invidunt ut labore et dolore magna aliquyam erat, +sed diam voluptua.
+ +