croservices / cro-webapp-template-bootstrap

Cro template macros to make working with Bootstrap easier.

Repository from Github https://github.comcroservices/cro-webapp-template-bootstrapRepository from Github https://github.comcroservices/cro-webapp-template-bootstrap

Cro::WebApp::Template::Bootstrap

Simple example of a .crotmp file using Cro::WebApp::Template::Bootstrap

<:use Cro::WebApp::Template::Bootstrap>

<!doctype html>
<html lang="en">
   <head>
     <&bs-head-meta>
     <&bs-cdn-css>
     <title>Cro WebApp Template Bootstrap</title>
   </head>
   <body>
     <h1>Cro WebApp Template Bootstrap</h1>
     <|bs-container>
       <|bs-row>
         <|bs-col(:sm)>
           <|bs-alert('primary')>primary-alert</|>
         </|>
         <|bs-col(:sm)>
           <|bs-alert('success')>success-alert</|>
         </|>
         <|bs-col(:sm)>
           <|bs-alert('info')>info-alert</|>
         </|>
       </|>
     </|>
   </body>
</html>

About

Cro template macros to make working with Bootstrap easier.


Languages

Language:Raku 100.0%