2024-10-26 14:33:04 -05:00
|
|
|
---
|
|
|
|
|
import type { GetStaticPaths } from 'astro';
|
2024-10-26 19:46:35 -05:00
|
|
|
import { embedConfigurations } from '../../../../constants/embeds';
|
2024-10-26 14:33:04 -05:00
|
|
|
import BaseLayout from '../../../../layouts/BaseLayout.astro';
|
|
|
|
|
import { Page } from './_index';
|
|
|
|
|
|
|
|
|
|
export const getStaticPaths = (() => {
|
2024-10-26 19:46:35 -05:00
|
|
|
return Object.keys(embedConfigurations).map((embed) => ({
|
|
|
|
|
params: { embed: embed as keyof typeof embedConfigurations },
|
2024-10-26 14:33:04 -05:00
|
|
|
}));
|
|
|
|
|
}) satisfies GetStaticPaths;
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
<BaseLayout>
|
|
|
|
|
<Page client:load embed={Astro.params.embed} />
|
|
|
|
|
</BaseLayout>
|