diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx new file mode 100644 index 0000000..5ac83a1 --- /dev/null +++ b/app/[locale]/layout.tsx @@ -0,0 +1,48 @@ +import type { Metadata } from "next"; +import { Geist, Geist_Mono, Nunito_Sans } from "next/font/google"; +import { NextIntlClientProvider } from "next-intl"; +import { getMessages } from "next-intl/server"; +import { ThemeProvider } from "@/components/theme-provider"; +import "../globals.css"; + +const nunitoSans = Nunito_Sans({ + variable: "--font-nunito-sans", + subsets: ["latin"], + weight: ["200", "300", "400", "500", "600", "700", "800", "900"], +}); + +const geistMono = Geist_Mono({ + variable: "--font-geist-mono", + subsets: ["latin"], +}); + +export const metadata: Metadata = { + title: "Pagodera Trade", + description: "Markeplace servidor pagodera", +}; + +export default async function LocaleLayout({ + children, + params, +}: { + children: React.ReactNode; + params: Promise<{ locale: string }>; +}) { + const { locale } = await params; + const messages = await getMessages(); + + return ( + +
++ Ocorreu um erro inesperado. Tente novamente. +
+ ++ A página que você está procurando não existe. +
+ + + +
- app/page.tsx
-
- .
- + {offer.item.stackable + ? `Stack: ${offer.quantity}x` + : `Qtd: ${offer.quantity}`} + {offer.item.stackable && offer.quantity > 1 && ( + + {Math.round(offer.price / offer.quantity).toLocaleString()}{" "} + gp cada + + )} +
+{t("description")}
+Escrow Balance
+🪙 0 gp
++ {t("subtitle")} +
++ {t("step1.description")} +
+
+ {t("step1.example")}
+
+ + {t("step2.description")} +
+
+ {t("step2.example")}
+
+ + {t("step3.description")} +
+
+ {t("step3.example")}
+
+ {benefit.description}
+
+
{stat.label}
++ Descubra os melhores itens do servidor com preços atualizados em + tempo real +
++ Tente ajustar os filtros ou fazer uma nova busca +
+ ++ {t("subtitle")} +
++ Descubra como funciona nossa plataforma de trading segura e + eficiente +
+
+
{stat.label}
+{stat.description}
+{stat.lastUpdated}
+{description}
+