-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add information component in home #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,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> | ||
| ) | ||
| } | ||
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.