Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function AccordionControls({
);
}

export default function BlocksAccordianPage() {
export default function BlocksAccordionPage() {
const [variant, setVariant] = useState<VariantMode>("clear");
const [type, setType] = useState<TypeMode>("single");

Expand Down
10 changes: 10 additions & 0 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ const config = {
reactStrictMode: true,
async redirects() {
return [
{
source: "/components/blocks/accordian",
destination: "/components/blocks/accordion",
permanent: true,
},
{
source: "/docs/design-system/blocks/accordian",
destination: "/docs/design-system/blocks/accordion",
permanent: true,
},
{
source: "/docs",
destination: "/docs/openui-lang",
Expand Down
2 changes: 1 addition & 1 deletion docs/shared/design-system/config/navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const BLOCKS_NAV_ITEMS: NavGroup[] = [
id: "individual-blocks",
label: "Individual blocks",
items: [
{ id: "accordian", label: "Accordian", href: `${BASE}/blocks/accordian` },
{ id: "accordion", label: "Accordian", href: `${BASE}/blocks/accordian` },
{ id: "button-group", label: "Buttons", href: `${BASE}/blocks/button-group` },
{ id: "callout", label: "Callout", href: `${BASE}/blocks/callout` },
{ id: "image-items", label: "Image items", href: `${BASE}/blocks/image-items` },
Expand Down