Skip to content

Commit

Permalink
feat(landing): v.1
Browse files Browse the repository at this point in the history
  • Loading branch information
anteqkois committed May 17, 2024
1 parent bd50cf4 commit 70e25b1
Show file tree
Hide file tree
Showing 12 changed files with 137 additions and 71 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/(landing)/components/Connectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Connectors = () => {
<ConnectorsList listClassName="bg-background h-100 overflow-y-scroll md:h-120 overflow-scroll" />
</Card>
<Heading className="text-center text-1xl lg:text-2xl font-semibold transition-colorstext-center text-muted-foreground">
More soon, focused on web3 and AI apps
More soon, focused on Web3 and AI apps
</Heading>
<div
className="w-4/5 h-2/6 inline-block rotate-1 bg-primary absolute bottom-[15%] left-[40%] -translate-x-1/2 blur-[120px] -z-10 shadow"
Expand Down
7 changes: 5 additions & 2 deletions apps/web/app/(landing)/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ export const Hero = () => {
</p>

<div className="space-y-4 md:space-y-0 md:space-x-4">
<Button className="w-full md:w-1/2 text-xl p-5 font-bold" size={'lg'}>
<Button
className="w-full md:w-1/2 text-xl p-5 font-bold bg-gradient-to-r from-[hsl(262,83%,57%)] via-[hsl(262,93%,55%)] to-[hsl(262,93%,50%)]"
size={'lg'}
>
Start Free
</Button>
</div>
Expand All @@ -40,7 +43,7 @@ export const Hero = () => {
<div className="z-10 col-span-12 md:col-span-6 skew-y-1 md:skew-y-3">
<HeroImage />
<div
className="w-3/5 h-4/6 inline-block rotate-1 bg-primary absolute top-[20%] left-[50%] -translate-x-1/2 blur-[120px] -z-10 shadow"
className="w-4/5 h-4/6 inline-block rotate-1 bg-primary absolute top-[20%] left-[50%] -translate-x-1/2 blur-[120px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</div>
Expand Down
9 changes: 8 additions & 1 deletion apps/web/app/(landing)/components/HeroImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,22 @@

import { useTheme } from 'next-themes'
import Image from 'next/image'
import { useEffect, useState } from 'react'
import { MacOSWindow } from './MacOSWindow'

export const HeroImage = () => {
const { theme } = useTheme()
const [key, setKey] = useState<string>('default')

useEffect(() => {
setKey(theme ?? '')
}, [theme])

return (
<MacOSWindow className="absolute top-0 left-0">
<Image
src={theme === 'dark' ? '/images/landing/hero-editor-dark-1-optymalized.png' : '/images/landing/hero-editor-light-1-optymalized.png'}
key={key}
src={theme === 'light' ? '/images/landing/hero-editor-light-1-optymalized.png' : '/images/landing/hero-editor-dark-1-optymalized.png'}
// src={'/images/landing/hero-editor-dark-1.png'}
width={2880}
height={1800}
Expand Down
100 changes: 100 additions & 0 deletions apps/web/app/(landing)/components/RoadMap.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
import { Card, CardContent, CardHeader, CardTitle } from '@linkerry/ui-components/server'
import { HTMLAttributes } from 'react'
import { Heading } from './Heading'

export interface RoadMapProps extends HTMLAttributes<HTMLElement> {}

export const RoadMap = () => {
return (
<section className="w-full flex-center pb-10 xl:pb-32 md:pt-20 2xl:pt-56" id="RoadMap">
<div className="flex flex-col gap-10 xl:gap-14 relative">
<Heading>Concept and Road Map</Heading>

<Card className="w-full xl:max-w-2xl relative">
<CardHeader>
<CardTitle className="text-3xl xl:text-4xl bg-gradient-to-r from-[hsl(262,83%,65%)] via-[hsl(262,93%,55%)] to-[hsl(262,93%,50%)] text-transparent bg-clip-text">
AI Flow Generator
</CardTitle>
</CardHeader>
<CardContent>
AI Flow Generator simplifies the automation of tasks across multiple apps, it builds flows for you. This feature will use advanced AI to
intuitively generate workflows that connect various applications depending on your order, saving you time and effort. Automate repetitive
tasks and enhance your productivity with seamless integration and intelligent suggestions.
</CardContent>
<div
className="w-3/5 h-1/6 inline-block rotate-1 bg-primary absolute top-[0%] -left-[10%] blur-[75px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</Card>

<Card className="w-full xl:max-w-2xl relative">
<CardHeader>
<CardTitle className="text-3xl xl:text-4xl bg-gradient-to-r from-[hsl(292,83%,70%)] via-[hsl(292,93%,55%)] to-[hsl(292,93%,40%)] text-transparent bg-clip-text">
Linkerry DAO
</CardTitle>
</CardHeader>
<CardContent>
DAO for Linkerry. Users will have the ability to vote on which app should be added first and which new features should be developed next.
This ensures that our platform evolves according to the needs and desires of its user base, fostering a collaborative and democratic
approach to development.
</CardContent>
<div
className="w-3/5 h-2/6 inline-block rotate-1 bg-primary absolute top-[0%] -right-[10%] blur-[75px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</Card>

<Card className="w-full xl:max-w-2xl relative">
<CardHeader>
<CardTitle className="text-3xl xl:text-4xl bg-gradient-to-r from-[hsl(262,83%,65%)] via-[hsl(262,93%,55%)] to-[hsl(262,93%,50%)] text-transparent bg-clip-text">
Focused on Web3 and AI Apps
</CardTitle>
</CardHeader>
<CardContent>
Integrate effortlessly with the future of decentralized technology through our Web3 Decentralized Apps feature. This includes
compatibility with decentralized exchanges (DEX) and other blockchain-based applications. Enhance your workflows with the security,
transparency, and efficiency of decentralized applications, positioning your operations at the cutting edge of technology.
</CardContent>
<div
className="w-3/5 h-1/6 inline-block rotate-1 bg-primary absolute top-[0%] -left-[10%] blur-[75px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</Card>

<Card className="w-full xl:max-w-2xl relative">
<CardHeader>
<CardTitle className="text-3xl xl:text-4xl bg-gradient-to-r from-[hsl(292,83%,70%)] via-[hsl(292,93%,55%)] to-[hsl(292,93%,40%)] text-transparent bg-clip-text">
Many Triggers, One Flow
</CardTitle>
</CardHeader>
<CardContent>
Increase the flexibility and efficiency of your workflows with the Many Triggers, One Flow feature. This allows a single automated flow to
be initiated by multiple triggers, providing a more dynamic and responsive automation experience. Whether it;&apos;s an email, a calendar
event, or a new database entry, multiple conditions can now seamlessly kickstart the same process.
</CardContent>
<div
className="w-3/5 h-1/6 inline-block rotate-1 bg-primary absolute top-[0%] -right-[10%] blur-[75px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</Card>

<Card className="w-full xl:max-w-2xl relative">
<CardHeader>
<CardTitle className="text-3xl xl:text-4xl bg-gradient-to-r from-[hsl(262,83%,65%)] via-[hsl(262,93%,55%)] to-[hsl(262,93%,50%)] text-transparent bg-clip-text">
Start Flow From Everywhere
</CardTitle>
</CardHeader>
<CardContent>
Convenience is key with our Run From Everyday feature. Users can now initiate flows directly from their mobile devices using dynamic
inputs. Simply provide a string or other input on the go, and watch your automation flow activate instantly. This feature ensures that
your workflows are always at your fingertips, ready to respond to your daily needs.
</CardContent>
<div
className="w-3/5 h-1/6 inline-block rotate-1 bg-primary absolute top-[0%] -left-[10%] blur-[75px] -z-10 shadow"
style={{ animation: 'shadow-slide infinite 4s linear alternate' }}
/>
</Card>
</div>
</section>
)
}
6 changes: 3 additions & 3 deletions apps/web/app/(landing)/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const landingConfig: LandingConfig = {
title: 'App Connectors',
titleIcon: <Icons.Connectors className="w-9 h-9 text-green-400" />,
description: 'Connect multiple applications into one flow to automate tasks for your business or personal life.',
href: '#connectors',
href: '/#connectors',
},
{
title: 'We Automate Your Business for You',
Expand All @@ -26,9 +26,9 @@ export const landingConfig: LandingConfig = {
href: 'mailto:[email protected]',
},
{
title: 'Road Map',
title: 'Concept and Road Map',
titleIcon: <Icons.RoadMap className="w-9 h-9 text-yellow-400" />,
description: 'Check out the upcoming features on Linkerry.',
description: 'Check out the planning and upcoming features on Linkerry.',
href: '/road-map',
},
{
Expand Down
10 changes: 10 additions & 0 deletions apps/web/app/(landing)/editor/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { PageContainer } from '../../app/components/PageContainer'
import { HeroImage } from '../components/HeroImage'

export default async function IndexPage() {
return (
<PageContainer variant={'fromTop'} className="p-10">
<HeroImage />
</PageContainer>
)
}
4 changes: 2 additions & 2 deletions apps/web/app/(landing)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ReactQueryProvider from '../../libs/reactQueryProvider'
import { SiteFooter } from '../../shared/components/SiteFooter'
import { Footer } from './components/Footer'
import { MainNav } from './components/MianNav'
import { landingConfig } from './config'

Expand All @@ -19,7 +19,7 @@ export default async function MarketingLayout({ children }: MarketingLayoutProps
</div>
</header>
{children}
<SiteFooter />
<Footer />
</div>
</ReactQueryProvider>
)
Expand Down
2 changes: 0 additions & 2 deletions apps/web/app/(landing)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Connectors } from './components/Connectors'
import { Footer } from './components/Footer'
import { Hero } from './components/Hero'
import { Pricing } from './components/Pricing'

Expand All @@ -11,7 +10,6 @@ export default async function IndexPage() {
<Hero />
<Connectors />
<Pricing />
<Footer />
</>
)
}
8 changes: 6 additions & 2 deletions apps/web/app/(landing)/road-map/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { ConnectorsList } from '../../../modules/flows/connectors/ConnectorsList'
import { PageContainer } from '../../app/components/PageContainer'
import { RoadMap } from '../components/RoadMap'

export default async function IndexPage() {
return <PageContainer variant={'fromTop'}></PageContainer>
return (
<PageContainer variant={'fromTop'}>
<RoadMap />
</PageContainer>
)
}
5 changes: 2 additions & 3 deletions apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import localFont from 'next/font/local'
import './global.css'

import { ThemeProvider, Toaster } from '@linkerry/ui-components/client'
import { TailwindIndicator } from '@linkerry/ui-components/server'
import { cn } from '@linkerry/ui-components/utils'
import { LiveChatProvider } from '../libs/Tawk'
import { siteConfig } from './webConfig'
Expand Down Expand Up @@ -76,13 +75,13 @@ export default function RootLayout({ children }: RootLayoutProps) {
className={cn('min-h-screen-no-nav bg-background font-sans antialiased', fontSans.variable, fontHeading.variable)}
suppressHydrationWarning={true}
>
<ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
<ThemeProvider attribute="class" defaultTheme="dark">
<LiveChatProvider>
{children}
{/* <Analytics /> */}
{/* <Toaster duration={5_000} viewportClassName='sm:top-0 sm:left-1/2 -translate-x-1/2'/> */}
<Toaster duration={5_000} />
<TailwindIndicator />
{/* <TailwindIndicator /> */}
</LiveChatProvider>
</ThemeProvider>
</body>
Expand Down
54 changes: 0 additions & 54 deletions apps/web/shared/components/SiteFooter.tsx

This file was deleted.

1 change: 0 additions & 1 deletion apps/web/shared/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export * from './Drawer/Index'
export * from './Drawer/types'
export * from './ErrorInfo'
export * from './Markdown/MarkdownBase'
export * from './SiteFooter'
export * from './Spinner'
export * from './Table/FacetedFilter'
export * from './Table/Table'
Expand Down

0 comments on commit 70e25b1

Please sign in to comment.