-
Notifications
You must be signed in to change notification settings - Fork 24
docs: new product pages (features, starters, integrations) + homepage update #345
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 21 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
55ff9c5
docs: readme update
lukasz-hycom 2c1aebb
docs: adding Product dropdown to main navigation
lukasz-hycom 182e9ab
docs(pages): adding product page with basic structure
lukasz-hycom 6bb0d59
feat(docs): updating homepage components
lukasz-hycom 2c62150
feat(docs): adding HomepageStartersSection component
lukasz-hycom 922b475
feat(docs): add HomepageFeaturesSection component with icons and feat…
lukasz-hycom 9795287
feat(docs): add coding rules and conventions for Docusaurus documenta…
lukasz-hycom ef43623
feat(docs): add Star icon and enhance HeroBannerSection with badge su…
lukasz-hycom 9a790a0
feat(docs): introduce FeatureCard component and refactor GuidesSectio…
lukasz-hycom 869445f
feat(docs): add new icons and FeatureCardsList component to enhance p…
lukasz-hycom 61b48c9
refactor(docs): update class names for consistency and improve layout…
lukasz-hycom 70b7f00
refactor(docs): replace FeatureCardsList with FeatureTileList
lukasz-hycom 540cd73
feat(docs): add technical capabilities section to product features page
lukasz-hycom 3a79bc1
feat(docs): integrate FooterSection and enhance layout on product fea…
lukasz-hycom 6cd322b
feat(docs): enhance BenefitsSection with description on product start…
lukasz-hycom 7603e1b
feat(docs): implement integrations page layout with HeroBannerSection…
lukasz-hycom 8db493a
feat(docs): add 'transparent' option to borderColor in BenefitCard
lukasz-hycom b1a4f61
feat(docs): add CopyCommandButton component
lukasz-hycom 78a2b0c
refactor(docs): reorganize layout structure in product pages and enha…
lukasz-hycom ef5275c
feat(docs): add FeaturesListWithImage component
lukasz-hycom a89bb66
feat(docs): implement Accordion component using Radix UI
lukasz-hycom 7a2f4df
feat(docs): add StarterInfoSection component and integrate it into pr…
lukasz-hycom 1b526a2
fix(docs): update links in HomepageStartersSection
lukasz-hycom 5cd100e
feat(docs): enhance Badge component with additional variants and icon…
lukasz-hycom 07d576b
feat(docs): add IntegrationsBlocks component and update integrations …
lukasz-hycom 32a6e3a
fix(docs): remove TODO comment from contact link in ProductStarters c…
lukasz-hycom 8d03fad
feat(docs): add containerWidth prop to HeroBannerSection
lukasz-hycom cdab936
fix(docs): correct casing of link labels and update FeaturesListWithI…
lukasz-hycom c6e0d54
feat(docs): add SubscribeSection component for email subscription fun…
lukasz-hycom 021fe22
fix(docs): update starter images to improve text visibility
lukasz-hycom 02f8831
fix(docs): content changes pt. 1
jan-jagoda b5ed828
feat(docs): enhance FeaturesListWithImage with animations
lukasz-hycom 401120f
feat(docs): add new SVG icons for user and stack tiles
lukasz-hycom 04c27e5
fix(docs): refine container width logic in HeroBannerSection
lukasz-hycom 0f92974
fix(docs): content changes pt. 2
jan-jagoda 8729192
fix(docs): adjust image styling in FeaturesListWithImage
lukasz-hycom 05021f0
feat(docs): add Accordion component into FeaturesListWithImage
lukasz-hycom d5b2c7c
fix(docs): update feature images and remove deprecated assets
lukasz-hycom bd5dd2e
fix(docs): content changes pt. 3
jan-jagoda ea3444b
feat(docs): enhance dropdown navigation with new styles and link options
lukasz-hycom 856c45d
Merge branch 'main' of https://github.com/o2sdev/openselfservice into…
lukasz-hycom 83d1413
chore(deps): add peer dependencies to multiple packages in package-lo…
lukasz-hycom 12ecc65
feat(docs): update navbar icons and styles
lukasz-hycom 368d8ff
fix(docs): update GitHub link in homepage
lukasz-hycom 46f073f
feat(docs): add integration icons
lukasz-hycom 8f227b4
fix(docs): content related fixes
jan-jagoda cf7dbc8
chore(docs): update customer and digital portal images
lukasz-hycom 172de1c
refactor(docs): remove TODO comments
lukasz-hycom 7ee5e5e
updated package-lock
marcinkrasowski 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,30 @@ | ||
| @keyframes accordion-down { | ||
| from { | ||
| height: 0; | ||
| } | ||
| to { | ||
| height: var(--radix-accordion-content-height); | ||
| } | ||
| } | ||
|
|
||
| @keyframes accordion-up { | ||
| from { | ||
| height: var(--radix-accordion-content-height); | ||
| } | ||
| to { | ||
| height: 0; | ||
| } | ||
| } | ||
|
|
||
| .accordionContent { | ||
| overflow: hidden; | ||
| transition: all 0.2s ease-out; | ||
|
|
||
| &[data-state='closed'] { | ||
| animation: accordion-up 0.2s ease-out; | ||
| } | ||
|
|
||
| &[data-state='open'] { | ||
| animation: accordion-down 0.2s ease-out; | ||
| } | ||
| } |
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,99 @@ | ||
| import * as AccordionPrimitive from '@radix-ui/react-accordion'; | ||
| import clsx from 'clsx'; | ||
| import React, { type ReactNode } from 'react'; | ||
|
|
||
| import ChevronDownIcon from '@site/src/assets/icons/ChevronDown.svg'; | ||
| import { BodyBold } from '@site/src/components/Typography'; | ||
|
|
||
| import styles from './Accordion.module.scss'; | ||
|
|
||
| export interface AccordionItem { | ||
| title: string; | ||
| content: ReactNode; | ||
| value: string; | ||
| } | ||
|
|
||
| export interface AccordionProps { | ||
| items: AccordionItem[]; | ||
| type?: 'single' | 'multiple'; | ||
| defaultValue?: string; | ||
| className?: string; | ||
| } | ||
|
|
||
| const AccordionRoot: React.FC<AccordionProps> = ({ items, type = 'single', defaultValue, className }) => { | ||
| if (type === 'single') { | ||
| return ( | ||
| <AccordionPrimitive.Root | ||
| type="single" | ||
| defaultValue={defaultValue} | ||
| collapsible | ||
| className={clsx('flex flex-col items-start w-full', className)} | ||
| > | ||
| {items.map((item) => ( | ||
| <AccordionItem key={item.value} value={item.value}> | ||
| <AccordionTrigger>{item.title}</AccordionTrigger> | ||
| <AccordionContent>{item.content}</AccordionContent> | ||
| </AccordionItem> | ||
| ))} | ||
| </AccordionPrimitive.Root> | ||
| ); | ||
| } | ||
|
|
||
| return ( | ||
| <AccordionPrimitive.Root | ||
| type="multiple" | ||
| defaultValue={defaultValue ? [defaultValue] : undefined} | ||
| className={clsx('flex flex-col items-start w-full', className)} | ||
| > | ||
| {items.map((item) => ( | ||
| <AccordionItem key={item.value} value={item.value}> | ||
| <AccordionTrigger>{item.title}</AccordionTrigger> | ||
| <AccordionContent>{item.content}</AccordionContent> | ||
| </AccordionItem> | ||
| ))} | ||
| </AccordionPrimitive.Root> | ||
| ); | ||
| }; | ||
|
|
||
| const AccordionItem: React.FC<{ | ||
| children: ReactNode; | ||
| value: string; | ||
| className?: string; | ||
| }> = ({ children, value, className }) => { | ||
| return ( | ||
| <AccordionPrimitive.Item value={value} className={clsx('border-b border-white w-full', className)}> | ||
| {children} | ||
| </AccordionPrimitive.Item> | ||
| ); | ||
| }; | ||
|
|
||
| const AccordionTrigger: React.FC<{ | ||
| children: ReactNode; | ||
| className?: string; | ||
| }> = ({ children, className }) => { | ||
| return ( | ||
| <AccordionPrimitive.Trigger | ||
| className={clsx( | ||
| 'flex flex-1 items-center justify-between py-4 px-0 cursor-pointer text-white bg-transparent border-none transition-all w-full', | ||
| 'data-[state=open]:[&_svg]:rotate-180', | ||
| className, | ||
| )} | ||
| > | ||
| <BodyBold className="mb-0!">{children}</BodyBold> | ||
| <ChevronDownIcon className="h-4 w-4 shrink-0 transition-transform duration-200" /> | ||
| </AccordionPrimitive.Trigger> | ||
| ); | ||
| }; | ||
|
|
||
| const AccordionContent: React.FC<{ | ||
| children: ReactNode; | ||
| className?: string; | ||
| }> = ({ children, className }) => { | ||
| return ( | ||
| <AccordionPrimitive.Content className={clsx(styles.accordionContent, className)}> | ||
| <div className="pb-4 pt-0">{children}</div> | ||
| </AccordionPrimitive.Content> | ||
| ); | ||
| }; | ||
|
|
||
| export default AccordionRoot; | ||
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.