Initial commit
This commit is contained in:
35 files changed
+528
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App'
|
||||
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
const html = document.documentElement
|
||||
html.className = params.get('transparent') ? 'bg-transparent' : 'bg-black'
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
)
|
||||
Reference in new issue
Block a user