-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added pg, phd pages and updated the programs page
- Loading branch information
1 parent
481cddc
commit 2f321da
Showing
6 changed files
with
172 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
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,76 @@ | ||
import React, { useEffect, useState } from "react"; | ||
import Navbar from "../../components/navbar/index"; | ||
import Footer from "../../components/footer/index"; | ||
import { Typography, Grid, Box } from "@material-ui/core"; | ||
import { makeStyles } from "@material-ui/core/styles"; | ||
|
||
const createStyles = makeStyles({ | ||
container: { | ||
padding: "1rem 1rem", | ||
}, | ||
themeText: { | ||
color: "#2e8b57", | ||
}, | ||
text: { | ||
fontSize: "1.3rem", | ||
}, | ||
subText: { | ||
fontSize: "1.2rem", | ||
}, | ||
list: { | ||
listStylePosition: "inside", | ||
marginBottom: "1rem", | ||
}, | ||
link: { | ||
textDecoration: "none", | ||
display: "inline-block", | ||
fontWeight: "500", | ||
width: "auto", | ||
"&:hover": { | ||
textTecoration: "underline", | ||
color: "blueviolet", | ||
}, | ||
}, | ||
download: { | ||
marginRight: "0.3rem", | ||
position: "relative", | ||
top: "0.3rem", | ||
}, | ||
}); | ||
|
||
export default function Undergraduate() { | ||
useEffect(() => { | ||
document.getElementsByTagName("title")[0].innerHTML = "Undergraduate"; | ||
}, []); | ||
|
||
useEffect(() => { | ||
return () => { | ||
document.getElementsByTagName("title")[0].innerHTML = "IIIT Trichy"; | ||
}; | ||
}, []); | ||
|
||
const classes = createStyles(); | ||
const file = "Btech_regulations_2021.pdf"; | ||
|
||
return ( | ||
<div className="page-container"> | ||
<Navbar /> | ||
<Grid container className={classes.container}> | ||
<Grid item xs={false} sm={1} /> | ||
<Grid item xs={12} sm={10}> | ||
<Typography variant="h5" className={classes.themeText} gutterBottom> | ||
<Box component="span" fontWeight="fontWeightBold"> | ||
Postgraduates | ||
</Box> | ||
</Typography> | ||
<br /> | ||
<Typography variant="h6">M.Tech Regulations</Typography> | ||
<a href={require(`../../docs/${file}`)} download={`${file}`}> | ||
<Typography variant="h6">Download M.Tech regulations</Typography> | ||
</a> | ||
</Grid> | ||
</Grid> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
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,76 @@ | ||
import React, { useEffect, useState } from "react"; | ||
import Navbar from "../../components/navbar/index"; | ||
import Footer from "../../components/footer/index"; | ||
import { Typography, Grid, Box } from "@material-ui/core"; | ||
import { makeStyles } from "@material-ui/core/styles"; | ||
|
||
const createStyles = makeStyles({ | ||
container: { | ||
padding: "1rem 1rem", | ||
}, | ||
themeText: { | ||
color: "#2e8b57", | ||
}, | ||
text: { | ||
fontSize: "1.3rem", | ||
}, | ||
subText: { | ||
fontSize: "1.2rem", | ||
}, | ||
list: { | ||
listStylePosition: "inside", | ||
marginBottom: "1rem", | ||
}, | ||
link: { | ||
textDecoration: "none", | ||
display: "inline-block", | ||
fontWeight: "500", | ||
width: "auto", | ||
"&:hover": { | ||
textTecoration: "underline", | ||
color: "blueviolet", | ||
}, | ||
}, | ||
download: { | ||
marginRight: "0.3rem", | ||
position: "relative", | ||
top: "0.3rem", | ||
}, | ||
}); | ||
|
||
export default function Undergraduate() { | ||
useEffect(() => { | ||
document.getElementsByTagName("title")[0].innerHTML = "Undergraduate"; | ||
}, []); | ||
|
||
useEffect(() => { | ||
return () => { | ||
document.getElementsByTagName("title")[0].innerHTML = "IIIT Trichy"; | ||
}; | ||
}, []); | ||
|
||
const classes = createStyles(); | ||
const file = "Ph.D_regulations_IIITT_final_2020.pdf"; | ||
|
||
return ( | ||
<div className="page-container"> | ||
<Navbar /> | ||
<Grid container className={classes.container}> | ||
<Grid item xs={false} sm={1} /> | ||
<Grid item xs={12} sm={10}> | ||
<Typography variant="h5" className={classes.themeText} gutterBottom> | ||
<Box component="span" fontWeight="fontWeightBold"> | ||
Ph.D programs | ||
</Box> | ||
</Typography> | ||
<br /> | ||
<Typography variant="h6">Ph.D Regulations</Typography> | ||
<a href={require(`../../docs/${file}`)} download={`${file}`}> | ||
<Typography variant="h6">Download Ph.D regulations</Typography> | ||
</a> | ||
</Grid> | ||
</Grid> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
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