Skip to content

Commit

Permalink
feat: add wrangler scripts for development, build, and deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
prnk28 committed Oct 8, 2024
1 parent e1db07c commit 8811f56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion cmd/hway/package.json
Original file line number Diff line number Diff line change
@@ -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": {}
}
4 changes: 2 additions & 2 deletions pkg/nebula/components/home/sections/hero.templ
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ templ SectionHero(hero *models.Hero) {
{ hero.Subtitle }
</p>
<div class="max-w-xs mx-auto sm:max-w-none sm:inline-flex sm:justify-center space-y-4 sm:space-y-0 sm:space-x-4">
@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")
</div>
</div>
</div>
Expand Down

0 comments on commit 8811f56

Please sign in to comment.