fix: better layouts

This commit is contained in:
TrèsAbhi committed 2024-10-12 22:07:59 -05:00
1 parent 201f8f94a5
commit 97b9137e9a
15 files changed
+75 -75

No files matched your search

@@ -2,7 +2,7 @@
import { Flex, Heading, Text } from '@radix-ui/themes';
import type { GetStaticPaths } from 'astro';
import { PageWrapper } from '../../../components/PageWrapper';
import RootLayout from '../../../layouts/RootLayout.astro';
import BaseLayout from '../../../layouts/BaseLayout.astro';
import { AUTH_PROVIDERS, AUTH_PROVIDER_NAMES, Authorize } from './_index';
export const getStaticPaths = (() => {
@@ -12,7 +12,7 @@ export const getStaticPaths = (() => {
const { provider } = Astro.params;
---
<RootLayout>
<BaseLayout>
<PageWrapper>
<Flex
style={{ flex: 1 }}
@@ -29,4 +29,4 @@ const { provider } = Astro.params;
</PageWrapper>
<Authorize client:only="react" {provider} />
</RootLayout>
</BaseLayout>