Skip to content

Commit

Permalink
feat: add go dependency and enhance devbox environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Dec 10, 2024
1 parent 000a089 commit 1de6eda
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
4 changes: 3 additions & 1 deletion devbox.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.12.0/.schema/devbox.schema.json",
"packages": [
"go@latest",
"bun@latest",
"gum@latest",
"skate@latest",
Expand All @@ -9,8 +10,9 @@
"process-compose@latest"
],
"env": {
"ROOT": "$(git rev-parse --show-toplevel)",
"GOPATH": "$HOME/go",
"PATH": "./build:$HOME/go/bin:$PATH",
"GOBIN": "$GOPATH/bin",
"CHAIN_ID": "local-1",
"DENOM": "stake",
"KEYRING": "test",
Expand Down
30 changes: 30 additions & 0 deletions pkg/common/styles/layout/layout.templ
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,36 @@ templ Head(title string, nebulaVersion string) {
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
<link rel="icon" type="image/png" href="https://cdn.sonr.id/favicon.png"/>
<style>
@keyframes fade-in {
from { opacity: 0; }
}

@keyframes fade-out {
to { opacity: 0; }
}

@keyframes slide-from-right {
from { transform: translateX(90px); }
}

@keyframes slide-to-left {
to { transform: translateX(-90px); }
}

.slide-it {
view-transition-name: slide-it;
}

::view-transition-old(slide-it) {
animation: 180ms cubic-bezier(0.4, 0, 1, 1) both fade-out,
600ms cubic-bezier(0.4, 0, 0.2, 1) both slide-to-left;
}
::view-transition-new(slide-it) {
animation: 420ms cubic-bezier(0, 0, 0.2, 1) 90ms both fade-in,
600ms cubic-bezier(0.4, 0, 0.2, 1) both slide-from-right;
}
</style>
{ children... }
</head>
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/styles/layout/layout_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1de6eda

Please sign in to comment.