mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: logsin
This commit is contained in:
1 parent
8670e5f9a7
commit
85491c7f22
16 files changed
+47
-38
No files matched your search
@@ -198,7 +198,7 @@ const isBranchNamed =
|
||||
<GearIcon />
|
||||
</Link>
|
||||
|
||||
<NavbarAccount client:idle />
|
||||
<NavbarAccount client:load />
|
||||
</Flex>
|
||||
</Flex>
|
||||
</Flex>
|
||||
|
||||
@@ -28,7 +28,7 @@ export function WargamingLoginButton({ children, ...props }: ButtonProps) {
|
||||
href={
|
||||
typeof window !== 'undefined'
|
||||
? `https://api.worldoftanks.${region}/wot/auth/login/?application_id=${assertSecret(
|
||||
process.env.PUBLIC_WARGAMING_APPLICATION_ID,
|
||||
import.meta.env.PUBLIC_WARGAMING_APPLICATION_ID,
|
||||
)}&redirect_uri=${encodeURIComponent(
|
||||
`${location.origin}/auth/wargaming?return=${location.origin}${location.pathname}`,
|
||||
)}`
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
import { Flex, Theme } from '@radix-ui/themes';
|
||||
import '@radix-ui/themes/styles.css';
|
||||
import Footer from '../components/Footer.astro';
|
||||
import Navbar from '../components/Navbar.astro';
|
||||
import Party3 from '../components/Party3.astro';
|
||||
@@ -9,7 +8,9 @@ const { pathname } = Astro.url;
|
||||
const isRoot = pathname === '/';
|
||||
---
|
||||
|
||||
<style>
|
||||
<style is:global>
|
||||
@import '@radix-ui/themes/styles.css';
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import { Button, Popover } from '@radix-ui/themes';
|
||||
|
||||
export function TestComponent() {
|
||||
return (
|
||||
<Popover.Root>
|
||||
<Popover.Trigger>
|
||||
<Button>Radix UI</Button>
|
||||
</Popover.Trigger>
|
||||
|
||||
<Popover.Content>Content</Popover.Content>
|
||||
</Popover.Root>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
import { Theme } from '@radix-ui/themes';
|
||||
import '@radix-ui/themes/styles.css';
|
||||
import { TestComponent } from './TestComponent';
|
||||
---
|
||||
|
||||
Minimal!
|
||||
|
||||
<Theme>
|
||||
<TestComponent client:only="react" />
|
||||
</Theme>
|
||||
Reference in new issue
Block a user