-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
210b18b
commit 5f18353
Showing
8 changed files
with
85 additions
and
13 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import { ThreeDCardDemo } from "./ThreeDCard"; | ||
|
||
import AOS from 'aos'; | ||
import 'aos/dist/aos.css'; | ||
import { useEffect } from 'react'; | ||
|
||
|
||
const CardsSection = () => { | ||
|
||
|
||
useEffect(() => { | ||
AOS.init(); | ||
}, []) | ||
return ( | ||
<div className="flex justify-center items-center flex-col sm:flex-row gap-2 sm:gap-[10rem] w-[80%] sm:w-full"> | ||
<div data-aos={'fade-right'}> | ||
<h1 className="font-manrope dark:text-white text-4xl text-gray-900 mb-5 md:text-5xl leading-[50px]text-center sm:text-left sm:text-6xl font-bold text-grey-900"> | ||
If you need assistance <br /> | ||
<span className={` font-extrabold text-blue-600`}> | ||
Unite | ||
</span> <br/> | ||
makes it simple to <br/>request help. | ||
</h1> | ||
{/* <p className="sm:max-w-lg md:text-base mt-8 text-center sm:text-left text-base font-normal leading-7 text-gray-500"> | ||
<span className={` font-extrabold text-blue-600`}> | ||
Unite | ||
</span>{" "} | ||
CLI simplifies API project setup. It lets you create RESTful APIs | ||
swiftly, supporting various backend tech and DBs. Ideal for devs at | ||
any level | ||
</p> */} | ||
</div> | ||
<ThreeDCardDemo data-aos={'fade-left'} /> | ||
</div> | ||
); | ||
} | ||
|
||
export default CardsSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import img from '../../assets/explore.gif' | ||
|
||
const FeatureCard = () => { | ||
return ( | ||
<div className="z-10"> | ||
<img | ||
src={img} | ||
|
||
className="h-19 w-19 rounded-xl " | ||
alt="thumbnail" | ||
/> | ||
|
||
</div> | ||
); | ||
} | ||
|
||
export default FeatureCard; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
import { CardBody, CardContainer, CardItem } from "../ui/3d-card"; | ||
import FeatureCard from "./FeatureCard"; | ||
|
||
export function ThreeDCardDemo() { | ||
return ( | ||
<CardContainer className="inter-var"> | ||
<CardBody className=" relative group/card dark:hover:shadow-2xl dark:hover:shadow-emerald-500/[0.1] border-black/[0.1] w-auto sm:w-[22rem] h-auto rounded-xl p-6 "> | ||
<CardItem | ||
translateZ="50" | ||
className="text-xl font-bold text-white" | ||
> | ||
<FeatureCard/> | ||
</CardItem> | ||
</CardBody> | ||
</CardContainer> | ||
); | ||
} |
2 changes: 1 addition & 1 deletion
2
...tend/src/components/homepage/HeroCard.tsx → ...rc/components/homepage/cards/HeroCard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...end/src/components/homepage/HeroCard2.tsx → ...c/components/homepage/cards/HeroCard2.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...end/src/components/homepage/HeroCard3.tsx → ...c/components/homepage/cards/HeroCard3.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters