chore(ui): remove unwanted code
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
import { useState } from 'react';
|
|
||||||
import Topbar from "./components/Topbar";
|
|
||||||
import Sidebar from "./components/Sidebar";
|
|
||||||
import WebPreview from "./components/WebPreview";
|
|
||||||
import { ConfigProvider } from 'antd';
|
|
||||||
import { BrowserRouter } from 'react-router-dom'
|
|
||||||
|
|
||||||
export default function App() {
|
|
||||||
const [html, setHtml] = useState(null);
|
|
||||||
const [elements, setElements] = useState([])
|
|
||||||
|
|
||||||
return (
|
|
||||||
<ConfigProvider
|
|
||||||
theme={{
|
|
||||||
token: {
|
|
||||||
colorPrimary: '#ff00c3',
|
|
||||||
borderRadius: 2,
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
<BrowserRouter>
|
|
||||||
<Topbar />
|
|
||||||
{/* <Sidebar /> */}
|
|
||||||
<WebPreview html={html} setHtml={setHtml} elements={elements} />
|
|
||||||
</BrowserRouter>
|
|
||||||
</ConfigProvider>
|
|
||||||
)
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
@tailwind base;
|
|
||||||
@tailwind components;
|
|
||||||
@tailwind utilities;
|
|
||||||
|
|
||||||
@layer base {
|
|
||||||
:root {
|
|
||||||
--pink: #ff00c3;
|
|
||||||
--black: #ff00c3;
|
|
||||||
--white: #ff00c3;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
import React from 'react'
|
|
||||||
import ReactDOM from 'react-dom/client'
|
|
||||||
import App from './App.jsx'
|
|
||||||
import './index.css'
|
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
||||||
<React.StrictMode>
|
|
||||||
<App />
|
|
||||||
</React.StrictMode>,
|
|
||||||
)
|
|
||||||
1
ui/src/vite-env.d.ts
vendored
1
ui/src/vite-env.d.ts
vendored
@@ -1 +0,0 @@
|
|||||||
/// <reference types="vite/client" />
|
|
||||||
Reference in New Issue
Block a user