-
Notifications
You must be signed in to change notification settings - Fork 0
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
7294b24
commit 8e72ab4
Showing
9 changed files
with
354 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import * as React from 'react'; | ||
import Avatar from '@mui/material/Avatar'; | ||
import Box from '@mui/material/Box'; | ||
import Grid from '@mui/material/Unstable_Grid2'; | ||
import Card from '../_components/browse/card' | ||
import Toolbar from '@mui/material/Toolbar'; | ||
export const metadata = { | ||
title: "Browse - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
export default function CenteredElementGrid() { | ||
return ( | ||
<Box sx={{ flexGrow: 1 }}> | ||
<Toolbar/> | ||
<Grid container spacing={2} minHeight={160}> | ||
<Grid xs display="flex" justifyContent="center" alignItems="center"> | ||
<Card /> | ||
</Grid> | ||
<Grid display="flex" justifyContent="center" alignItems="center"> | ||
<Card /> | ||
</Grid> | ||
<Grid xs display="flex" justifyContent="center" alignItems="center"> | ||
<Card /> | ||
</Grid> | ||
</Grid> | ||
<Grid container spacing={2} minHeight={160}> | ||
<Grid xs display="flex" justifyContent="center" alignItems="center"> | ||
<Avatar /> | ||
</Grid> | ||
<Grid display="flex" justifyContent="center" alignItems="center"> | ||
<Avatar /> | ||
</Grid> | ||
<Grid xs display="flex" justifyContent="center" alignItems="center"> | ||
<Avatar /> | ||
</Grid> | ||
</Grid> | ||
</Box> | ||
); | ||
} |
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,24 @@ | ||
import Community from "../_components/community" | ||
export const metadata = { | ||
title: "Community - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
|
||
// TODO remove, this demo shouldn't need to reset the theme. | ||
|
||
// const defaultTheme = createTheme(); | ||
|
||
export default function SignUp() { | ||
const handleSubmit = (event) => { | ||
event.preventDefault(); | ||
const data = new FormData(event.currentTarget); | ||
console.log({ | ||
email: data.get('email'), | ||
password: data.get('password'), | ||
}); | ||
}; | ||
|
||
return ( | ||
<><Community/></> | ||
); | ||
} |
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,40 @@ | ||
import Swiper from "../_components/courses/swiper"; | ||
import Copyright2 from "../_components/copyright2"; | ||
import Cardgrid from "../_components/courses/cardgrid"; | ||
import Toolbar from '@mui/material/Toolbar'; | ||
export const metadata = { | ||
title: "Courses - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
function courses() { | ||
return ( | ||
|
||
<> | ||
<span > | ||
|
||
|
||
|
||
<span > | ||
<Toolbar /> | ||
<span> | ||
<Swiper/> | ||
</span> | ||
<span> | ||
<Cardgrid/> | ||
</span> * | ||
|
||
<span> | ||
<Copyright2/> | ||
</span></span> | ||
</span> | ||
|
||
|
||
|
||
|
||
|
||
</> | ||
|
||
) | ||
} | ||
|
||
export default courses |
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,82 @@ | ||
|
||
import React from 'react' | ||
import Codecarddata from "../_components/codecarddata"; | ||
|
||
import styles from "../_styles/Explore.module.css"; | ||
import { Box, Container, Grid } from '@mui/material'; | ||
export const metadata = { | ||
title: "Explore - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
export default function Explore() { | ||
|
||
return ( | ||
|
||
<> | ||
|
||
|
||
|
||
|
||
<Box | ||
component="main" | ||
sx={{ | ||
flexGrow: 1, | ||
py: 8 | ||
}} | ||
> | ||
<Container maxWidth={false}> | ||
<Grid | ||
container | ||
spacing={3} | ||
> | ||
<Grid | ||
item | ||
lg={3} | ||
sm={6} | ||
xl={3} | ||
xs={12} | ||
> | ||
<p>hello1</p> | ||
</Grid> | ||
<Grid | ||
item | ||
xl={3} | ||
lg={3} | ||
sm={6} | ||
xs={12} | ||
> | ||
<p>h2</p> | ||
</Grid> | ||
<Grid | ||
item | ||
xl={3} | ||
lg={3} | ||
sm={6} | ||
xs={12} | ||
> | ||
<p>h3</p> | ||
</Grid> | ||
<Grid | ||
item | ||
xl={3} | ||
lg={3} | ||
sm={6} | ||
xs={12} | ||
> | ||
<p>h4</p> | ||
</Grid> | ||
|
||
|
||
|
||
</Grid> | ||
</Container> | ||
</Box> | ||
|
||
<div className={styles.block}> | ||
<h1 className={styles.bo}>TRENDING</h1></div> | ||
|
||
<Codecarddata/> | ||
|
||
</> | ||
) | ||
} |
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,35 @@ | ||
import Copyright2 from "../_components/copyright2"; | ||
import styles from "../_styles/Bookmarks.module.css"; | ||
import FavoriteBorderOutlinedIcon from '@mui/icons-material/FavoriteBorderOutlined'; | ||
import Typography from '@mui/material/Typography'; | ||
export const metadata = { | ||
title: "Favorites - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
function favorites() { | ||
return ( | ||
<> | ||
<div className={styles.Container}> | ||
<div className={styles.Content}> | ||
<div className={styles.CTA}></div> | ||
<span className={styles.bookmark}> | ||
{/* <img src="/bookmark.svg" height={312} width={312} alt="heart"></img> */} | ||
<FavoriteBorderOutlinedIcon sx={{ color: 'text.primary', fontSize: 312, fontWeight: 'medium' }} /> | ||
</span> | ||
|
||
{/* <p className={styles.text}> */} | ||
<Typography variant="h6" gutterBottom> | ||
Your favorites will appear here. | ||
</Typography> | ||
{/* </p> */} | ||
|
||
<span className={styles.Footern}> | ||
<Copyright2 /> | ||
</span> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default favorites; |
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,35 @@ | ||
import Copyright2 from "../_components/copyright2"; | ||
import styles from "../_styles/Bookmarks.module.css"; | ||
import ConstructionOutlinedIcon from '@mui/icons-material/ConstructionOutlined'; | ||
import Typography from '@mui/material/Typography'; | ||
export const metadata = { | ||
title: "Gaming - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
function gaming() { | ||
return ( | ||
<> | ||
<div className={styles.Container}> | ||
<div className={styles.Content}> | ||
<div className={styles.CTA}></div> | ||
<span className={styles.bookmark}> | ||
{/* <img src="/bookmark.svg" height={312} width={312} alt="heart"></img> */} | ||
<ConstructionOutlinedIcon sx={{ color: 'text.primary', fontSize: 312, fontWeight: 'medium' }} /> | ||
</span> | ||
|
||
{/* <p className={styles.text}> */} | ||
<Typography variant="h6" gutterBottom> | ||
This Page is in Construction. | ||
</Typography> | ||
{/* </p> */} | ||
|
||
<span className={styles.Footern}> | ||
<Copyright2 /> | ||
</span> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default gaming; |
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,29 @@ | ||
import Toolbar from '@mui/material/Toolbar'; | ||
import Qa from "../_components/accordion"; | ||
import Footer from "../_components/footer"; | ||
import HelpIcon from '@mui/icons-material/Help'; | ||
import Typography from '@mui/material/Typography'; | ||
import Grid from '@mui/material/Unstable_Grid2'; | ||
|
||
export const metadata = { | ||
title: "Help - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
export default function Home() { | ||
return ( | ||
<> | ||
|
||
<Toolbar/> | ||
<Grid sx={{mt : 2}} > | ||
<Typography variant="h6" gutterBottom sx={{ textAlign: 'center', m: 1 }}> | ||
Help <HelpIcon/> | ||
</Typography> | ||
</Grid> | ||
<Grid container spacing={2} sx={{m : 5}} > | ||
|
||
<Qa /> | ||
</Grid> | ||
<Footer /> | ||
</> | ||
); | ||
} |
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,35 @@ | ||
import Copyright2 from "../_components/copyright2"; | ||
import styles from "../_styles/Bookmarks.module.css"; | ||
import HistoryOutlinedIcon from '@mui/icons-material/HistoryOutlined'; | ||
import Typography from '@mui/material/Typography'; | ||
export const metadata = { | ||
title: "History - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
function history() { | ||
return ( | ||
<> | ||
<div className={styles.Container}> | ||
<div className={styles.Content}> | ||
<div className={styles.CTA}></div> | ||
<span className={styles.bookmark}> | ||
{/* <img src="/bookmark.svg" height={312} width={312} alt="heart"></img> */} | ||
<HistoryOutlinedIcon sx={{ color: 'text.primary', fontSize: 312, fontWeight: 'medium' }} /> | ||
</span> | ||
|
||
{/* <p className={styles.text}> */} | ||
<Typography variant="h6" gutterBottom> | ||
Your history will appear here. | ||
</Typography> | ||
{/* </p> */} | ||
|
||
<span className={styles.Footern}> | ||
<Copyright2 /> | ||
</span> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default history; |
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,35 @@ | ||
import Copyright2 from "../_components/copyright2"; | ||
import styles from "../_styles/Bookmarks.module.css"; | ||
import ConstructionOutlinedIcon from '@mui/icons-material/ConstructionOutlined'; | ||
import Typography from '@mui/material/Typography'; | ||
export const metadata = { | ||
title: "Learning - FossTube", | ||
description: "Open & Decentralized", | ||
}; | ||
function learning() { | ||
return ( | ||
<> | ||
<div className={styles.Container}> | ||
<div className={styles.Content}> | ||
<div className={styles.CTA}></div> | ||
<span className={styles.bookmark}> | ||
{/* <img src="/bookmark.svg" height={312} width={312} alt="heart"></img> */} | ||
<ConstructionOutlinedIcon sx={{ color: 'text.primary', fontSize: 312, fontWeight: 'medium' }} /> | ||
</span> | ||
|
||
{/* <p className={styles.text}> */} | ||
<Typography variant="h6" gutterBottom> | ||
This Page is in Construction. | ||
</Typography> | ||
{/* </p> */} | ||
|
||
<span className={styles.Footern}> | ||
<Copyright2 /> | ||
</span> | ||
</div> | ||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default learning; |