-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d2b3ed
commit a73de43
Showing
10 changed files
with
29 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
import './index.css'; | ||
|
||
function Navbar() { | ||
return ( | ||
<div className='flex flex-row'> | ||
Navbar | ||
</div> | ||
) | ||
return <div className="flex flex-row">Navbar</div>; | ||
} | ||
|
||
export default Navbar | ||
export default Navbar; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
|
||
/* rules defined in this file are scoped to the js/ts file importing this. */ | ||
/* rules defined in this file are scoped to the js/ts file importing this. */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
|
||
|
||
function About() { | ||
return ( | ||
<> | ||
<h1> | ||
About this project | ||
</h1> | ||
<p>This project was developed as a part of CSOC, IIT(BHU)</p> | ||
<h1>About this project</h1> | ||
<p>This project was developed as a part of CSOC, IIT(BHU)</p> | ||
</> | ||
) | ||
); | ||
} | ||
|
||
export default About | ||
export default About; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
import { Outlet } from "react-router-dom" | ||
import Navbar from "../Navbar" | ||
|
||
import { Outlet } from 'react-router-dom'; | ||
import Navbar from '../Navbar'; | ||
|
||
function AppLayout() { | ||
return ( | ||
<div> | ||
<Navbar/> | ||
<Outlet/> | ||
<Navbar /> | ||
<Outlet /> | ||
{/* todo: Add a footer component */} | ||
</div> | ||
) | ||
); | ||
} | ||
|
||
export default AppLayout | ||
export default AppLayout; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
import { Link } from "react-router-dom" | ||
|
||
import { Link } from 'react-router-dom'; | ||
|
||
function Error() { | ||
return ( | ||
<div> | ||
This page does not exist! | ||
<Link to="home">Go back to homepage</Link> | ||
</div> | ||
) | ||
); | ||
} | ||
|
||
export default Error | ||
export default Error; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
|
||
|
||
function Game() { | ||
return ( | ||
<div> | ||
<div>X's turn</div> | ||
</div> | ||
) | ||
); | ||
} | ||
|
||
export default Game | ||
export default Game; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters