ci: add GitHub Pages deployment workflow for docs site Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
352 B
TypeScript
15 lines
352 B
TypeScript
import { StrictMode } from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { initializeTheme } from './lib/theme'
|
|
import './index.css'
|
|
import App from './App.tsx'
|
|
|
|
// Apply theme class before first paint to prevent flash
|
|
initializeTheme()
|
|
|
|
createRoot(document.getElementById('root')!).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
)
|