IPO charts, updates, and other small things
This commit is contained in:
@ -13,10 +13,10 @@
|
||||
"dependencies": {
|
||||
"@mdi/js": "^7.3.67",
|
||||
"@mdi/react": "^1.6.1",
|
||||
"@redwoodjs/auth-dbauth-web": "6.3.3",
|
||||
"@redwoodjs/forms": "6.3.3",
|
||||
"@redwoodjs/router": "6.3.3",
|
||||
"@redwoodjs/web": "6.3.3",
|
||||
"@redwoodjs/auth-d bauth-web": "6.4.2",
|
||||
"@redwoodjs/forms": "6.4.2",
|
||||
"@redwoodjs/router": "6.4.2",
|
||||
"@redwoodjs/web": "6.4.2",
|
||||
"dayjs": "^1.11.10",
|
||||
"filestack-react": "^4.0.1",
|
||||
"humanize-string": "2.1.0",
|
||||
@ -26,7 +26,7 @@
|
||||
"theme-change": "^2.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@redwoodjs/vite": "6.3.3",
|
||||
"@redwoodjs/vite": "6.4.2",
|
||||
"@types/filestack-react": "^4.0.3",
|
||||
"@types/node": "^20.8.9",
|
||||
"@types/react": "18.2.14",
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Router, Route, Set, Private } from '@redwoodjs/router'
|
||||
import { Router, Route, Set, PrivateSet } from '@redwoodjs/router'
|
||||
|
||||
import NavbarLayout from 'src/layouts/NavbarLayout'
|
||||
import ScaffoldLayout from 'src/layouts/ScaffoldLayout'
|
||||
@ -13,7 +13,7 @@ const Routes = () => {
|
||||
<Route path="/forgot-password" page={ForgotPasswordPage} name="forgotPassword" />
|
||||
<Route path="/reset-password" page={ResetPasswordPage} name="resetPassword" />
|
||||
|
||||
<Private unauthenticated="home" roles="admin">
|
||||
<PrivateSet unauthenticated="home" roles="admin">
|
||||
<Set wrap={ScaffoldLayout} title="Parts" titleTo="parts" buttonLabel="New Part" buttonTo="newPart">
|
||||
<Route path="/admin/parts/new" page={PartNewPartPage} name="newPart" />
|
||||
<Route path="/admin/parts/{id:Int}/edit" page={PartEditPartPage} name="editPart" />
|
||||
@ -23,15 +23,15 @@ const Routes = () => {
|
||||
<Set wrap={ScaffoldLayout} title="Transactions" titleTo="adminTransactions">
|
||||
<Route path="/admin/transactions" page={AdminTransactionsPage} name="adminTransactions" />
|
||||
</Set>
|
||||
</Private>
|
||||
</PrivateSet>
|
||||
|
||||
<Set wrap={NavbarLayout}>
|
||||
<Route path="/" page={HomePage} name="home" />
|
||||
<Route path="/part/{id:Int}" page={PartPage} name="partDetails" />
|
||||
<Route path="/basket" page={BasketPage} name="basket" />
|
||||
<Private unauthenticated="login">
|
||||
<PrivateSet unauthenticated="login">
|
||||
<Route path="/transactions" page={TransactionsPage} name="userTransactions" />
|
||||
</Private>
|
||||
</PrivateSet>
|
||||
</Set>
|
||||
|
||||
<Route notfound page={NotFoundPage} />
|
||||
|
@ -56,7 +56,7 @@ const NavBarLayout = ({ children }: NavBarLayoutProps) => {
|
||||
<ThemeToggle />
|
||||
<Link
|
||||
to={routes.basket()}
|
||||
className="items-cente btn btn-ghost hidden hover:shadow-lg lg:flex"
|
||||
className="items-center btn btn-ghost hidden hover:shadow-lg lg:flex"
|
||||
>
|
||||
<div className="indicator">
|
||||
{basket.length > 0 ? (
|
||||
|
@ -1,19 +1,7 @@
|
||||
.rw-scaffold {
|
||||
@apply bg-white text-gray-600;
|
||||
}
|
||||
.rw-scaffold h1,
|
||||
.rw-scaffold h2 {
|
||||
@apply m-0;
|
||||
}
|
||||
.rw-scaffold input:-ms-input-placeholder {
|
||||
@apply text-gray-500;
|
||||
}
|
||||
.rw-scaffold input::-ms-input-placeholder {
|
||||
@apply text-gray-500;
|
||||
}
|
||||
.rw-scaffold input::placeholder {
|
||||
@apply text-gray-500;
|
||||
}
|
||||
.rw-header {
|
||||
@apply navbar items-center justify-between space-x-3 bg-base-100 shadow-lg;
|
||||
}
|
||||
|
Reference in New Issue
Block a user