Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kamlendras authored May 6, 2024
1 parent 7294b24 commit 8e72ab4
Show file tree
Hide file tree
Showing 9 changed files with 354 additions and 0 deletions.
39 changes: 39 additions & 0 deletions app/browse/page.jsx
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>
);
}
24 changes: 24 additions & 0 deletions app/community/page.jsx
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/></>
);
}
40 changes: 40 additions & 0 deletions app/courses/page.js
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
82 changes: 82 additions & 0 deletions app/explore/page.jsx
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/>

</>
)
}
35 changes: 35 additions & 0 deletions app/favorites/page.js
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;
35 changes: 35 additions & 0 deletions app/gaming/page.js
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;
29 changes: 29 additions & 0 deletions app/help/page.js
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 />
</>
);
}
35 changes: 35 additions & 0 deletions app/history/page.jsx
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;
35 changes: 35 additions & 0 deletions app/learning/page.js
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;

0 comments on commit 8e72ab4

Please sign in to comment.