diff --git a/next.config.ts b/next.config.ts index d71ac07..069e25a 100644 --- a/next.config.ts +++ b/next.config.ts @@ -22,6 +22,20 @@ const nextConfig: NextConfig = { }, ]; }, + async redirects() { + return [ + { + source: "/et", + destination: "/striim", + permanent: false, + }, + { + source: "/en", + destination: "/stream", + permanent: false, + }, + ]; + }, }; export default withNextIntl(nextConfig); diff --git a/src/app/[locale]/striim/page.tsx b/src/app/[locale]/striim/page.tsx index f9a49b4..f6fd6a6 100644 --- a/src/app/[locale]/striim/page.tsx +++ b/src/app/[locale]/striim/page.tsx @@ -1,7 +1,8 @@ import { vipnagorgialla } from "@/components/Vipnagorgialla"; -import Link from "next/link"; -import Image from "next/image"; +import Sponsors from "@/components/Sponsors"; +import { Link } from "@/i18n/routing"; import { getTranslations, setRequestLocale } from "next-intl/server"; +import Image from "next/image"; export default async function Home({ params, @@ -73,7 +74,7 @@ export default async function Home({ >