Skip to content

Commit

Permalink
aboutus frontend created
Browse files Browse the repository at this point in the history
  • Loading branch information
paaban25 committed Oct 9, 2023
1 parent d341c73 commit 53be27c
Show file tree
Hide file tree
Showing 11 changed files with 200 additions and 1 deletion.
23 changes: 23 additions & 0 deletions frontend/components/Carousel.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Carousel } from "@material-tailwind/react";

export function CarouselTransition() {
return (
<Carousel transition={{ duration: 2 }} className="rounded-xl">
<img
src="https://images.unsplash.com/photo-1497436072909-60f360e1d4b1?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2560&q=80"
alt="image 1"
className="h-full w-full object-cover"
/>
<img
src="https://images.unsplash.com/photo-1493246507139-91e8fad9978e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2940&q=80"
alt="image 2"
className="h-full w-full object-cover"
/>
<img
src="https://images.unsplash.com/photo-1518623489648-a173ef7824f3?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2762&q=80"
alt="image 3"
className="h-full w-full object-cover"
/>
</Carousel>
);
}
27 changes: 27 additions & 0 deletions frontend/package-lock.json

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

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"postcss": "8.4.27",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-responsive-carousel": "^3.2.23",
"tailwindcss": "3.3.3",
"typescript": "5.1.6"
},
Expand Down
117 changes: 117 additions & 0 deletions frontend/pages/aboutUs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
// import React, { Component } from "react";

// import "react-responsive-carousel/lib/styles/carousel.min.css"; // requires a loader
// import { Carousel } from "react-responsive-carousel";


// const aboutUs = () => {
// const styleObj = {
// borderRadius: "1.5rem",
// boxShadow:
// "2px 2px 2px 0px rgba(35, 17, 17, 0.05) inset, -1px -1px 4px 0px rgba(255, 255, 255, 0.05) inset, 0px 4px 4px 0px rgba(0, 0, 0, 0.10);",
// color: "white",




// };
// return (
// <>


// </>
// )
// }

// export default aboutUs

import React from 'react';
import ReactDOM from 'react-dom';
import "react-responsive-carousel/lib/styles/carousel.min.css"; // requires a loader
import { Carousel } from 'react-responsive-carousel';

// class DemoCarousel extends Component {
// render() {
// return (
// // <Carousel>
// // <div>
// // <img src="assets/1.jpeg" />
// // <p className="legend">Legend 1</p>
// // </div>
// // <div>
// // <img src="assets/2.jpeg" />
// // <p className="legend">Legend 2</p>
// // </div>
// // <div>
// // <img src="assets/3.jpeg" />
// // <p className="legend">Legend 3</p>
// // </div>
// // </Carousel>
// <p>Hii</p>
// );
// }
// };

// ReactDOM.render(<DemoCarousel />, document.querySelector('.demo-carousel'));



