Skip to content
Merged
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
11 changes: 10 additions & 1 deletion src/components/common/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const Footer = () => {
return (
<footer id='footer' className='bg-card border-t border-secondary w-full flex justify-center'>
<div className='container py-24 sm:py-32 p-10 w-full place-items-stretch'>
<div className='grid grid-cols-1 sm:grid-cols-3 md:grid-cols-3 xl:grid-cols-5 gap-x-12 gap-y-8 z-50'>
<div className='grid grid-cols-1 sm:grid-cols-4 md:grid-cols-4 xl:grid-cols-6 gap-x-12 gap-y-8 z-50'>
<div className='col-span-full xl:col-span-2'>
<Link href='/' className='flex font-bold items-center'>
<Kinotio width={100} height={50} />
Expand All @@ -35,6 +35,15 @@ export const Footer = () => {
))}
</div>

<div className='flex flex-col gap-2'>
<h3 className='font-bold text-lg'>Products</h3>
{DATA.footer.products.map((product, idx) => (
<Link key={idx} href={product.href} className='opacity-60 hover:opacity-100'>
{product.name}
</Link>
))}
</div>

<div className='flex flex-col gap-2'>
<h3 className='font-bold text-lg'>Help</h3>
{DATA.footer.help.map((help, idx) => (
Expand Down
82 changes: 82 additions & 0 deletions src/components/sections/information.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
import { icons } from 'lucide-react'

import { Icon } from '@/components/ui/icon'

const features: { title: string; description: string; icon: string }[] = [
{
title: 'Interactive Setup Wizard',
description:
'Simplify the initial configuration and installation process with a guided, step-by-step wizard.',
icon: 'Wand'
},
{
title: 'Comprehensive API Documentation',
description:
'Access detailed API references with examples to help integrate and extend the product.',
icon: 'Code'
},
{
title: 'Deployment Guides',
description:
'Follow in-depth tutorials for deploying the product across various environments, including cloud and on-premises.',
icon: 'Cloud'
},
{
title: 'Use Case Scenarios',
description:
'Explore real-world examples and case studies demonstrating how to apply the product to solve specific problems.',
icon: 'BookOpen'
},
{
title: 'Search and Navigation',
description:
'Utilize advanced search functionality and intuitive navigation to quickly find relevant information.',
icon: 'Search'
},
{
title: 'Troubleshooting and FAQs',
description:
'Access a dedicated section for common issues and frequently asked questions to resolve problems quickly.',
icon: 'HandHelping'
}
]

export const Information = () => {
return (
<section id='information' className='w-full py-12 md:py-24 lg:py-32 flex justify-center'>
<div className='container px-4 md:px-6'>
<div className='gap-6'>
<div className='space-y-4 grid grid-cols-2'>
<div className='space-y-2 flex flex-col justify-center'>
<h2 className='text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl'>
Introducing Our Documentation
</h2>
<p className='max-w-[600px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed'>
Our Documentation Platform offers an extensive collection of resources designed to
guide you through every aspect of our product. From initial configuration and
installation to seamless deployment, our step-by-step instructions ensure a smooth
setup process.
</p>
</div>

<div className='grid grid-cols-2 gap-4'>
{features.map((feature) => (
<div key={feature.title} className='rounded-lg border bg-background p-4 shadow-sm'>
<div className='flex h-12 w-12 items-center justify-center rounded-full bg-primary'>
<Icon
name={feature.icon as keyof typeof icons}
size={20}
className='text-primary-foreground'
/>
</div>
<h3 className='mt-4 text-lg font-semibold'>{feature.title}</h3>
<p className='text-sm text-muted-foreground'>{feature.description}</p>
</div>
))}
</div>
</div>
</div>
</div>
</section>
)
}
14 changes: 14 additions & 0 deletions src/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ export const DATA = {
name: 'FAQ'
}
],
products: [
{
href: '#',
name: 'Drowser'
},
{
href: '#',
name: 'Drowser Studio'
},
{
href: '#',
name: 'Gelda'
}
],
socials: [
{
icon: 'Github',
Expand Down
3 changes: 3 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import { ThemeProvider } from '@/components/theme-provider'

import { Header } from '@/components/common/header'
import { Footer } from '@/components/common/footer'

import { Hero } from '@/components/sections/hero'
import { FAQ } from '@/components/sections/faq'
import { Information } from '@/components/sections/information'

import { DATA } from '@/data'

Expand Down Expand Up @@ -79,6 +81,7 @@ export default function Home() {

<Header />
<Hero />
<Information />
<FAQ />
<Footer />
</div>
Expand Down
Loading