diff --git a/pkg/arvo/neo/cod/std/src/con/node-counter-diff.hoon b/pkg/arvo/neo/cod/std/src/con/node-counter-diff.hoon new file mode 100644 index 0000000000..426741d98d --- /dev/null +++ b/pkg/arvo/neo/cod/std/src/con/node-counter-diff.hoon @@ -0,0 +1,9 @@ +/@ node +/@ counter-diff +/- manx-utils +:- [%node %$ %counter-diff] +|= =node +^- counter-diff +=/ mu ~(. manx-utils node) +=/ head (?(%inc) (got:mu %head)) +[head ~] diff --git a/pkg/arvo/neo/cod/std/src/con/number-htmx.hoon b/pkg/arvo/neo/cod/std/src/con/number-htmx.hoon new file mode 100644 index 0000000000..97a936d834 --- /dev/null +++ b/pkg/arvo/neo/cod/std/src/con/number-htmx.hoon @@ -0,0 +1,21 @@ +/@ number +/- feather-icons +:- [%number %$ %htmx] +|= =number +|= =bowl:neo +^- manx +;div.fc.ac.br2 + ;h2: {} + ;form + =hx-post "/neo/hawk{(en-tape:pith:neo here.bowl)}?stud=counter-diff" + =hx-on-submit "this.reset()" + =hx-target "find .loading" + =head "inc" + ;button.bd3.p2.hover + ;span.loaded: Increment + ;span.loading + ;+ loading.feather-icons + == + == + == +==