Commit eb28cd73 by Manivasagam S

asset deleted

parent 63ad5fb3
...@@ -11,7 +11,7 @@ export const App = () => { ...@@ -11,7 +11,7 @@ export const App = () => {
<Routes> <Routes>
<Route path="/" element={<AuthPage />} /> <Route path="/" element={<AuthPage />} />
<Route <Route
path="/select-seat" path="/booking"
element={ element={
<ProtectedRoute> <ProtectedRoute>
<Bookingpage/> <Bookingpage/>
......
...@@ -19,6 +19,14 @@ export default { ...@@ -19,6 +19,14 @@ export default {
showForgotPassword: { control: "boolean", name: "Show Forgot Password" }, showForgotPassword: { control: "boolean", name: "Show Forgot Password" },
showSwitchPrompt: { control: "boolean", name: "Show Switch Prompt" }, showSwitchPrompt: { control: "boolean", name: "Show Switch Prompt" },
}, },
parameters: {
backgrounds: {
default: 'blue-bg',
values: [
{ name: 'blue-bg', value: '#3444c5' },
],
},
}
}; };
const DummyLogin = ({ onLogin }) => ( const DummyLogin = ({ onLogin }) => (
......
...@@ -76,9 +76,9 @@ ...@@ -76,9 +76,9 @@
.button button { .button button {
width: 100%; width: 100%;
padding: 0.75rem 1.5rem; padding: 0.75rem 1.5rem;
background-color: #007bff; background-color: var(--primary);
color: white; color: white;
font-size: 1rem; font-size: 1.1rem;
border: none; border: none;
border-radius: 0.5rem; border-radius: 0.5rem;
font-weight: bold; font-weight: bold;
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
} }
.button button:hover { .button button:hover {
background-color: #0056b3; background-color:var(--primary);
transform: translateY(-2px); transform: translateY(-2px);
} }
......
...@@ -12,7 +12,7 @@ export const AuthPage = () => { ...@@ -12,7 +12,7 @@ export const AuthPage = () => {
if (users.length > 0) { if (users.length > 0) {
const user = users[0]; const user = users[0];
localStorage.setItem("user", JSON.stringify(user)); localStorage.setItem("user", JSON.stringify(user));
window.location.replace("/select-seat"); window.location.replace("/booking");
} else { } else {
toast.warn("User not found. Please register or check the number."); toast.warn("User not found. Please register or check the number.");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment