This commit is contained in:
parent
5d50733616
commit
cd07907020
|
|
@ -1,36 +1,48 @@
|
|||
// "use client"
|
||||
|
||||
import React from "react"
|
||||
import { Button, Nav, Stack } from "react-bootstrap"
|
||||
import 'bootstrap/dist/css/bootstrap.min.css'
|
||||
import Link from "next/link"
|
||||
|
||||
const NavLink = (props: any) =>
|
||||
<li className="nav-item">
|
||||
<a className="nav-link" href={props.href}>
|
||||
{props.children}
|
||||
</a>
|
||||
</li>
|
||||
|
||||
const Text = (props: any) =>
|
||||
<p>{props.children}</p>
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<div className="flex gap-4 items-center" style={{ padding: 4 }}>
|
||||
<Button color="primary" size="lg">Click me 2</Button>
|
||||
<Button size="sm">
|
||||
Medium
|
||||
</Button>
|
||||
<Button size="lg">
|
||||
Large
|
||||
</Button>
|
||||
<Stack direction="horizontal" gap={3}>
|
||||
<div className="p-2">First item</div>
|
||||
<div className="p-2">Second item</div>
|
||||
<div className="p-2">Third item</div>
|
||||
</Stack>
|
||||
<Stack direction="horizontal" gap={1} style={{ padding: '1rem' }}>
|
||||
<Stack gap={1} style={{ padding: '1rem' }}>
|
||||
<Text>Point of Sale</Text>
|
||||
<Nav className="flex-column">
|
||||
<li className="nav-item">
|
||||
<a className="nav-link active" href="/x">Active</a>
|
||||
</li>
|
||||
<li className="nav-item">
|
||||
<a className="nav-link" href="#">Link</a>
|
||||
</li>
|
||||
<li className="nav-item">
|
||||
<a className="nav-link" href="#">Link</a>
|
||||
</li>
|
||||
<li className="nav-item">
|
||||
<a className="nav-link disabled" href="#">Disabled</a>
|
||||
</li>
|
||||
<NavLink href="/stocks">
|
||||
Stocks
|
||||
</NavLink>
|
||||
<NavLink href="/quantities">
|
||||
Quantities
|
||||
</NavLink>
|
||||
<NavLink href="/inventory">
|
||||
Inventory
|
||||
</NavLink>
|
||||
<NavLink href="/logs">
|
||||
Logs
|
||||
</NavLink>
|
||||
<NavLink href="/receipts">
|
||||
Receipts
|
||||
</NavLink>
|
||||
</Nav>
|
||||
</div>
|
||||
</Stack>
|
||||
|
||||
<Stack gap={1} style={{ padding: '1rem', width: '100%', justifyContent: 'center', alignItems: 'center' }}>
|
||||
<Text>Stuff</Text>
|
||||
<Button style={{ maxWidth: 'fit-content' }}>Submit THIS</Button>
|
||||
</Stack>
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue