Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAIN] Adding Next app and basic components #26

Draft
wants to merge 19 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
!.env.dev
build
*.log
.next
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16.13.0
127 changes: 0 additions & 127 deletions CODE_OF_CONDUCT.md

This file was deleted.

127 changes: 0 additions & 127 deletions Code_of_CONDUCT.md

This file was deleted.

1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: cd server && yarn && yarn start
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ the Training and Placement Cell of
yarn
```

- Run `yarn start` to start the development server.
- Run `yarn dev` to start the development server.

## Contributing Guide

Expand Down
3 changes: 3 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/babel","next/core-web-vitals"]
}
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN yarn
COPY . .
EXPOSE 3000

CMD [ "yarn", "start" ]
CMD [ "yarn", "dev" ]
54 changes: 54 additions & 0 deletions client/components/footer/App.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import Data from "./Data";
import Group from "./Group";
import styles from "../../styles/Footer.module.css"
import { Grid, Typography,createTheme } from "@mui/material";


function group(val) {
let key=Object.keys(val)
return (
<Grid item>
<Group
xs={2} sm={2} md={4} lg={4}
title={key}
line1={val[key][0].line}
line2={val[key][1].line}
line3={val[key][2].line}
line4={val[key][3].line}
line5={val[key][4].line}
link1={val[key][0].link}
link2={val[key][1].link}
link3={val[key][2].link}
link4={val[key][3].link}
link5={val[key][4].link}
icon1={val[key][0].icon}
icon2={val[key][1].icon}
icon3={val[key][2].icon}
icon4={val[key][3].icon}
icon5={val[key][4].icon}
/>
</Grid>
);
}

export default function App() {
return (
<>
<Grid
container
rowSpacing={2}
columnSpacing={{xs:12, sm: 6, md: 12, lg: 30}}
direction="row"
justifyContent="center"
alignItems="left"
className={styles.grid}
sx={{color:"white",marginTop:"2rem"}}
>
{Data.map(group)}
</Grid>
<div className={styles.footer} sx={{color: "white"}}>
© Indian Institute of Information Technology Ranchi 2022
</div>
</>
);
}
Loading