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 * as React from 'react'
|
||||||
import reactLogo from './assets/react.svg'
|
|
||||||
import viteLogo from '/vite.svg'
|
|
||||||
import './App.css'
|
import './App.css'
|
||||||
|
import { FaRegPlusSquare } from "react-icons/fa";
|
||||||
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const [count, setCount] = useState(0)
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<main className='w-full h-screen flex flex-col justify-center bg-stone-200 p-8'>
|
||||||
<div>
|
<h1 className='text-3xl font-bold text-center'>KEVO'S ATTIRE BACKEND</h1>
|
||||||
<a href="https://vitejs.dev" target="_blank">
|
<div className='flex flex-col w-full h-screen mt-8'>
|
||||||
<img src={viteLogo} className="logo" alt="Vite logo" />
|
{/* Add item */}
|
||||||
</a>
|
<Button className='w-full text-3xl flex justify-end pr-20'><FaRegPlusSquare /></Button>
|
||||||
<a href="https://react.dev" target="_blank">
|
{/* Table headings */}
|
||||||
<img src={reactLogo} className="logo react" alt="React logo" />
|
<div className='flex w-full justify-evenly font-bold text-2xl pb-8 border-b-2 border-black'>
|
||||||
</a>
|
<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>
|
</div>
|
||||||
<h1>Vite + React</h1>
|
</main>
|
||||||
<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>
|
|
||||||
</>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user