Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SpeakEzy_Frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Thisara Kavinda
SpeakEzy_Frontend
Commits
7809c7f1
Commit
7809c7f1
authored
May 17, 2024
by
Shehan Liyanage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
39a8113d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/App.tsx
src/App.tsx
+2
-2
src/Pages/Home/Homepage.tsx
src/Pages/Home/Homepage.tsx
+1
-1
src/Pages/SignIn/SignInSide.tsx
src/Pages/SignIn/SignInSide.tsx
+1
-1
No files found.
src/App.tsx
View file @
7809c7f1
...
...
@@ -14,8 +14,8 @@ function App() {
<
ThemeProvider
theme=
{
theme
}
>
<
Box
className=
'App'
>
<
Routes
>
<
Route
path=
'/'
element=
{
<
SignInSid
e
/>
}
/>
<
Route
path=
'/
home'
element=
{
<
HomePag
e
/>
}
/>
<
Route
path=
'/'
element=
{
<
HomePag
e
/>
}
/>
<
Route
path=
'/
SignInSide'
element=
{
<
SignInSid
e
/>
}
/>
<
Route
path=
'/videocall'
element=
{
<
VideoCall
/>
}
/>
<
Route
path=
'/:channel'
element=
{
<
VideoCall
/>
}
/>
</
Routes
>
...
...
src/Pages/Home/Homepage.tsx
View file @
7809c7f1
...
...
@@ -190,7 +190,7 @@ export default function HomePage() {
const
navigate
=
useNavigate
()
const
handleVideoCallClick
=
()
=>
{
navigate
(
'
/
videocall
'
)
navigate
(
'
/
SignInSide
'
)
}
const
handleTrainingClick
=
()
=>
{
...
...
src/Pages/SignIn/SignInSide.tsx
View file @
7809c7f1
...
...
@@ -44,7 +44,7 @@ export default function SignInSide() {
// Simulate authentication logic here
// If authentication is successful, navigate to VideoCall page
navigate
(
'
/
home
'
)
navigate
(
'
/
videocall
'
)
}
return
(
...
...
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