Takazudo Modular Styleguide

MDX/Addac120sNav1

Default
English

Component Source

addac120s-nav1.tsx

import { ADDAC120S_SERIES_SLUGS } from '@/lib/data/addac120s-series';
import { RelatedProducts } from '@components/mdx/related-products';
import type { Locale } from '@/lib/i18n/types';

interface Addac120sNav1Props {
  locale?: Locale;
}

/**
 * ADDAC120s Four Strings — module/frame product grid only.
 *
 * Renders the module/frame nav cards for the series, without any heading or caption.
 * Embeddable as a standalone MDX block so headings can be authored in MDX itself.
 *
 * Plain SSR component (no island wrapper) — safe to import productsMapping directly.
 */
export function Addac120sNav1({ locale = 'ja' }: Addac120sNav1Props) {
  return <RelatedProducts ids={ADDAC120S_SERIES_SLUGS.moduleSlugs} locale={locale} />;
}

Story Source

addac120s-nav1.stories.tsx

import { Addac120sNav1 } from './addac120s-nav1';

/**
 * Addac120sNav1
 *
 * Module/frame product grid for the ADDAC120s "Four Strings" series.
 * Renders the module/frame nav cards only — no H2/H3/caption.
 * Embeddable as a standalone MDX block so headings can be authored in MDX.
 */
export const meta = {
  title: 'MDX/Addac120sNav1',
};

/** Japanese (default) */
export const Default = () => <Addac120sNav1 locale="ja" />;

/** English */
export const English = () => <Addac120sNav1 locale="en" />;