const aboutUs = () => {
return (
<div className="bg-[url('/images/bg.png')] bg-cover bg-center h-[100vh] pt-[1vh] overflow-hidden">
<Carousel>
<div className=' h-[100vh] flex flex-col items-center'>
<div className="w-[20vw] inline-flex px-5 py-3 flex-col justify-center items-center gap-2.5 rounded-3xl text-[2rem] mt-10 bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[5vw] md:py-8 backdrop-blur-2xl sm:py-[1.1vh]">About Us</div>
<br /><br />
<div className="flex ml-[15vw]">
<div className="border px-6 py-1 h-[35vh] w-[55%] mt-2 ml-[5vw] mt-[-2vh] inline-flex flex-col justify-center item-center items-center gap-2.5 rounded-3xl text-[1.5rem] bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[2.0rem] md:py-8 backdrop-blur-2xl md:mb-[5vh] md:mt-[3vh] sm:text-[1rem] sm:w-[60%] text-justify ">
<h1>Yo fam!</h1>
<h2>Welcome to ARIES - where AI and electronics collide, and innovation soars! <br />
We Create mind-blowing projects that will reshape the future! </h2>
</div>
<img src="/images/about_us_robot.webp" alt="" className="mt-[-2vh]rounded-t-lg !w-[20rem] h-[50vh] mt-[6.5rem] md:w-[40vw] md:h-[30vw] sm:w-[40vw] justify-center"
/>
</div>
</div>
<div className=' h-[100vh] flex flex-col items-center'>
<div className="w-[20vw] inline-flex px-5 py-3 flex-col justify-center items-center gap-2.5 rounded-3xl text-[2rem] mt-10 bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[5vw] md:py-8 backdrop-blur-2xl sm:py-[1.1vh]">We make Drones</div>
<br /><br />
<div className="border px-2 py-2 w-[65%] mt-8 text-center mt-[-2vh] inline-flex flex-col justify-center item-center items-center gap-2.5 rounded-3xl text-[1.5rem] bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[2.0rem] md:py-8 backdrop-blur-2xl md:mb-[5vh] md:mt-[3vh] sm:text-[1rem] sm:w-[60%] ">We are the architects of the sky, crafting high-tech drones that defy gravity and capture the beauty of the world from above.</div>
<img src="/images/drone.webp" alt="" className="mt-[-2vh]rounded-t-lg !w-[20rem] h-[50vh] mt-6 md:w-[40vw] md:h-[30vw] sm:w-[40vw] justify-center"
/>
</div>
<div className=' h-[100vh] flex flex-col items-center'>
<div className="w-[20vw] inline-flex px-5 py-3 flex-col justify-center items-center gap-2.5 rounded-3xl text-[2rem] mt-10 bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[5vw] md:py-8 backdrop-blur-2xl sm:py-[1.1vh]">We work on AI</div>
<br /><br />
<div className="border px-2 py-2 w-[65%] mt-8 text-center mt-[-2vh] inline-flex flex-col justify-center item-center items-center gap-2.5 rounded-3xl text-[1.5rem] bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[2.0rem] md:py-8 backdrop-blur-2xl md:mb-[5vh] md:mt-[3vh] sm:text-[1rem] sm:w-[60%] ">With a passion and a commitment to innovation, we harness the power of artificial intelligence to create solutions that defy expectations.</div>
<img src="/images/ai.webp" alt="" className="mt-[-2vh]rounded-t-lg !w-[20rem] h-[40vh] mt-6 md:w-[40vw] md:h-[30vw] sm:w-[40vw] justify-center"
/>
</div>
<div className=' h-[100vh] flex flex-col items-center'>
<div className="w-[35vw] inline-flex px-5 py-3 flex-col justify-center items-center gap-2.5 rounded-3xl text-[2rem] mt-10 bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[5vw] md:py-8 backdrop-blur-2xl sm:py-[1.1vh]">We work on AR, VR and Dev</div>
<br /><br />
<div className="border px-2 py-2 w-[65%] mt-8 text-center mt-[-2vh] inline-flex flex-col justify-center item-center items-center gap-2.5 rounded-3xl text-[1.5rem] bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[2.0rem] md:py-8 backdrop-blur-2xl md:mb-[5vh] md:mt-[3vh] sm:text-[1rem] sm:w-[60%] ">We are the pioneers of Augmented Reality (AR), Virtual Reality (VR), and cutting-edge Development (Dev) projects.</div>
<img src="/images/ar_vr.webp" alt="" className="mt-[-2vh]rounded-t-lg !w-[25rem] h-[50vh] mt-6 md:w-[40vw] md:h-[30vw] sm:w-[40vw] justify-center"
/>
</div>
<div className=' h-[100vh] flex flex-col items-center'>
<div className="w-[45vw] inline-flex px-5 py-3 flex-col justify-center items-center gap-2.5 rounded-3xl text-[2rem] mt-10 bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[5vw] sm:py-8 md:text-[5vw] md:py-8 backdrop-blur-2xl sm:py-[1.1vh]">We work on Electronics and IOT</div>
<br /><br />
<div className="border px-2 py-2 w-[65%] mt-8 text-center mt-[-2vh] inline-flex flex-col justify-center item-center items-center gap-2.5 rounded-3xl text-[1.5rem] bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) 100%)]font-extrabold sm:mb-[2vh] md:mb-[-2.5vh] sm:text-[11vw] sm:py-8 md:text-[2.0rem] md:py-8 backdrop-blur-2xl md:mb-[5vh] md:mt-[3vh] sm:text-[1rem] sm:w-[60%] ">We fuse creativity with technology to craft smart and connected devices that bring convenience, efficiency, and joy to everyday life.</div>
<img src="/images/iot.webp" alt="" className="mt-[-2vh]rounded-t-lg !w-[22rem] h-[50vh] mt-6 md:w-[40vw] md:h-[30vw] sm:w-[40vw] justify-center sm:h-[30%] sm:w-[80vw]"
/>
</div>






</Carousel>
<button className='bg-[linear-gradient(0deg, rgba(0, 0, 0, 0.10) 100%, rgba(0, 0, 0, 0.10) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.08) 100%, rgba(255, 255, 255, 0.10) rounded-xl m-auto h-[6vh] w-[6vw] ml-[49vw] mt-[85vh]'><img src="/images/navigation.svg" alt="" /></button>
</div>
)
}

