-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nav link to other pages and files rename
- Loading branch information
Showing
9 changed files
with
123 additions
and
47 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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import TwitchTopStreams from '../../components/TwitchTopStreams'; | ||
|
||
const DisplayMostViewedStreams = () => { | ||
return ( | ||
<div className="grid grid-cols-4"> | ||
<div className="bg-secondary text-text h-full hidden md:block"> | ||
<Link to="/streams/"> | ||
<div className="p-5 hover:bg-accent hover:text-white "> | ||
<h2 className="text-2xl font-bold">Top Games Streaming</h2> | ||
</div> | ||
</Link> | ||
|
||
<Link to="/streams/most-viewed"> | ||
<div className="p-5 hover:bg-accent hover:text-white "> | ||
<h2 className="text-2xl font-bold">Top 100 Streams</h2> | ||
</div> | ||
</Link> | ||
|
||
<Link to="/games/top"> | ||
<div className="p-5 hover:bg-accent hover:text-white"> | ||
<h2 className="text-2xl font-bold ">Top Rated Games</h2> | ||
</div> | ||
</Link> | ||
</div> | ||
<div className="col-span-4 md:col-span-3 bg-primary text-text"> | ||
<TwitchTopStreams /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
export default DisplayMostViewedStreams; |
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 was deleted.
Oops, something went wrong.
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,18 +1,36 @@ | ||
import React, { lazy } from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
// Components | ||
const TwitchTopGames = lazy(() => import('../../components/TwitchTopGames')); | ||
|
||
const Streams = () => { | ||
const TopGamesStreaming = () => { | ||
return ( | ||
<div className="grid grid-cols-4"> | ||
{/* <div className="bg-primary text-text h-full hidden md:block"> | ||
Streams Sidebar | ||
</div> */} | ||
<div className="col-span-4 bg-primary text-text"> | ||
<div className="bg-secondary text-text h-full hidden md:block"> | ||
<Link to="/streams/"> | ||
<div className="p-5 hover:bg-accent hover:text-white "> | ||
<h2 className="text-2xl font-bold">Top Games Streaming</h2> | ||
</div> | ||
</Link> | ||
|
||
<Link to="/streams/most-viewed"> | ||
<div className="p-5 hover:bg-accent hover:text-white "> | ||
<h2 className="text-2xl font-bold">Top 100 Streams</h2> | ||
</div> | ||
</Link> | ||
|
||
<Link to="/games/top"> | ||
<div className="p-5 hover:bg-accent hover:text-white"> | ||
<h2 className="text-2xl font-bold ">Top Rated Games</h2> | ||
</div> | ||
</Link> | ||
</div> | ||
<div className="col-span-4 md:col-span-3 bg-primary text-text"> | ||
<TwitchTopGames /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
export default Streams; | ||
|
||
export default TopGamesStreaming; |