diff --git a/apps/astro/src/pages/pl/kontakt.astro b/apps/astro/src/pages/pl/kontakt.astro new file mode 100644 index 0000000..afa85e6 --- /dev/null +++ b/apps/astro/src/pages/pl/kontakt.astro @@ -0,0 +1,30 @@ +--- +import Layout from '@/src/layouts/Layout.astro' +import sanityFetch from '@/utils/sanity.fetch' +import metadataFetch from '@/utils/metadata.fetch' +import Breadcrumbs from '@/components/ui/Breadcrumbs.astro' +import Components, { Components_Query, type ComponentsProps } from '@/components/Components.astro' + +type QueryProps = { + name: string + slug: string + components: ComponentsProps +} + +const page = await sanityFetch({ + query: ` + *[_type == "Contact_Page"][0] { + name, + "slug": slug.current, + ${Components_Query} + } + `, +}) + +const metadata = await metadataFetch(page.slug) +--- + + + + +