diff --git a/src/component/badge.org b/src/component/badge.org index ff70439..4aa6be6 100644 --- a/src/component/badge.org +++ b/src/component/badge.org @@ -70,7 +70,7 @@ them into your project: #+begin_src lisp (defpackage my-web-app - (:use :cl :cl-sbt/badge) + (:use :cl :cl-sbt/badge :cl-sbt/btn) (:export :generate-badge-page)) (in-package :my-web-app) @@ -85,7 +85,7 @@ them into your project: ) (:body (:h1 "Badge Example") - (badge-primary "New") + (btn-primary () "Notifications " (badge-secondary "4")) (badge-success "Updated") ;; Include more badges here )))) @@ -93,6 +93,21 @@ them into your project: (generate-badge-page) #+end_src +#+RESULTS: +#+begin_example + + + + Badge Example + + +

Badge Example

+ + Updated + + +#+end_example + This example demonstrates how to integrate cl-sbt/badge macros into a web application to create Bootstrap-style badges. By using these macros, you can quickly and easily add badges to your web application, customizing them to fit