mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-26 15:44:37 +01:00
fix: better layouts
This commit is contained in:
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>
|
||||
Reference in new issue
Block a user