Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
training-seat-booking
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Manivasagam S
training-seat-booking
Commits
eb28cd73
Commit
eb28cd73
authored
Jun 17, 2025
by
Manivasagam S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asset deleted
parent
63ad5fb3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
App.jsx
src/App.jsx
+1
-1
Auth.stories.jsx
src/Components/Auth/Auth.stories.jsx
+8
-0
Notification.module.css
...Components/Top-level/Notification/Notification.module.css
+3
-3
AuthPage.jsx
src/Pages/AuthPage.jsx
+1
-1
errorgif.gif
src/assets/errorgif.gif
+0
-0
No files found.
src/App.jsx
View file @
eb28cd73
...
...
@@ -11,7 +11,7 @@ export const App = () => {
<
Routes
>
<
Route
path=
"/"
element=
{
<
AuthPage
/>
}
/>
<
Route
path=
"/
select-seat
"
path=
"/
booking
"
element=
{
<
ProtectedRoute
>
<
Bookingpage
/>
...
...
src/Components/Auth/Auth.stories.jsx
View file @
eb28cd73
...
...
@@ -19,6 +19,14 @@ export default {
showForgotPassword
:
{
control
:
"boolean"
,
name
:
"Show Forgot Password"
},
showSwitchPrompt
:
{
control
:
"boolean"
,
name
:
"Show Switch Prompt"
},
},
parameters
:
{
backgrounds
:
{
default
:
'blue-bg'
,
values
:
[
{
name
:
'blue-bg'
,
value
:
'#3444c5'
},
],
},
}
};
const
DummyLogin
=
({
onLogin
})
=>
(
...
...
src/Components/Top-level/Notification/Notification.module.css
View file @
eb28cd73
...
...
@@ -76,9 +76,9 @@
.button
button
{
width
:
100%
;
padding
:
0.75rem
1.5rem
;
background-color
:
#007bff
;
background-color
:
var
(
--primary
)
;
color
:
white
;
font-size
:
1rem
;
font-size
:
1
.1
rem
;
border
:
none
;
border-radius
:
0.5rem
;
font-weight
:
bold
;
...
...
@@ -87,7 +87,7 @@
}
.button
button
:hover
{
background-color
:
#0056b3
;
background-color
:
var
(
--primary
)
;
transform
:
translateY
(
-2px
);
}
...
...
src/Pages/AuthPage.jsx
View file @
eb28cd73
...
...
@@ -12,7 +12,7 @@ export const AuthPage = () => {
if
(
users
.
length
>
0
)
{
const
user
=
users
[
0
];
localStorage
.
setItem
(
"user"
,
JSON
.
stringify
(
user
));
window
.
location
.
replace
(
"/
select-seat
"
);
window
.
location
.
replace
(
"/
booking
"
);
}
else
{
toast
.
warn
(
"User not found. Please register or check the number."
);
}
...
...
src/assets/errorgif.gif
deleted
100644 → 0
View file @
63ad5fb3
495 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment