mirror of
https://github.com/Xevion/xevion.dev.git
synced 2026-01-31 04:26:43 -06:00
- Replace title/tagline homepage with social profile design - Add Radix UI Themes + icon libraries for modern UI components - Provide sensible dev defaults for DB/secrets (no .env required) - Add production safety checks for critical env vars - Make optional features (cron, healthcheck) gracefully skip when unconfigured
18 lines
486 B
TypeScript
18 lines
486 B
TypeScript
"use client";
|
|
|
|
import { Analytics } from "@vercel/analytics/react";
|
|
import { Provider as BalancerProvider } from "react-wrap-balancer";
|
|
import { Theme } from "@radix-ui/themes";
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
// @ts-expect-error - Radix UI Themes has React 19 type compatibility issues
|
|
<Theme appearance="dark">
|
|
<BalancerProvider>
|
|
{children}
|
|
<Analytics />
|
|
</BalancerProvider>
|
|
</Theme>
|
|
);
|
|
}
|