zk_html/diary/2016-03-02-cards.html

45 lines
1.8 KiB
HTML

<!doctype html>
<html>
<head>
<title>Zk | 2016-03-02-cards</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
<meta name="viewport" content="width=device-width" />
<meta charset="utf-8" />
</head>
<body>
<main>
<header>
<h1>Zk | 2016-03-02-cards</h1>
</header>
<article class="content">
<hr />
<p>type: post
slug: cards
date: 2016-03-02
title: Juju Cards</p>
<hr />
<p>One of the new things that we've been working on over on the Juju UI team is the idea of cards.</p>
<p>Cards are a simple concept that allows others to see at a glance both what you're offering and a means to test it out. Juju is perfect for this because it's so easy to spin up a local environment and then <code>juju deploy [x]</code>!</p>
<p>Here's an example for a relatively complex bundle:</p>
<script async src="https://assets.ubuntu.com/v1/juju-cards-v1.0.9.js"></script>
<div class="juju-card" data-id="plumgrid-ons"></div>
<p>These also work for charms:</p>
<div class="juju-card" data-id="wordpress"></div>
<p>Of course, they are nicely responsive:</p>
<div class="juju-card" data-id="openstack-base" style="width:250px;float:left;margin-right:1em"></div>
<div class="juju-card" data-id="mediawiki" style="width:250px;float:left"></div>
<p><br clear="all" /></p>
<p>Check out how to build cards for your own charms <a href="https://jujucharms.com/community/cards">here</a>! This is a new technology that we're playing around with, and we're still ironing out features to include and where cards can be embedded, but they're perfect for your product's site.</p>
</article>
<footer>
<p>Page generated on 2020-04-24</p>
</footer>
</main>
</body>
</html>