Skip to content

Commit

Permalink
Added IndicVoices standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
Shanks0465 committed Dec 17, 2024
1 parent e975922 commit 53053be
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions frontend/src/app/[title]/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
export async function generateStaticParams() {
let params: any[] = [{ title: "indicvoices" }];

return params;
}

export default function Standalone({ params }: { params: { title: string } }) {
if (params.title.includes("indicvoices")) {
return (
<iframe
src={"https://indicvoices.ai4bharat.org/"}
title={`${params.title}`}
width="100%"
height={1200}
/>
);
} else {
return <></>;
}
}

0 comments on commit 53053be

Please sign in to comment.