Skip to content

Commit

Permalink
Fixed improvements related to code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Pathak committed Jul 23, 2020
1 parent ba78474 commit f1e4575
Show file tree
Hide file tree
Showing 8 changed files with 315 additions and 14,043 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const useStyles = makeStyles((theme) => ({
},
}));

export default function ImgMediaCard() {
export default function ProjectCard() {
const classes = useStyles();
const history = useHistory();

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
import React from "react";
import CardContent from "@material-ui/core/CardContent";
import Typography from "@material-ui/core/Typography";
import Box from "@material-ui/core/Box";
import { Link } from "@material-ui/core";
import Button from "@material-ui/core/Button";
import useStyles from "./ProjectDescStyling";

const LeftPane = () => {
const classes = useStyles();
return (
<div>
<CardContent className={classes.LeftCardContent}>
<Typography className={classes.projectname}>Donut</Typography>
</CardContent>
<CardContent className={classes.LeftCardContent}>
<Typography className={classes.orgname}>
<Box fontWeight="fontWeightBold" m={1}>
Codeuino
</Box>
</Typography>
</CardContent>
<CardContent className={classes.LeftCardContent}>
<Typography className={classes.orglink}>
<Link href="#">www.codeuino.org/donut</Link>
</Typography>
</CardContent>
<CardContent className={classes.LeftCardContent}>
<Typography className={classes.tt}>
<Typography variant="h5" align="left" className={classes.tt}>
Topics:
<Button
variant="contained"
color="primary"
size="small"
className={classes.cap}
>
UI/UX
</Button>
<Button
variant="contained"
color="primary"
size="small"
className={classes.cap}
>
Graphic Design
</Button>
<Button
variant="contained"
color="primary"
size="small"
className={classes.cap}
>
Web Design
</Button>
</Typography>
</Typography>
<Typography className={classes.tt}>
<Typography variant="h5" align="left" className={classes.tt}>
Technology required:
<Button
variant="contained"
color="primary"
size="small"
className={classes.cap}
>
Adobe Illustrator
</Button>
<Button
variant="contained"
color="primary"
size="small"
className={classes.cap}
>
Figma
</Button>
</Typography>
</Typography>
</CardContent>
</div>
);
};

export default LeftPane;
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import { makeStyles } from "@material-ui/core/styles";

const useStyles = makeStyles((theme) => ({
root: {
flexGrow: 1,
},
LeftCardContent: {
textAlign: "left",
marginLeft: 70,
},
RightCardContent: {
marginRight: 70,
textAlign: "Right",
},
projectname: {
marginTop: 30,
fontSize: 48,
},
submit: {
marginTop: 30,
fontSize: 18,
},
orgname: {
fontSize: 20,
marginLeft: -7,
marginTop: -35,
},
orglink: {
fontSize: 15,
marginTop: -30,
},
cap: {
borderRadius: "30px",
marginLeft: 10,
fontSize: 13,
textTransform: "none",
},
tt: {
fontSize: 18,
marginTop: 15,
},
mentors: {
fontSize: 18,
},
contact: {
fontSize: 13,
marginLeft: 10,
},
}));

export default useStyles;
Original file line number Diff line number Diff line change
Expand Up @@ -4,99 +4,116 @@ import Card from "@material-ui/core/Card";
import CardContent from "@material-ui/core/CardContent";
import Typography from "@material-ui/core/Typography";
import Box from "@material-ui/core/Box";
import List from '@material-ui/core/List';
import List from "@material-ui/core/List";
import { Link } from "@material-ui/core";

const useStyles = makeStyles({
root: {
marginTop: 50,
marginLeft: 50,
marginRight: 50
marginRight: 50,
},
pos1: {
marginTop: 140
marginTop: 140,
},
buttonspacing: {
marginLeft: 195
},
head:{
fontSize: 18,
marginTop: 40,
},
text:{
marginLeft:10,
fontSize: 17,
},
marginLeft: 195,
},
head: {
fontSize: 18,
marginTop: 40,
},
text: {
marginLeft: 10,
fontSize: 17,
},
listSection: {
backgroundColor: 'inherit',
backgroundColor: "inherit",
},
ul: {
backgroundColor: 'inherit',
backgroundColor: "inherit",
padding: 0,
},
tasks:{
tasks: {
marginLeft: -10,

},
github:{
github: {
fontSize: 15,

}

},
});



function ProjectDescription() {
const classes = useStyles();
const classes = useStyles();

return (
<div>
<Card className={classes.root}>
<Card />
<CardContent>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
Description:
return (
<div>
<Card className={classes.root}>
<Card />
<CardContent>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
Description:
</Box>
</Typography>
<Typography className={classes.text} component="h2">
Donut is the core project of Codeuino. It needs some graphics to be
worked on and also to improve the UX of the whole platform. Donut is
the core project of Codeuino. It needs some graphics to be worked on
and also to improve the UX of the whole platform. Donut is the core
project of Codeuino. It needs some graphics to be worked on and also
to improve the UX of the whole platform.Donut is the core project of
Codeuino. It needs some graphics to be worked on and also to improve
the UX of the whole platform.
</Typography>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
What do we Except?
</Box>
</Typography>
<Typography className={classes.text} component="h2">
Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform. Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform.Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform.Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform.
</Typography>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
What do we Except?
</Typography>
<Typography className={classes.text} component="h2">
Donut is the core project of Codeuino. It needs some graphics to be
worked on and also to improve the UX of the whole platform. Donut is
the core project of Codeuino. It needs some graphics to be worked on
and also to improve the UX of the whole platform. Donut is the core
project of Codeuino. It needs some graphics to be worked on and also
to improve the UX of the whole platform.Donut is the core project of
Codeuino. It needs some graphics to be worked on and also to improve
the UX of the whole platform.{" "}
</Typography>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
Tasks:
</Box>
</Typography>
<Typography className={classes.text} component="h2">
Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform. Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform.Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform.Donut is the core project of Codeuino. It needs some graphics to be worked on and also to improve the UX of the whole platform. </Typography>
<Typography className={classes.head} component="h2">
<Box fontWeight="fontWeightBold" m={1}>
Tasks:
</Box>
<List >
<ul type = "disc" className={classes.tasks}>
<li>Task #1 <Link href="#" className={classes.github} >
(GitHub)
</Link> </li>
<li>Task #2 <Link href="#" className={classes.github} >
(GitHub)
</Link></li>
<li>Task #3 <Link href="#" className={classes.github} >
(GitHub)
</Link></li>
</ul>
</List>
</Typography>
<Typography className={classes.text} component="h2">
<List/>
</Typography>
</CardContent>
</Card>
</div>
)
<List>
<ul type="disc" className={classes.tasks}>
<li>
Task #1{" "}
<Link href="#" className={classes.github}>
(GitHub)
</Link>{" "}
</li>
<li>
Task #2{" "}
<Link href="#" className={classes.github}>
(GitHub)
</Link>
</li>
<li>
Task #3{" "}
<Link href="#" className={classes.github}>
(GitHub)
</Link>
</li>
</ul>
</List>
</Typography>
<Typography className={classes.text} component="h2">
<List />
</Typography>
</CardContent>
</Card>
</div>
);
}

export default ProjectDescription


export default ProjectDescription;
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
import React, {Component} from "react";
import ProjectDetailsHeader from "./ProjectDetailsHeader"
import ProjectDescription from "./ProjectDescription"



export class ProjectDetailsContainer extends Component {
render() {
return (
<div>
<ProjectDetailsHeader/>
<ProjectDescription/>
</div>
)
}
import React from "react";
import ProjectDetailsHeader from "./ProjectDetailsHeader";
import ProjectDescription from "./ProjectDescription";

const ProjectDetailsContainer = () => {
return (
<div>
<div>
<ProjectDetailsHeader />
<ProjectDescription />
</div>
</div>
);
}

export default ProjectDetailsContainer
export default ProjectDetailsContainer;
Loading

0 comments on commit f1e4575

Please sign in to comment.