feat(devbox): use process-compose for testnet services

This commit is contained in:
Prad Nukala 2024-10-04 05:27:51 -04:00
parent bcf5dfa70c
commit 875c410443
8 changed files with 755 additions and 38 deletions

View File

@ -72,10 +72,10 @@
"make sh-testnet" "make sh-testnet"
], ],
"start": [ "start": [
"process-compose up -d" "process-compose up -f ./deploy/testnet/process-compose.yaml"
], ],
"stop": [ "stop": [
"process-compose down" "process-compose down -f ./deploy/testnet/process-compose.yaml"
], ],
"test:e2e": [ "test:e2e": [
"make templ", "make templ",

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -41,9 +41,9 @@ templ SectionHero(hero *models.Hero) {
templ heroImage(hero *models.Hero) { templ heroImage(hero *models.Hero) {
<!-- Image --> <!-- Image -->
<div class="max-w-5xl mx-auto px-4 sm:px-6 flex justify-center pb-12 md:pb-20 relative before:absolute before:-top-12 before:w-96 before:h-96 before:bg-zinc-900 before:opacity-[.15] before:rounded-full before:blur-3xl before:-z-10 from-zinc-100 to-white"> <div class="max-w-5xl motion-preset-slide-up mx-auto px-4 sm:px-6 flex justify-center pb-12 md:pb-20 relative before:absolute before:-top-12 before:w-96 before:h-96 before:bg-zinc-900 before:opacity-[.15] before:rounded-full before:blur-3xl before:-z-10 from-zinc-100 to-white">
<img <img
class="rounded-lg" class="rounded-lg "
src={ hero.Image.Src } src={ hero.Image.Src }
width={ hero.Image.Width } width={ hero.Image.Width }
height={ hero.Image.Height } height={ hero.Image.Height }

View File

@ -139,7 +139,7 @@ func heroImage(hero *models.Hero) templ.Component {
templ_7745c5c3_Var6 = templ.NopComponent templ_7745c5c3_Var6 = templ.NopComponent
} }
ctx = templ.ClearChildren(ctx) ctx = templ.ClearChildren(ctx)
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!-- Image --><div class=\"max-w-5xl mx-auto px-4 sm:px-6 flex justify-center pb-12 md:pb-20 relative before:absolute before:-top-12 before:w-96 before:h-96 before:bg-zinc-900 before:opacity-[.15] before:rounded-full before:blur-3xl before:-z-10 from-zinc-100 to-white\"><img class=\"rounded-lg\" src=\"") _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<!-- Image --><div class=\"max-w-5xl motion-preset-slide-up mx-auto px-4 sm:px-6 flex justify-center pb-12 md:pb-20 relative before:absolute before:-top-12 before:w-96 before:h-96 before:bg-zinc-900 before:opacity-[.15] before:rounded-full before:blur-3xl before:-z-10 from-zinc-100 to-white\"><img class=\"rounded-lg \" src=\"")
if templ_7745c5c3_Err != nil { if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err return templ_7745c5c3_Err
} }

View File

@ -11,11 +11,12 @@
"watch": "bun run watch:ts & bun run watch:css" "watch": "bun run watch:ts & bun run watch:css"
}, },
"devDependencies": { "devDependencies": {
"htmx.org": "^1.9.12",
"alpinejs": "^3.14.1",
"@tailwindcss/typography": "^0.5.15",
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.15",
"alpinejs": "^3.14.1",
"htmx.org": "^1.9.12",
"tailwindcss": "^3.3.0", "tailwindcss": "^3.3.0",
"tailwindcss-motion": "^0.3.0-beta",
"typescript": "^4.9.0" "typescript": "^4.9.0"
}, },
"dependencies": { "dependencies": {

View File

@ -41,5 +41,5 @@ module.exports = {
}, },
}, },
}, },
plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")], plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms"), require('tailwindcss-motion')],
}; };