Skip to content

Commit 0818172

Browse files
committed
a good stopping point
1 parent 722be89 commit 0818172

6 files changed

Lines changed: 419 additions & 255 deletions

File tree

web/_includes/partials/theme-control.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
<label for="chroma-slider">Chroma: <span id="chroma-value">10</span>%</label>
1212
<input type="range" id="chroma-slider" min="0" max="0.25" value="0.1" step="0.01">
1313
</div>
14+
<label style="margin-left:1em;">
15+
<input type="checkbox" id="toggle-debug-arrows" />
16+
Debug
17+
</label>
1418
</div>
1519

1620
<script src="/r/js/theme-control.js"></script>

web/_src/method.njk

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,24 @@ permalink: /method/{{ resource.slug }}/index.html
9494
<section id="network-graph">
9595
<div class="title">
9696
<hr />
97-
<h2>Graph</h2>
97+
<h2>Preparation</h2>
98+
</div>
99+
<div class="flow --pb-lg">
100+
<p>{{ resource.title }} is often more effective when it is informed by these complementary methods.</p>
98101
</div>
99-
<div class="graph no-transition">
100-
<svg class="network-connections" width="100%" height="100%"></svg>
102+
<div class="graph graph-prepare no-transition">
103+
<svg class="network-connections" width="100%" height="100%">
104+
<defs>
105+
<marker id="arrowhead" markerWidth="8" markerHeight="8" refX="4" refY="4"
106+
orient="auto" markerUnits="strokeWidth">
107+
<path d="M 0 0 L 8 4 L 0 8 z" fill="currentColor"/>
108+
</marker>
109+
<filter id="handdrawn">
110+
<feTurbulence id="turb" baseFrequency="0.2" numOctaves="2" seed="3" />
111+
<feDisplacementMap in2="turb" in="SourceGraphic" scale="2" xChannelSelector="R" yChannelSelector="G"/>
112+
</filter>
113+
</defs>
114+
</svg>
101115
<ul class="chips">
102116
{% for method in resource
103117
.prepareMethods
@@ -165,13 +179,26 @@ permalink: /method/{{ resource.slug }}/index.html
165179
<hr />
166180
<h2>Next Steps</h2>
167181
</div>
168-
<div class="grid-content">
169-
<ul class="cards">
182+
<div class="graph graph-next no-transition">
183+
<svg class="network-connections" width="100%" height="100%">
184+
<defs>
185+
<marker id="arrowhead" markerWidth="8" markerHeight="8" refX="4" refY="4"
186+
orient="auto" markerUnits="strokeWidth">
187+
<path d="M 0 0 L 8 4 L 0 8 z" fill="currentColor"/>
188+
</marker>
189+
</defs>
190+
</svg>
191+
<ul class="chips">
170192
{% for method in resource
171193
.continueMethods
172194
.slice(0, 6) %}
173-
{% resourceCard method, "full-card" %}
195+
{% resourceCard method, "chip" %}
174196
{% endfor %}
197+
<li class="chip this" data-slug="{{ resource.slug }}">
198+
<a href="{{ resource.uri }}">
199+
<h3>{{ resource.title }}</h3>
200+
</a>
201+
</li>
175202
</ul>
176203
</div>
177204
</section>

0 commit comments

Comments
 (0)