Skip to content

Commit

Permalink
update before moving
Browse files Browse the repository at this point in the history
  • Loading branch information
breadchris committed Feb 14, 2024
1 parent f791b20 commit 21d522f
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 28 deletions.
4 changes: 0 additions & 4 deletions js/dist/extension/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -5164,10 +5164,6 @@ details.collapse summary::-webkit-details-marker {
margin-bottom: 1.5rem;
}

.mb-16 {
margin-bottom: 4rem;
}

.mb-32 {
margin-bottom: 8rem;
}
Expand Down
14 changes: 7 additions & 7 deletions js/dist/site/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/dist/site/index.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions js/dist/site/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -5164,10 +5164,6 @@ details.collapse summary::-webkit-details-marker {
margin-bottom: 1.5rem;
}

.mb-16 {
margin-bottom: 4rem;
}

.mb-32 {
margin-bottom: 8rem;
}
Expand Down
18 changes: 9 additions & 9 deletions js/site/source/ContentEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,23 +439,23 @@ const BottomNav: React.FC<{
<div className="btm-nav">
<ContentDrawer />
<Modal open={newContent} onClose={onNewClose}>
<div className="flex justify-end">
<li onClick={() => {
<div className="flex flex-col">
<button className={"btn"} onClick={() => {
addImage();
setNewContent(false);
}}>
<a>image</a>
</li>
<li onClick={() => {
image
</button>
<button className={"btn"} onClick={() => {
changeContent(urlContent('https://example.com', []));
setNewContent(false);
}}><a>url</a></li>
<li onClick={() => {
}}>url</button>
<button className={"btn"} onClick={() => {
changeContent(postContent("Don't think, write."));
setNewContent(false);
}}>
<a>post</a>
</li>
post
</button>
<li onClick={() => {
changeContent(siteContent());
setNewContent(false);
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubes/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func NewDefaultConfig() Config {
Enabled: false,
Container: "${CONTAINER:\"\"}",
DefaultNamespace: "${DEFAULT_NAMESPACE:\"challenges\"}",
DefaultIngress: "${DEFAULT_INGRESS:\"xctf-ingress\"}",
DefaultIngress: "${DEFAULT_INGRESS:\"justshare-ingress\"}",
GcsAccount: "${GCS_ACCOUNT:\"data/gcs_account.json\"}",
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/server/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (a *APIHTTPServer) handleGoogleCallback(w http.ResponseWriter, r *http.Requ
slog.Error("failed to connect oauth user", "error", err)
return
}
http.Redirect(w, r, "/app/chat", http.StatusFound)
http.Redirect(w, r, "/app", http.StatusFound)
}

// TODO breadchris the initialization of this feels awkward
Expand Down

0 comments on commit 21d522f

Please sign in to comment.