-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
8 changed files
with
141 additions
and
8 deletions.
There are no files selected for viewing
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
File renamed without changes.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
"use client"; | ||
|
||
import { useEffect, useState } from "react"; | ||
import { MouseParallax } from "react-just-parallax"; | ||
|
||
|
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,127 @@ | ||
import React from "react"; | ||
import Section from "@/components/layout/section"; | ||
import Heading from "../../atoms/heading"; | ||
import { brainwaveServices, brainwaveServicesIcons, images } from "@/constants"; | ||
import Image from "next/image"; | ||
import Generating from "../../atoms/generating"; | ||
import { PhotoChatMessage, VideoBar, VideoChatMessage } from "@/components/design/services"; | ||
import { cn } from "@/lib/utils"; | ||
import { Gradient } from "@/components/design/hero"; | ||
|
||
type Props = {}; | ||
|
||
const Services = (props: Props) => { | ||
return ( | ||
<Section id="how-to-use"> | ||
<div className="container"> | ||
<Heading | ||
title="Generative AI made for creators." | ||
text="Brainwave unlocks the potential of AI-powered applications" | ||
/> | ||
|
||
<div className="relative"> | ||
<div className="relative z-1 mb-5 flex h-[39rem] items-center overflow-hidden rounded-3xl border border-n-1/10 p-8 lg:p-20 xl:h-[46rem]"> | ||
<div className="pointer-events-none absolute left-0 top-0 h-full md:w-3/5 xl:w-auto"> | ||
<Image | ||
src={images.service1} | ||
alt="smartest ai" | ||
width={800} | ||
height={730} | ||
className="size-full object-cover md:object-right" | ||
/> | ||
</div> | ||
|
||
<div className="relative z-1 ml-auto max-w-[17rem]"> | ||
<h4 className="h4 mb-4">Smartest AI</h4> | ||
<p className="body-2 mb-12 text-n-3"> | ||
Brainwave unlocks the potential of AI-powered applications | ||
</p> | ||
<ul className="body-2"> | ||
{brainwaveServices.map((service, index) => ( | ||
<li key={index} className="flex items-start border-t border-n-6 py-4"> | ||
<Image src={images.check} alt="check" width={24} height={24} /> | ||
<p className="ml-4">{service}</p> | ||
</li> | ||
))} | ||
</ul> | ||
</div> | ||
<Generating className="absolute inset-x-4 bottom-4 border border-n-1/10 lg:bottom-8 lg:left-1/2 lg:right-auto lg:-translate-x-1/2" /> | ||
</div> | ||
|
||
<div className="relative z-1 grid gap-5 lg:grid-cols-2"> | ||
<div className="relative min-h-[39rem] overflow-hidden rounded-3xl border border-n-1/10"> | ||
<div className="absolute inset-0"> | ||
<Image | ||
src={images.service2} | ||
className="size-full object-cover" | ||
width={630} | ||
height={750} | ||
alt="robot" | ||
/> | ||
</div> | ||
<div className="absolute inset-0 flex flex-col justify-end bg-gradient-to-b from-n-8/0 to-n-8/90 p-8 lg:p-15"> | ||
<h4 className="h4 mb-4">Photo editing</h4> | ||
<p className="body-2 mb-12 text-n-3"> | ||
Automatically enhance your photos using our AI app's photo editing feature. | ||
Try it now! | ||
</p> | ||
</div> | ||
|
||
<PhotoChatMessage /> | ||
</div> | ||
|
||
<div className="overflow-hidden rounded-3xl bg-n-7 p-4 lg:min-h-[46rem]"> | ||
<div className="px-4 py-12 xl:px-8"> | ||
<h4 className="h4 mb-4">Video generation</h4> | ||
<p className="body-2 mb-8 text-n-3"> | ||
The world’s most powerful AI photo and video art generation engine. What will you | ||
create? | ||
</p> | ||
|
||
<ul className="flex items-center justify-between"> | ||
{brainwaveServicesIcons.map((item, index) => ( | ||
<li | ||
key={index} | ||
className={cn( | ||
"flex items-center justify-center rounded-2xl", | ||
index === 2 | ||
? "w-[3rem] h-[3rem] p-0.25 bg-conic-gradient md:w-[4.5rem] md:h-[4.5rem]" | ||
: "w-10 h-10 bg-n-6 md:w-15 md:h-15" | ||
)} | ||
> | ||
<div | ||
className={cn( | ||
index === 2 && | ||
"flex size-full items-center justify-center rounded-2xl bg-n-7" | ||
)} | ||
> | ||
<Image src={item} alt="icon" width={24} height={24} /> | ||
</div> | ||
</li> | ||
))} | ||
</ul> | ||
</div> | ||
|
||
<div className="relative h-80 overflow-hidden rounded-xl bg-n-8 md:h-[25rem]"> | ||
<Image | ||
src={images.service3} | ||
className="size-full object-cover" | ||
width={520} | ||
height={400} | ||
alt="scary robot" | ||
/> | ||
|
||
<VideoChatMessage /> | ||
<VideoBar /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<Gradient /> | ||
</div> | ||
</div> | ||
</Section> | ||
); | ||
}; | ||
|
||
export default Services; |