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

Done: Web Component has been updated #26

Merged
merged 1 commit into from
Feb 12, 2024
Merged
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
148 changes: 148 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
"react-router-dom": "^6.21.3",
"react-scripts": "5.0.1",
"react-scroll": "^1.9.0",
"react-swipeable-views-react-18": "^0.14.7",
"react-swipeable-views-utils": "^0.14.0",
"styled-components": "^6.1.8",
"web-vitals": "^2.1.4"
},
Expand Down
Binary file added public/OurTeam.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 modified public/favicon.ico
Binary file not shown.
26 changes: 21 additions & 5 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,32 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="EcoThaili - Revolutionizing eco-friendly bags made from banana fiber."
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="stylesheet" href="style.css">
<meta
name="keywords"
content="EcoThaili, banana fiber, eco-friendly, sustainable, plastic alternative"
/>
<meta name="author" content="Team Inventrix" />
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="index, follow" />
<meta property="og:title" content="EcoThaili - Sustainable Banana Fiber Bags" />
<meta property="og:description" content="Revolutionizing eco-friendly bags made from banana fiber. Join us in our mission to reduce plastic waste." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://team-inventrix.vercel.app/" />
<meta property="og:image" content="%PUBLIC_URL%/OurTeam.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:locale" content="ne_NP" />
<meta property="og:site_name" content="EcoThaili" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/team-inventrix-circle-prifile-picture.PNG" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>React App</title>
<title>EcoThaili</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
<!-- <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script> -->
</body>
</html>
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
Binary file added public/team-inventrix-circle-profile-picture.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ import MaterialComposition from "./component/MaterialComposition";
import OurImpact from "./component/OurImpact";
import About from "./component/About";
import Product from "./component/Product";
import MainSlider from "./component/MainSlider";


function App() {
return (
<Router>
<MainSlider />
<Header active_item="Our Story" />
<OurStory active_item="Our Story" />
<ProblemWeAreSolving active_item="Our Story" />
Expand Down
7 changes: 3 additions & 4 deletions src/component/FAQ.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";

const StyledContainer = styled(Container)({
padding: "5rem 1.5rem",
height: "100%",
minheight: "100vh",
width: "100%",
background: "#2B2B60",
display: "flex",
justifyContent: "center",
alignItems: "center",
// zIndex:"-1",
"@media (min-width:600px)": {
padding: "15rem",
height: "120vh",
padding: "10rem",
textAlign: "center",
},
});
Expand All @@ -30,7 +29,7 @@ const Title = styled(Typography)({
textAlign: "center",
fontWeight: 700,
fontSize: "clamp(2rem, 4vw, 4rem)", // Use clamp() here
margin: "3rem 0",
margin: "0 0 3rem 0",
});

const StyleAccordion = styled(Accordion)({
Expand Down
6 changes: 3 additions & 3 deletions src/component/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const StyledContainer = styled(Container)({
width: "100%",
"@media (min-width:600px)": {
gap: "0.5rem",
padding: "5rem",
padding: "5rem 5rem .7rem 5rem",
textAlign: "left",
},
});
Expand Down Expand Up @@ -135,7 +135,7 @@ export default function Footer() {
<Button
variant="contained"
color="primary"
sx={{ flexShrink: 0 }}
sx={{ flexShrink: 0, bgcolor:"#2B2B60" }}
>
Subscribe
</Button>
Expand Down Expand Up @@ -216,9 +216,9 @@ export default function Footer() {
<FooterLink color="text.secondary" href="#">
Terms of Service
</FooterLink>
<Copyright />
</div>

<Copyright />
{/* <ScrollLink to="os" smooth={true} duration={2000}>
<Typography variant="body2" sx={footerLinkStyle}>
Back to Top
Expand Down
16 changes: 8 additions & 8 deletions src/component/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function Header() {
alignItems: "center",
justifyContent: "space-between",
flexShrink: 0,
borderRadius: "999px",
borderRadius: ".5rem",
bgcolor:
theme.palette.mode === "light"
? "rgba(255, 255, 255, 0.4)"
Expand Down Expand Up @@ -94,55 +94,55 @@ function Header() {
onClick={() => scrollToSection("os")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
Our Story
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("pwas")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
Problem We are Solving
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("mc")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
Material Composition
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("oi")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
Our Impact
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("p")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
Product
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("faq")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
FAQ
</Typography>
</MenuItem>
<MenuItem
onClick={() => scrollToSection("a")}
sx={{ py: "6px", px: "12px" }}
>
<Typography variant="body2" color="text.primary">
<Typography variant="body2" color="#2B2B60" fontWeight="600" fontSize="clamp(.8rem, 1vw, 1rem)">
About
</Typography>
</MenuItem>
Expand Down
Loading