Spaces:
Sleeping
Sleeping
Update testnavbar.py
Browse files- testnavbar.py +5 -1
testnavbar.py
CHANGED
|
@@ -136,7 +136,11 @@ def product_detail(product_name: str):
|
|
| 136 |
Div(PaymentMethod, cls='space-y-4'),
|
| 137 |
# ButtonT.primary because this is the primary action of the page!
|
| 138 |
Button("Add to order", cls=(ButtonT.primary, "w-full mt-4")),
|
| 139 |
-
Button("Continue shopping",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
)
|
| 141 |
),
|
| 142 |
# Grid has defaults and args for cols at different breakpoints, but you can pass in
|
|
|
|
| 136 |
Div(PaymentMethod, cls='space-y-4'),
|
| 137 |
# ButtonT.primary because this is the primary action of the page!
|
| 138 |
Button("Add to order", cls=(ButtonT.primary, "w-full mt-4")),
|
| 139 |
+
Button("Continue shopping",
|
| 140 |
+
cls=(ButtonT.secondary, "w-full mt-2"),
|
| 141 |
+
hx_get="/",
|
| 142 |
+
hx_push_url="true",
|
| 143 |
+
hx_target="body"))
|
| 144 |
)
|
| 145 |
),
|
| 146 |
# Grid has defaults and args for cols at different breakpoints, but you can pass in
|