feat: add wrangler scripts for development, build, and deployment

This commit is contained in:
Prad Nukala 2024-10-08 19:22:44 -04:00
parent e1db07cc25
commit 8811f56559
2 changed files with 7 additions and 3 deletions

View File

@ -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": {}
}

View File

@ -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>