This commit is contained in:
2025-05-16 17:02:00 +00:00
parent 68cec47d09
commit a231fa4b5e
8 changed files with 4359 additions and 132 deletions
+14 -23
View File
@@ -1,33 +1,24 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
function App() {
const [count, setCount] = useState(0)
return (
<>
<div>
<a href="https://vite.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
</div>
<h1>Vite + React</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.jsx</code> and save to test HMR
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
</p>
<div className="flex flex-col items-center bg-background justify-center min-h-screen">
<p className="text-text text-[60px]">primary</p>
<p className="text-text-muted text-[60px]">secondary</p>
<p className="text-accent text-[60px]">accent</p>
<p className="text-background text-[60px]">background</p>
<p className="text-surface text-[60px]">surface</p>
<p className="text-card text-[60px]">card</p>
<p className="text-text text-[60px]">text</p>
<p className="text-text-muted text-[60px]">text-muted</p>
<p className="text-text-inverse text-[60px]">text-inverse</p>
<p className="text-success text-[60px]">success</p>
<p className="text-warning text-[60px]">warning</p>
<p className="text-error text-[60px]">error</p>
</div>
</>
)
}