Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
yarn.lock
26 changes: 26 additions & 0 deletions components/CountUpAnimation.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { useEffect, useState } from "react";

const easeOutQuad = (t: any) => t * (2 - t);
const frameDuration = 1000 / 60;

const CountUpAnimation = ({ children, duration = 2000 }: any) => {
const countTo = parseInt(children, 10);
const [count, setCount] = useState(0);

useEffect(() => {
let frame = 0;
const totalFrames = Math.round(duration / frameDuration);
const counter = setInterval(() => {
frame++;
const progress = easeOutQuad(frame / totalFrames);
setCount(countTo * progress);

if (frame === totalFrames) {
clearInterval(counter);
}
}, frameDuration);
}, []);

return Math.floor(count);
};
export default CountUpAnimation;
2 changes: 1 addition & 1 deletion components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Hero() {
<h1 className="py-3">
Unleash your{" "}
<span className="md:tracking-[12px] tracking-[3px]">
POTENTIAL
POTENTIAl
</span>
</h1>
<svg
Expand Down
119 changes: 119 additions & 0 deletions components/Home/About.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@

import Image from "next/image";
import { useEffect } from "react";
export default function About() {
useEffect(() => {
function reveal() {
var crew = document.querySelectorAll(".crew");
for (var i = 0; i < crew.length; i++) {
var windowHeight = window.innerHeight;
var crewTop = crew[i].getBoundingClientRect().top;
var elementVisible = 150;

if (crewTop < windowHeight - elementVisible) {
crew[i]?.classList.add("show");
}
}
}
window.addEventListener("scroll", reveal);
}, []);

return (
<section id="about">
<div className="p-5 py-[8vh] text-[#2E2E2E] flex-wrap flex flex-row font-poppins align-center items-center justify-center ">
<div className="flex flex-col md:w-[60vw] heading py-10 text-center md:text-left align-center justify-center mr-0 md:mr-5">
<h1 className="revealtitle md:mt-[-115px] mt-[-10px] text-center md:text-left text-[2.5rem] md:text-[3vw] font-bold">
About Us
</h1>
<p className="text-[1rem] text-justify mt-3 md:text-[1.2vw] break-words ">
OwnBoon was born from our team's journey in the self-improvement
niche. Witnessing the lack of an all-in-one social platform that
truly supports personal growth and productivity at the same time, we set out to create a transformative space. Powered by AI tools and personalized roadmaps, OwnBoon provides a distraction-free environment for work, connection, and learning. Together, We've decided to shape a future where personal development and social connection thrive. Join us on this remarkable journey towards fulfillment and success. Together, We empower individuals to unlock their full potential.
</p>
</div>
<div className=" justify-center flex flex-col py-10 md:flex-nowrap flex-wrap ">
<h1 className="revealtitle text-center md:text-left text-[2.5rem] md:text-[3vw] benefit-heading font-bold">
Our Team
</h1>
<div className="flex mt-2 flex-row">
<div className="flex px-3 flex-col">
<div className="flex mb-3 justify-center items-center align-center flex-col">
<div className="som-bg p-2">
<Image
alt="Som Srivastava"
className="z-100 "
src={"/som.webp"}
width={100}
height={100}
/>
</div>
<h2 className="mt-3 text-[16px] text-center font-semibold">
Som Srivastava
</h2>
<h3 className="pt-1 text-center text-[14px]">CEO <br /> FOUNDER</h3>
</div>
<div className="flex justify-center items-center align-center flex-col">
<div className="sarthak-bg p-2">
<Image
alt="Saarthak Dutta"
className="z-100 "
src={"/sarthak.webp"}
width={100}
height={100}
/>
</div>

<h2 className="mt-3 text-[16px] text-center font-semibold">
Saarthak Dutta
</h2>
<h3 className="mt-1 text-center text-[14px]">
CTO
</h3>


</div>
</div>
<div className="flex px-3 flex-col">
<div className="flex justify-center mb-3 items-center align-center flex-col">

<div className="alok-bg p-2">
<Image
alt="Alok Singh"
className="z-100 "
src={"/alok.webp"}
width={100}
height={100}
/>
</div>

<h2 className="mt-3 text-[16px] text-center font-semibold">
Alok Singh
</h2>
<h3 className="pt-1 text-center text-[14px]">
COO <br /> CO-FOUNDER
</h3>

</div>
<div className="flex justify-center items-center align-center flex-col">
<div className="ivavi-bg p-2">
<Image
alt="Devansh Rajwar"
className="z-100 "
src={"/avi.webp"}
width={100}
height={100}
/>
</div>

<h2 className="mt-3 text-[16px] text-center font-semibold">
Devansh Rajwar
</h2>
<h3 className="pt-1 text-center text-[14px]">CONTENT HEAD</h3>
</div>
</div>
</div>
</div>
</div>
</section>
);
}
Loading