Skip to content

Commit 35e687b

Browse files
committed
Add quickstart example to site index
1 parent 0251e88 commit 35e687b

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

site/index.html

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<link rel="stylesheet" href="style.css">
1313
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script>
1414
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/clojure.min.js"></script>
15+
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/shell.min.js"></script>
1516
<script>hljs.highlightAll();</script>
1617
</head>
1718
<body>
@@ -28,7 +29,7 @@ <h1 class="title">
2829
</section>
2930
<div class="nav-buttons">
3031
<div class="container has-text-centered">
31-
<a class="button is-primary is-rounded is-size-6" href="#">Read the docs</a>
32+
<a class="button is-primary is-rounded is-size-6" href="/docs">Read the docs</a>
3233
</div>
3334
</div>
3435
<section class="section">
@@ -99,6 +100,22 @@ <h1 class="title">
99100
{:body {:items (jdbc/execute! db ["SELECT * FROM items"])}}))</code></pre>
100101
</div>
101102
</section>
103+
<section class="section">
104+
<div class="container is-max-tablet">
105+
<p class="is-size-4">
106+
Get a Duct project started in only <strong>a few commands</strong>.
107+
</p>
108+
<p>
109+
Duct makes it easy to get going. All you need is the
110+
<code>clojure</code> command-line tool installed.
111+
Once you're set up, read the extensive
112+
<a href="/docs">documentation</a> to learn how to use this framework.
113+
</p>
114+
<pre class="highlight"><code class="language-shell">$ mkdir demo &amp;&amp; cd demo
115+
$ curl -Os duct.now/deps.edn
116+
$ clojure -M:duct --setup :duct:git</code></pre>
117+
</div>
118+
</section>
102119
<footer class="footer">
103120
<div class="content has-text-centered">
104121
<p>Created by James Reeves (2025)</p>

site/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ html, .hero .hero-body, .footer {
2424
background: #292929;
2525
}
2626

27+
:root {
28+
--bulma-link-text: #93dd56;
29+
}
30+
31+
p a:hover {
32+
text-decoration: underline;
33+
}
34+
2735
.footer {
2836
margin-top: 3rem;
2937
padding-bottom: 3rem;

0 commit comments

Comments
 (0)