Fix wrong text tag
This commit is contained in:
@@ -6,7 +6,6 @@ import { Card, CardContent } from "@/components/ui/card";
|
|||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { TopBar } from "@/components/ui/topbar";
|
import { TopBar } from "@/components/ui/topbar";
|
||||||
|
|
||||||
|
|
||||||
const API_URL = "";
|
const API_URL = "";
|
||||||
|
|
||||||
type Order = {
|
type Order = {
|
||||||
@@ -137,17 +136,17 @@ export default function LandingPage() {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* If no orders, show message */}
|
{/* If no orders, show message */}
|
||||||
{!orders.some((o) => o.username === username) && (
|
{!orders.some((o) => o.username === username) && (
|
||||||
<p className="text-white/70">Ma még nem rendeltél.</p>
|
<p className="text-white/70">Ma még nem rendeltél.</p>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
||||||
{/* New order button */}
|
{/* New order button */}
|
||||||
|
|
||||||
<text className="text-2xl text-white/80 text-center mt-2 ">
|
<p className="text-2xl text-white/80 text-center mt-2 ">
|
||||||
A rendeléseket minden nap {finalizeTime}-kor zárjuk le. Addig tudsz választani!
|
A rendeléseket minden nap {finalizeTime}-kor zárjuk le. Addig tudsz
|
||||||
</text>
|
választani!
|
||||||
|
</p>
|
||||||
<Button
|
<Button
|
||||||
variant="food"
|
variant="food"
|
||||||
onClick={() => router.push("/menu")}
|
onClick={() => router.push("/menu")}
|
||||||
@@ -156,8 +155,6 @@ export default function LandingPage() {
|
|||||||
Új rendelés
|
Új rendelés
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{/* Global orders */}
|
{/* Global orders */}
|
||||||
<hr className="w-full border-t border-white/30 my-6" />
|
<hr className="w-full border-t border-white/30 my-6" />
|
||||||
<h2 className="text-white text-2xl sm:text-3xl font-semibold text-center mt-4">
|
<h2 className="text-white text-2xl sm:text-3xl font-semibold text-center mt-4">
|
||||||
@@ -175,9 +172,7 @@ export default function LandingPage() {
|
|||||||
</p>
|
</p>
|
||||||
))
|
))
|
||||||
) : (
|
) : (
|
||||||
|
<p className="text-center text-white/70">Nincs aktív rendelés</p>
|
||||||
<p className="text-center text-white/70">Nincs aktív rendelés</p>
|
|
||||||
|
|
||||||
)}
|
)}
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user