|
| 1 | +import PageDetails from '@/components/seo/PageDetails'; |
1 | 2 | import Documentation from "@/components/layout/Documentation/Documentation" |
2 | | -import codeUsage, { BlockQuoteTable } from "./docs/codeUsage" |
3 | 3 | import BlockQuote from "@radui/ui/BlockQuote" |
| 4 | +import codeUsage, { BlockQuoteTable, api_documentation, features } from "./docs/codeUsage" |
4 | 5 | import { code as sizeCodeUsage } from './docs/sizeCodeUsage'; |
5 | 6 | import { code as colorCodeUsage } from './docs/colorCodeUsage'; |
6 | 7 | import BlockQuoteSizes from './examples/BlockQuoteSizes'; |
7 | 8 | import BlockQuoteColor from './examples/BlockQuoteColor'; |
| 9 | +import seo from './docs/seo'; |
8 | 10 |
|
9 | | -<Documentation title={`BlockQuote`} description={` |
10 | | - BlockQuote is used to display a quote. |
11 | | - `}> |
12 | | - <Documentation.ComponentHero codeUsage={codeUsage}> |
13 | | - |
14 | | - <BlockQuote color="green"> |
15 | | - "Behind every great man is a woman rolling her eyes." — Jim Carrey |
16 | | - </BlockQuote> |
17 | | - |
18 | | - </Documentation.ComponentHero> |
19 | | - |
| 11 | +export const metadata = seo; |
20 | 12 |
|
21 | | - <Documentation.ComponentHero title='Sizes' codeUsage={sizeCodeUsage}> |
22 | | - <BlockQuoteSizes /> |
23 | | - </Documentation.ComponentHero> |
| 13 | +<Documentation |
| 14 | + title="BlockQuote" |
| 15 | + description="BlockQuote is a component that visually distinguishes quoted content, making it perfect for testimonials, citations, and emphasizing important passages." |
| 16 | +> |
| 17 | + {/* Component Hero */} |
| 18 | + <Documentation.ComponentHero codeUsage={codeUsage}> |
| 19 | + <BlockQuote color="green"> |
| 20 | + "Behind every great man is a woman rolling her eyes." — Jim Carrey |
| 21 | + </BlockQuote> |
| 22 | + </Documentation.ComponentHero> |
24 | 23 |
|
25 | | - <Documentation.ComponentHero title='Color' codeUsage={colorCodeUsage}> |
26 | | - <BlockQuoteColor /> |
27 | | - </Documentation.ComponentHero> |
| 24 | + {/* Component Features */} |
| 25 | + <Documentation.ComponentFeatures |
| 26 | + features={features} |
| 27 | + /> |
| 28 | + |
| 29 | + {/* Size Examples */} |
| 30 | + <Documentation.ComponentHero title='Sizes' codeUsage={sizeCodeUsage}> |
| 31 | + <BlockQuoteSizes /> |
| 32 | + </Documentation.ComponentHero> |
28 | 33 |
|
| 34 | + {/* Color Examples */} |
| 35 | + <Documentation.ComponentHero title='Color' codeUsage={colorCodeUsage}> |
| 36 | + <BlockQuoteColor /> |
| 37 | + </Documentation.ComponentHero> |
29 | 38 |
|
30 | | - <Documentation.Table columns={BlockQuoteTable.columns} data={BlockQuoteTable.data} /> |
31 | | - |
32 | | - </Documentation> |
| 39 | + {/* API Documentation */} |
| 40 | + <Documentation.Section title="API Documentation" as="h2" /> |
| 41 | + <Documentation.Table |
| 42 | + title="BlockQuote" |
| 43 | + description={api_documentation.blockquote.description} |
| 44 | + columns={api_documentation.blockquote.columns} |
| 45 | + data={api_documentation.blockquote.data} |
| 46 | + /> |
| 47 | +</Documentation> |
0 commit comments