Skip to content

Commit

Permalink
chore: Update deps, use non-deprecated open-ai api calls
Browse files Browse the repository at this point in the history
  • Loading branch information
motform committed Nov 22, 2023
1 parent 461d485 commit 519f63e
Show file tree
Hide file tree
Showing 6 changed files with 300 additions and 325 deletions.
20 changes: 9 additions & 11 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{:paths ["src" "resources"]

:deps {bidi/bidi {:mvn/version "2.1.6"}
binaryage/devtools {:mvn/version "1.0.5"}
cider/cider-nrepl {:mvn/version "0.28.3"}
binaryage/devtools {:mvn/version "1.0.7"}
cider/cider-nrepl {:mvn/version "0.43.3"}
clj-commons/pushy {:mvn/version "0.3.10"}
cljsjs/d3 {:mvn/version "6.2.0-0"}
cljsjs/d3 {:mvn/version "7.6.1-0"}
day8.re-frame/http-fx {:mvn/version "0.2.4"}
day8.re-frame/re-frame-10x {:mvn/version "1.2.3"}
day8.re-frame/re-frame-10x {:mvn/version "1.8.1"}
day8.re-frame/tracing {:mvn/version "0.6.2"}
doughamil/threeagent {:mvn/version "1.0.1"}
nano-id/nano-id {:mvn/version "1.0.0"}
org.clojure/clojurescript {:mvn/version "1.11.4"}
org.clojure/core.async {:mvn/version "1.5.648"}
re-frame/re-frame {:mvn/version "1.2.0"}
reagent/reagent {:mvn/version "1.1.1"}
thheller/shadow-cljsjs {:mvn/version "0.0.22"}}
org.clojure/core.async {:mvn/version "1.6.681"}
re-frame/re-frame {:mvn/version "1.4.0"}
reagent/reagent {:mvn/version "1.2.0"}
thheller/shadow-cljs {:mvn/version "2.26.2"}}

:aliases {:shadow-cljs
{:extra-deps {thheller/shadow-cljs {:mvn/version "2.17.8"}}
{:extra-deps {thheller/shadow-cljs {:mvn/version "2.26.2"}}
:main-opts ["-m" "shadow.cljs.devtools.cli"]}}}
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
"license": "ISC",
"dependencies": {
"d3": "^7.3.0",
"highlight.js": "10.7.2",
"highlight.js": "11.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"three": "^0.137.5"
"react-dom": "^17.0.2"
}
}
51 changes: 25 additions & 26 deletions resources/public/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,43 +1,42 @@
@font-face {
font-family: "Obviously Narrow";
src: url("/fonts/o/Obviously-Condensed.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-family: "Obviously Narrow";
src: url("/fonts/Obviously-Condensed.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "Obviously";
src: url("/fonts/o/Obviously-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-family: "Obviously";
src: url("/fonts/Obviously-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "Obviously";
src: url("/fonts/o/Obviously-Medium.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-family: "Obviously";
src: url("/fonts/Obviously-Medium.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}


@font-face {
font-family: "Obviously Wide";
src: url("/fonts/o/Obviously-Wide_Medium.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-family: "Obviously Wide";
src: url("/fonts/Obviously-Wide_Medium.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@font-face {
font-family: "Obviously Wide Light";
src: url("/fonts/o/Obviously-Wide_Light.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-family: "Obviously Wide Light";
src: url("/fonts/Obviously-Wide_Light.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "Recursive";
font-style: oblique 0deg 15deg;
font-weight: 300 1000;
font-display: swap;
src: url('/fonts/Recursive_VF_1.078.woff2') format('woff2');
font-family: "Recursive";
font-style: oblique 0deg 15deg;
font-weight: 300 1000;
font-display: swap;
src: url("/fonts/Recursive_VF_1.085.woff2") format("woff2");
}
14 changes: 9 additions & 5 deletions src/org/motform/multiverse/components/landing.cljs
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
(ns org.motform.multiverse.components.landing
(:require [clojure.string :as str]
[re-frame.core :as rf]
[org.motform.multiverse.routes :as routes]
[org.motform.multiverse.util :as util]))
(:require
[clojure.string :as str]
[re-frame.core :as rf]
[org.motform.multiverse.routes :as routes]
[org.motform.multiverse.util :as util]))

(defn elide [s n dots]
(apply str (concat (take n s) (repeat dots ".") (drop (- (count s) n) s))))
(apply str (concat
(take n s)
(repeat dots ".")
(drop (- (count s) n) s))))

(defn key-input-textarea [api-key validated?]
[:textarea.key-input.shadow-medium.textarea-small.rounded.mono
Expand Down
Loading

0 comments on commit 519f63e

Please sign in to comment.