-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from Puskar-Roy/dev
Dev
- Loading branch information
Showing
26 changed files
with
1,929 additions
and
146 deletions.
There are no files selected for viewing
Binary file not shown.
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
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,12 @@ | ||
import React from "react"; | ||
|
||
export function GridBackgroundDemo() { | ||
return ( | ||
<div className="h-auto w-full dark:bg-black bg-white dark:bg-grid-white/[0.2] bg-grid-black/[0.2] relative flex items-center justify-center"> | ||
<div className="absolute pointer-events-none inset-0 flex items-center justify-center dark:bg-black bg-white [mask-image:radial-gradient(ellipse_at_center,transparent_20%,black)]"></div> | ||
<p className="text-4xl sm:text-7xl font-bold relative z-20 bg-clip-text text-transparent bg-gradient-to-b from-neutral-200 to-neutral-500 py-8"> | ||
Backgrounds | ||
</p> | ||
</div> | ||
); | ||
} |
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,54 @@ | ||
"use client"; | ||
import React from "react"; | ||
import { ContainerScroll } from "@/components/ui/container-scroll-animation"; | ||
import Image from "next/image"; | ||
import test from "@/public/create-my-api-npm.png"; | ||
import { Montserrat } from "next/font/google"; | ||
|
||
const alata = Montserrat({ | ||
weight: "800", | ||
subsets: ["latin"], | ||
display: "swap", | ||
}); | ||
|
||
export function HeroScrollDemo() { | ||
return ( | ||
<div className="flex flex-col overflow-hidden z-5"> | ||
<ContainerScroll | ||
titleComponent={ | ||
<> | ||
<h1 className="text-4xl font-semibold text-black dark:text-white"> | ||
Unleash the power of <br /> | ||
<span className="text-4xl md:text-[6rem] font-bold mt-1 leading-none"> | ||
<span | ||
className={`text-orange-300 font-extrabold ${alata.className}`} | ||
> | ||
Create | ||
</span>{" "} | ||
<span | ||
className={`text-orange-500 font-extrabold ${alata.className}`} | ||
> | ||
My | ||
</span>{" "} | ||
<span | ||
className={`text-red-500 font-extrabold ${alata.className}`} | ||
> | ||
API | ||
</span> | ||
</span> | ||
</h1> | ||
</> | ||
} | ||
> | ||
<Image | ||
src={test} | ||
alt="hero" | ||
height={720} | ||
width={1400} | ||
className="mx-auto rounded-2xl object-cover h-full object-left-top" | ||
draggable={false} | ||
/> | ||
</ContainerScroll> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.