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
d1a6c3b3
Commit
d1a6c3b3
authored
Jun 17, 2025
by
Manivasagam S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code changes
parent
a9cda027
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
13 deletions
+11
-13
SeatSelectForm.stories.jsx
...Components/Form/SeatSelectForm/SeatSelectForm.stories.jsx
+1
-1
Notification.module.css
...Components/Top-level/Notification/Notification.module.css
+2
-2
Notification.stories.jsx
...omponents/Top-level/Notification/Notification.stories.jsx
+1
-1
Success.jsx
src/Components/Top-level/Response/Success/Success.jsx
+2
-2
Selectseat.jsx
src/Components/Top-level/Seatselect/Selectseat.jsx
+1
-1
db.json
src/db.json
+4
-6
No files found.
src/Components/Form/SeatSelectForm/SeatSelectForm.stories.jsx
View file @
d1a6c3b3
...
...
@@ -16,7 +16,7 @@ export default {
args
:
{
seatOptions
,
setSeatCount
:
action
(
"
Seat count changed
"
),
setSeatCount
:
action
(
"
setSeatCount
"
),
onClose
:
action
(
"Continue clicked"
),
},
};
...
...
src/Components/Top-level/Notification/Notification.module.css
View file @
d1a6c3b3
...
...
@@ -118,9 +118,9 @@
@keyframes
glow
{
from
{
filter
:
drop-shadow
(
0
0
5px
#
ffffff
);
filter
:
drop-shadow
(
0
0
5px
#
aada1c
);
}
to
{
filter
:
drop-shadow
(
0
0
20px
#
eff0e
f
);
filter
:
drop-shadow
(
0
0
20px
#
c8d92
f
);
}
}
src/Components/Top-level/Notification/Notification.stories.jsx
View file @
d1a6c3b3
...
...
@@ -22,7 +22,7 @@ export default {
export
const
Success
=
(
args
)
=>
<
Notification
{
...
args
}
/>;
Success
.
args
=
{
title
:
'Success
!!!
'
,
title
:
'Success
🎉
'
,
type
:
'success'
,
msg
:
'Successfully booked your ticket!'
,
image
:
successImg
,
...
...
src/Components/Top-level/Response/Success/Success.jsx
View file @
d1a6c3b3
...
...
@@ -5,7 +5,7 @@ import { Button } from "../../../Base/Buttons/Button";
export
const
Success
=
()
=>
{
const
response
=
{
title
:
'Success
!!!
'
,
title
:
'Success
🎉
'
,
type
:
'success'
,
msg
:
'Successfully booked your ticket!'
,
};
...
...
@@ -23,7 +23,7 @@ export const Success = () => {
},
[]);
const
handleSuccess
=
()
=>
{
window
.
location
.
replace
(
'/
select-seat
'
);
window
.
location
.
replace
(
'/
booking
'
);
};
return
(
...
...
src/Components/Top-level/Seatselect/Selectseat.jsx
View file @
d1a6c3b3
...
...
@@ -96,7 +96,7 @@ export const Selectseat = ({ onLogout }) => {
})
.
then
(
res
=>
{
if
(
res
)
{
toast
.
success
(
"Seats
updat
ed!"
);
toast
.
success
(
"Seats
book
ed!"
);
setSelectedSeats
([]);
setTimeout
(()
=>
{
window
.
location
.
replace
(
"/success"
);
...
...
src/db.json
View file @
d1a6c3b3
...
...
@@ -18,12 +18,10 @@
"phoneNumber"
:
"9361775481"
,
"name"
:
"mani"
,
"reservedSeats"
:
[
"B3"
,
"B2"
,
"B1"
,
"D6"
,
"D7"
,
"C7"
"A4"
,
"A5"
,
"A6"
,
"B7"
]
},
{
...
...
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