initial page complete
This commit is contained in:
parent
10b0a014ae
commit
fdc674f397
46
src/App.tsx
46
src/App.tsx
@ -1,34 +1,30 @@
|
||||
import { useState } from 'react'
|
||||
import reactLogo from './assets/react.svg'
|
||||
import viteLogo from '/vite.svg'
|
||||
import * as React from 'react'
|
||||
import './App.css'
|
||||
import { FaRegPlusSquare } from "react-icons/fa";
|
||||
|
||||
|
||||
function App() {
|
||||
const [count, setCount] = useState(0)
|
||||
|
||||
return (
|
||||
<>
|
||||
<div>
|
||||
<a href="https://vitejs.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>
|
||||
<main className='w-full h-screen flex flex-col justify-center bg-stone-200 p-8'>
|
||||
<h1 className='text-3xl font-bold text-center'>KEVO'S ATTIRE BACKEND</h1>
|
||||
<div className='flex flex-col w-full h-screen mt-8'>
|
||||
{/* Add item */}
|
||||
<Button className='w-full text-3xl flex justify-end pr-20'><FaRegPlusSquare /></Button>
|
||||
{/* Table headings */}
|
||||
<div className='flex w-full justify-evenly font-bold text-2xl pb-8 border-b-2 border-black'>
|
||||
<span>Item</span>
|
||||
<span>Design Number</span>
|
||||
<span>isActive</span>
|
||||
</div>
|
||||
<div className='w-full h-full bg-purple-300'>
|
||||
<ul>
|
||||
<li></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<h1>Vite + React</h1>
|
||||
<div className="card">
|
||||
<button onClick={() => setCount((count) => count + 1)}>
|
||||
count is {count}
|
||||
</button>
|
||||
<p>
|
||||
Edit <code>src/App.tsx</code> and save to test HMR
|
||||
</p>
|
||||
</div>
|
||||
<p className="read-the-docs">
|
||||
Click on the Vite and React logos to learn more
|
||||
</p>
|
||||
</>
|
||||
</main>
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user