feat: Implement a new, modern landing page with dynamic styling and feature highlights.

This commit is contained in:
CJACK
2026-02-01 19:43:40 +08:00
parent 2dfe6f1d90
commit 3b1eac7833
9 changed files with 516 additions and 202 deletions

View File

@@ -1,10 +1,15 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import App from './App.jsx'
import './styles.css'
const basename = import.meta.env.MODE === 'production' ? '/admin' : '/'
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<App />
<BrowserRouter basename={basename}>
<App />
</BrowserRouter>
</React.StrictMode>,
)