19 lines
690 B
TypeScript
19 lines
690 B
TypeScript
import { getDictionary } from "@/lib/dictionaries";
|
|
import { SpeedtestClient } from "@/components/sections/SpeedtestClient";
|
|
|
|
export default async function SpeedtestPage({
|
|
params,
|
|
}: {
|
|
params: Promise<{ lang: string }>;
|
|
}) {
|
|
const { lang } = await params;
|
|
const dict = await getDictionary(lang);
|
|
|
|
return (
|
|
<main className="min-h-screen pt-32 pb-20 container mx-auto px-4 relative z-10 flex items-center justify-center">
|
|
<div className="absolute inset-0 bg-[radial-gradient(circle_at_center,_var(--tw-gradient-stops))] from-primary/5 via-transparent to-transparent -z-10 blur-3xl pointer-events-none" />
|
|
<SpeedtestClient dict={dict.speedtest} />
|
|
</main>
|
|
);
|
|
}
|