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

Biswa2.0 #8

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
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
28,942 changes: 28,942 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@mui/icons-material": "^5.10.3",
"@mui/material": "^5.10.3",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"sass": "^1.54.8",
"web-vitals": "^2.1.0"
},
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
Expand Down
38 changes: 0 additions & 38 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,38 +0,0 @@
.App {
text-align: center;
}

.App-logo {
height: 40vmin;
pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}

.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
color: #61dafb;
}

@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
24 changes: 7 additions & 17 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,14 @@
import logo from './logo.svg';

import './App.css';
import Faq from "./pages/Landing"

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
<>

<Faq/>

</>
);
}

Expand Down
Binary file added src/Assests/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assests/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/Assests/Fonts/Gilroy-ExtraBold.otf
Binary file not shown.
Binary file added src/Assests/Fonts/Gilroy-Light.otf
Binary file not shown.
105 changes: 105 additions & 0 deletions src/component/Faq.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
import {
Accordion,
AccordionDetails,
AccordionSummary,
Typography,
} from "@mui/material";
import React from "react";
import "./Faq.scss";
import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
import logo from "../Assests/2.png";
// m
import RandomText from "./RandomText";


const Accordian = () => {
return (
<div className="container">
<div className="txt">
<h1 className="heading">FAQs</h1>
<Accordion className="aacordion"
disableGutters elevation={0}>
<AccordionSummary
id="panel1-header"
aria-controls="panel1-content"
expandIcon={<ExpandMoreIcon />}
>
<Typography>
<h4>Why Zairza?</h4>
</Typography>
</AccordionSummary>
<AccordionDetails>
<RandomText />
</AccordionDetails>
</Accordion>
<Accordion className="aacordion"
disableGutters elevation={0}>
<AccordionSummary
id="panel1-header"
aria-controls="panel1-content"
expandIcon={<ExpandMoreIcon />}
>
<Typography>
<h4>How can I join?</h4>
</Typography>
</AccordionSummary>
<AccordionDetails>
<RandomText />
</AccordionDetails>
</Accordion>
<Accordion className="aacordion"
disableGutters elevation={0}>
<AccordionSummary
id="panel1-header"
aria-controls="panel1-content"
expandIcon={<ExpandMoreIcon />}
>
<Typography>
<h4>What is the Scope of Zairza?</h4>
</Typography>
</AccordionSummary>
<AccordionDetails>
<RandomText />
</AccordionDetails>
</Accordion>
<Accordion className="aacordion"
disableGutters elevation={0}>
<AccordionSummary
id="panel1-header"
aria-controls="panel1-content"
expandIcon={<ExpandMoreIcon />}
>
<Typography>
<h4>I have a Tech project. How can Zairza help me?</h4>
</Typography>
</AccordionSummary>
<AccordionDetails>
<RandomText />
</AccordionDetails>
</Accordion>
<Accordion className="aacordion"
disableGutters elevation={0}>
<AccordionSummary
id="panel1-header"
aria-controls="panel1-content"
expandIcon={<ExpandMoreIcon />}
>
<Typography>
<h4>What are the club timings?</h4>
</Typography>
</AccordionSummary>
<AccordionDetails>
<RandomText />
</AccordionDetails>
</Accordion>


</div>
<div className="img">
<img src={logo} alt="" className="img-f" />
</div>
</div>
);
};

export default Accordian;
102 changes: 102 additions & 0 deletions src/component/Faq.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@


.txt{
width: 40rem;
border-radius: 90px;
}

.accordion{
border-radius: 70px;
}



.heading{
width: 140px;
height: 72px;

font-family: 'GilroyGilroy-ExtraBold';
font-style: normal;
font-weight: 700;
font-size: 60px;
line-height: 72px;

letter-spacing: -0.02em;

color: #333333;

padding-bottom: 7rem;




}

.txt h4{
font-family: 'Gilroy-Light';
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 28px;
}
.accordion p{
font-family: 'Gilroy-Light';
}

.img-f{
width: 500px;
height: 560px;
}

.txt{
margin-top: 6rem;
}

.img{
margin-top: 5rem;
margin-left: 8rem;
}


.container{
display: flex;
flex-wrap: wrap;
flex-direction: row;
// width: 100%;
// height: 100vh;
}

#panel1-header{
border-radius: 30px;
}

@media(max-width:1400px){
.container{
display: grid;
grid-template-columns: 2fr 1fr;
// flex-wrap: wrap;
// flex-direction: column;
// width: 400px;
// height: 500px;
// margin-top: -50%;
// margin-left: 50%;
// display: none;
}
}

@media(max-width:800px){
.img-f{
display: none;

}
.txt{
width: 100vw;

}
.container{
margin-left: 0px;
margin-top: -80px;


}
}
9 changes: 9 additions & 0 deletions src/component/RandomText.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'

function RandomText() {
return (
<div > <p> Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi, fugit tenetur, quo ipsam culpa itaque, veniam ex distinctio debitis quisquam facere sunt ad atque ullam.</p></div>
)
}

export default RandomText
10 changes: 10 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

@font-face {
font-family: "Gilroy-Light";
src: url("./Assests//Fonts/Gilroy-Light.otf");
}

@font-face {
font-family: "Gilroy-ExtraBold";
src: url("./Assests/Fonts/Gilroy-ExtraBold.otf");
}
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
import "./Assests/Fonts/Gilroy-Light.otf";
import "./Assests/Fonts/Gilroy-ExtraBold.otf";


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
Expand Down
13 changes: 13 additions & 0 deletions src/pages/Landing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import React from 'react'
import Last from "../component/Faq.js"

function Landing() {
return (
<>
<Last/>

</>
)
}

export default Landing
Loading