export default aboutUs

Binary file added frontend/public/images/about_us_robot.webp
Binary file not shown.
Binary file added frontend/public/images/ai.webp
Binary file not shown.
Binary file added frontend/public/images/ar_vr.webp
Binary file not shown.
Binary file added frontend/public/images/drone.webp
Binary file not shown.
Binary file added frontend/public/images/iot.webp
Binary file not shown.
10 changes: 10 additions & 0 deletions frontend/public/images/navigation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 22 additions & 1 deletion frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,11 @@ chokidar@^3.5.3:
optionalDependencies:
fsevents "~2.3.2"

classnames@^2.2.5:
version "2.3.2"
resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz"
integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==

client-only@0.0.1:
version "0.0.1"
resolved "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz"
Expand Down Expand Up @@ -2254,7 +2259,7 @@ prettier@^3.0.1:
resolved "https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz"
integrity sha512-fcOWSnnpCrovBsmFZIGIy9UqK2FaI7Hqax+DIO0A9UxeVoY4iweyaFjS5TavZN97Hfehph0nhsZnjlVKzEQSrQ==

prop-types@^15.8.1:
prop-types@^15.5.8, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
Expand Down Expand Up @@ -2299,11 +2304,27 @@ react-dom@^18.2.0, react-dom@18.2.0:
loose-envify "^1.1.0"
scheduler "^0.23.0"

react-easy-swipe@^0.0.21:
version "0.0.21"
resolved "https://registry.npmjs.org/react-easy-swipe/-/react-easy-swipe-0.0.21.tgz"
integrity sha512-OeR2jAxdoqUMHIn/nS9fgreI5hSpgGoL5ezdal4+oO7YSSgJR8ga+PkYGJrSrJ9MKlPcQjMQXnketrD7WNmNsg==
dependencies:
prop-types "^15.5.8"

react-is@^16.13.1:
version "16.13.1"
resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==

react-responsive-carousel@^3.2.23:
version "3.2.23"
resolved "https://registry.npmjs.org/react-responsive-carousel/-/react-responsive-carousel-3.2.23.tgz"
integrity sha512-pqJLsBaKHWJhw/ItODgbVoziR2z4lpcJg+YwmRlSk4rKH32VE633mAtZZ9kDXjy4wFO+pgUZmDKPsPe1fPmHCg==
dependencies:
classnames "^2.2.5"
prop-types "^15.5.8"
react-easy-swipe "^0.0.21"

react@^18.2.0, "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@18.2.0:
version "18.2.0"
resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz"
Expand Down

0 comments on commit 53be27c

Please sign in to comment.