Skip to content

Commit 6afb8d2

Browse files
committed
fix: logo paths, sidebar duplicate Getting Started
1 parent 08e2952 commit 6afb8d2

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs-site/docs/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
sidebar_position: 1
33
---
44

5-
# Getting Started
5+
# Introduction
66

77
EFX-Forms is an Effector-based React form library that provides powerful state management for your forms with built-in validation, conditional rendering, and reactive data flow.
88

@@ -22,7 +22,7 @@ EFX-Forms leverages Effector's reactive stores and effects to manage form state.
2222

2323
- [Installation](./installation.md) - Set up EFX-Forms in your project
2424
- [Quickstart](./quickstart.md) - Build your first form in minutes
25-
- [API Reference](./api/form.md) - Complete component and hook documentation
25+
- [API Reference](./api/components.md) - Complete component and hook documentation
2626

2727
## Peer Dependencies
2828

docs-site/sidebars.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
22

33
const sidebars: SidebarsConfig = {
44
tutorialSidebar: [
5-
'intro',
65
{
76
type: 'category',
87
label: 'Getting Started',
9-
items: ['installation', 'quickstart'],
8+
items: ['intro', 'installation', 'quickstart'],
109
},
1110
{
1211
type: 'category',

docs-site/src/pages/index.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import clsx from 'clsx';
33
import Link from '@docusaurus/Link';
44
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
55
import Layout from '@theme/Layout';
6+
// @ts-expect-error - Docusaurus theme component
67
import ThemedImage from '@theme/ThemedImage';
78

89
import styles from './index.module.css';
@@ -16,8 +17,8 @@ function HeroSection() {
1617
<ThemedImage
1718
alt="efx-forms Logo"
1819
sources={{
19-
light: '/img/logo.svg',
20-
dark: '/img/logo.svg',
20+
light: '/efx-forms/img/logo.svg',
21+
dark: '/efx-forms/img/logo.svg',
2122
}}
2223
className={styles.heroLogoImage}
2324
/>
@@ -118,9 +119,10 @@ function FeaturesSection() {
118119
);
119120
}
120121

121-
export default function Home(): JSX.Element {
122+
export default function Home() {
122123
return (
123124
<Layout
125+
// @ts-expect-error - Docusaurus Layout accepts title/description
124126
title="efx-forms - Effector-based React form library"
125127
description="Build powerful, reactive forms with Effector's state management. TypeScript-first, validation-ready."
126128
>

0 commit comments

Comments
 (0)