From 8811f565596c6cb4e8601b4045fb69e05d56e817 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Tue, 8 Oct 2024 19:22:44 -0400 Subject: [PATCH] feat: add wrangler scripts for development, build, and deployment --- cmd/hway/package.json | 6 +++++- pkg/nebula/components/home/sections/hero.templ | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/cmd/hway/package.json b/cmd/hway/package.json index dfc68d23a..ba45855af 100644 --- a/cmd/hway/package.json +++ b/cmd/hway/package.json @@ -1,6 +1,10 @@ { "name": "@onsonr/sonr.id", "version": "0.0.2", - "scripts": {}, + "scripts": { + "dev": "bunx wrangler dev", + "build": "bunx wrangler build", + "deploy": "bunx wrangler deploy" + }, "dependencies": {} } diff --git a/pkg/nebula/components/home/sections/hero.templ b/pkg/nebula/components/home/sections/hero.templ index c97da18f7..ddd0bf671 100644 --- a/pkg/nebula/components/home/sections/hero.templ +++ b/pkg/nebula/components/home/sections/hero.templ @@ -27,8 +27,8 @@ templ SectionHero(hero *models.Hero) { { hero.Subtitle }

- @ui.PrimaryButton(hero.PrimaryButton.Href, hero.PrimaryButton.Text) - @ui.SecondaryButton(hero.SecondaryButton.Href, hero.SecondaryButton.Text) + @ui.PrimaryButton("/register", "Get Started") + @ui.SecondaryButton("/about", "Learn More")