Skip to content

Commit

Permalink
made uniformity between ug,pg,phd pages
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak503 committed Dec 23, 2021
1 parent 8b2aa91 commit bd2e5ff
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ function App() {
loading: () => loading,
});
const Postgraduate = Loadable({
loader: () => import("./pages/pg/index"),
loader: () => import("./pages/postgraduate/index"),
loading: () => loading,
});
const PHDprogram = Loadable({
loader: () => import("./pages/phd/index"),
loader: () => import("./pages/doctorate/index"),
loading: () => loading,
});
const Faq = Loadable({
Expand Down Expand Up @@ -303,8 +303,8 @@ function App() {
<Route path="/calendar" component={Calendar} />
<Route path="/holidays" component={Holidays} />
<Route path="/undergraduate" component={Undergraduate} />
<Route path="/pg" component={Postgraduate} />
<Route path="/phd" component={PHDprogram} />
<Route path="/postgraduate" component={Postgraduate} />
<Route path="/doctorate" component={PHDprogram} />
<Route path="/faq" component={Faq} />
<Route path="/festivals" component={Festivals} />
<Route path="/clubs" component={Clubs} />
Expand Down
6 changes: 3 additions & 3 deletions src/json/navbar_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@
},
{
"text": "Postgraduate",
"link": "/pg"
"link": "/postgraduate"
},
{
"text": "PhD Programs",
"link": "/phd"
"text": "Doctor of Philosophy (PhD)",
"link": "/doctorate"
},
{
"text": "FAQ's",
Expand Down
11 changes: 8 additions & 3 deletions src/pages/phd/index.js → src/pages/doctorate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ export default function Undergraduate() {
<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
<Typography
variant="h2"
component="h2"
gutterBottom
className={classes.themeText}
>
<Box component="span" fontWeight={380}>
Doctor of Philosophy (Ph.D)
</Box>
</Typography>
<br />
Expand Down
11 changes: 8 additions & 3 deletions src/pages/pg/index.js → src/pages/postgraduate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,14 @@ export default function Undergraduate() {
<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
<Typography
variant="h2"
component="h2"
gutterBottom
className={classes.themeText}
>
<Box component="span" fontWeight={380}>
Postgraduate (M.Tech.)
</Box>
</Typography>
<br />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/undergraduate/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function Undergraduate() {

<Typography variant="h5" className={classes.themeText} gutterBottom>
<Box component="span" fontWeight="fontWeightBold">
Rules and Regulations for B.Tech.(CSE/ECE/IT)
Rules and Regulations for B.Tech.(CSE/ECE)
</Box>
</Typography>
<Typography>
Expand Down

0 comments on commit bd2e5ff

Please sign in to comment.