Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions internal/docs/ui/pages/landing.templ
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package pages

import (
"github.com/deeploy-sh/deeploy/internal/docs/ctxkeys"
"github.com/deeploy-sh/deeploy/internal/shared/ui/components/button"
"github.com/deeploy-sh/deeploy/internal/shared/ui/components/input"
// "github.com/deeploy-sh/deeploy/internal/shared/ui/components/button"
// "github.com/deeploy-sh/deeploy/internal/shared/ui/components/input"
"github.com/deeploy-sh/deeploy/internal/docs/ui/layouts"
"github.com/deeploy-sh/deeploy/internal/docs/ui/modules"
)
Expand Down Expand Up @@ -76,29 +76,29 @@ templ Landing() {
<p class="text-muted-foreground">Go · Bubble Tea · Docker · Traefik · Let's Encrypt · PostgreSQL</p>
</div>
<!-- Newsletter -->
<div class="py-12 md:py-16 px-4 md:px-20 border-t border-border space-y-4">
<div class="space-y-2">
<p class="font-semibold">Stay updated</p>
<p class="text-muted-foreground">
Get notified about hosted solution, web UI, and more.
</p>
</div>
<form id="subscribe-form" class="flex flex-col sm:flex-row gap-2 sm:gap-0">
<div class="flex-1">
@input.Input(input.Props{
Type: input.TypeEmail,
Name: "email",
Placeholder: "your@email.com",
Class: "sm:border-r-0 h-11",
Attributes: templ.Attributes{"required": true},
})
</div>
@button.Button(button.Props{Type: button.TypeSubmit, Class: "h-11 px-6 w-full sm:w-auto"}) {
notify me
}
</form>
<p id="subscribe-message"></p>
</div>
<!-- <div class="py-12 md:py-16 px-4 md:px-20 border-t border-border space-y-4"> -->
<!-- <div class="space-y-2"> -->
<!-- <p class="font-semibold">Stay updated</p> -->
<!-- <p class="text-muted-foreground"> -->
<!-- Get notified about hosted solution, web UI, and more. -->
<!-- </p> -->
<!-- </div> -->
<!-- <form id="subscribe-form" class="flex flex-col sm:flex-row gap-2 sm:gap-0"> -->
<!-- <div class="flex-1"> -->
<!-- @input.Input(input.Props{ -->
<!-- Type: input.TypeEmail, -->
<!-- Name: "email", -->
<!-- Placeholder: "your@email.com", -->
<!-- Class: "sm:border-r-0 h-11", -->
<!-- Attributes: templ.Attributes{"required": true}, -->
<!-- }) -->
<!-- </div> -->
<!-- @button.Button(button.Props{Type: button.TypeSubmit, Class: "h-11 px-6 w-full sm:w-auto"}) { -->
<!-- notify me -->
<!-- } -->
<!-- </form> -->
<!-- <p id="subscribe-message"></p> -->
<!-- </div> -->
</main>
<!-- Footer Links -->
@modules.FooterLinks(stars)
Expand Down