Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/better templates #195

Merged
merged 24 commits into from
Nov 25, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix toast, change label
  • Loading branch information
IObert committed Nov 12, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit df10068a3b385cfc182924a100c0cd0f6f57c2e9
3 changes: 2 additions & 1 deletion src/app/(layout-free)/event/[slug]/kiosk/kiosk-form.tsx
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ export default function OrderForm({
{selection.modifiers.length > 0 && (
<>
<Label className="text-3xl" htmlFor="modifiers">
Would you like any extras?
Would you like milk with your order?
</Label>
<MultiSelect
placeholder=""
@@ -95,6 +95,7 @@ export default function OrderForm({
id="phone"
className="text-3xl w-4/5"
type="tel"
value={order.phone}
required
onChange={(e: React.ChangeEvent<HTMLInputElement>) =>
setOrder({ ...order, phone: e.target.value })
3 changes: 3 additions & 0 deletions src/app/(layout-free)/event/[slug]/kiosk/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import Header from "../menu/header";

import { Toaster } from "@/components/ui/toaster";

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<div className="min-h-screen flex flex-col">
<Header number="ABC" />
<Toaster />
<main className="px-24 pt-16">{children}</main>
{/* Use these parameters to adapt to a different screen size */}
</div>